Skip to content

Commit e142a92

Browse files
committed
style(code): format inbox components per Biome
1 parent e2e73b2 commit e142a92

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

apps/code/src/renderer/features/inbox/components/InboxSignalsTab.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@ export function InboxSignalsTab() {
449449
variant="detail"
450450
/>
451451
<Flex align="center" gap="2" wrap="wrap">
452-
<SignalReportPriorityBadge priority={selectedReport.priority} />
452+
<SignalReportPriorityBadge
453+
priority={selectedReport.priority}
454+
/>
453455
<Badge variant="soft" color="gray" size="1">
454456
{selectedReport.signal_count} occurrences
455457
</Badge>

apps/code/src/renderer/features/inbox/components/ReportCard.tsx

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -101,25 +101,26 @@ export function ReportCard({
101101
{report.title ?? "Untitled signal"}
102102
</Text>
103103
<Flex align="center" gapX="2" wrap="wrap">
104-
<span
105-
className="shrink-0 rounded-sm px-1 py-px font-mono text-[9px] uppercase tracking-wider"
106-
style={{
107-
color: accent,
108-
backgroundColor: isReady ? "var(--green-3)" : "var(--gray-3)",
109-
border: `1px solid ${isReady ? "var(--green-6)" : "var(--gray-6)"}`,
110-
}}
111-
>
112-
{statusLabel}
113-
</span>
114-
<SignalReportPriorityBadge priority={report.priority} />
104+
<span
105+
className="shrink-0 rounded-sm px-1 py-px font-mono text-[9px] uppercase tracking-wider"
106+
style={{
107+
color: accent,
108+
backgroundColor: isReady ? "var(--green-3)" : "var(--gray-3)",
109+
border: `1px solid ${isReady ? "var(--green-6)" : "var(--gray-6)"}`,
110+
}}
111+
>
112+
{statusLabel}
113+
</span>
114+
<SignalReportPriorityBadge priority={report.priority} />
115+
</Flex>
116+
<div style={{ opacity: isReady ? 1 : 0.82 }}>
117+
<SignalReportSummaryMarkdown
118+
content={report.summary}
119+
fallback="No summary yet — still collecting context."
120+
variant="list"
121+
/>
122+
</div>
115123
</Flex>
116-
<div style={{ opacity: isReady ? 1 : 0.82 }}>
117-
<SignalReportSummaryMarkdown
118-
content={report.summary}
119-
fallback="No summary yet — still collecting context."
120-
variant="list"
121-
/>
122-
</div></Flex>
123124
</Flex>
124125
<Flex direction="column" align="end" gap="1" className="shrink-0">
125126
<Text size="1" color="gray" className="font-mono text-[11px]">

0 commit comments

Comments
 (0)