Skip to content

Commit 49f9daf

Browse files
committed
Remove live-rail scan line and apply user-select:none to inbox list chrome
1 parent ad2f0db commit 49f9daf

File tree

6 files changed

+9
-44
lines changed

6 files changed

+9
-44
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function SelectReportPane() {
181181

182182
export function SkeletonBackdrop() {
183183
return (
184-
<Flex direction="column" style={{ opacity: 0.4 }}>
184+
<Flex direction="column" className="select-none" style={{ opacity: 0.4 }}>
185185
{Array.from({ length: 8 }).map((_, index) => (
186186
<Flex
187187
// biome-ignore lint/suspicious/noArrayIndexKey: static decorative placeholders

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

Lines changed: 0 additions & 30 deletions
This file was deleted.

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
WarmingUpPane,
55
WelcomePane,
66
} from "@features/inbox/components/InboxEmptyStates";
7-
import { InboxLiveRail } from "@features/inbox/components/InboxLiveRail";
87
import { InboxSourcesDialog } from "@features/inbox/components/InboxSourcesDialog";
98
import { useInboxReportsInfinite } from "@features/inbox/hooks/useInboxReports";
109
import { useSignalSourceConfigs } from "@features/inbox/hooks/useSignalSourceConfigs";
@@ -302,6 +301,7 @@ export function InboxSignalsTab() {
302301
<Flex ref={containerRef} height="100%" style={{ minHeight: 0 }}>
303302
{/* ── Left pane: report list ───────────────────────────────── */}
304303
<Box
304+
className="select-none"
305305
style={{
306306
width: `${sidebarWidth}px`,
307307
maxWidth: "60%",
@@ -314,7 +314,7 @@ export function InboxSignalsTab() {
314314
>
315315
<ScrollArea
316316
type="auto"
317-
className="scroll-area-constrain-width"
317+
className="scroll-area-constrain-width inbox-report-list-scroll"
318318
style={{ height: "100%" }}
319319
>
320320
<Flex
@@ -344,7 +344,6 @@ export function InboxSignalsTab() {
344344
}
345345
}}
346346
>
347-
<InboxLiveRail active={inboxPollingActive} />
348347
<Box
349348
data-inbox-sticky-header
350349
style={{

apps/code/src/renderer/features/inbox/components/list/ReportListRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function ReportListRow({
167167
<Text
168168
size="1"
169169
weight="medium"
170-
className="min-w-0 flex-1 basis-0 truncate text-[13px]"
170+
className="min-w-0 flex-1 basis-0 select-text truncate text-[13px]"
171171
>
172172
{report.title ?? "Untitled signal"}
173173
</Text>
@@ -191,7 +191,7 @@ export function ReportListRow({
191191
</Flex>
192192

193193
<div
194-
className="min-w-0 pl-4"
194+
className="min-w-0 select-text"
195195
style={{ opacity: isReady ? 1 : 0.82 }}
196196
>
197197
<SignalReportSummaryMarkdown

apps/code/src/renderer/features/inbox/components/list/SignalsToolbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export function SignalsToolbar({
196196
<Flex
197197
direction="column"
198198
gap="2"
199+
className="select-none"
199200
style={{ padding: "8px", borderBottom: "1px solid var(--gray-5)" }}
200201
>
201202
<Flex align="center" justify="between" gap="2">

apps/code/src/renderer/styles/globals.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -891,14 +891,9 @@ button,
891891
width: 100% !important;
892892
}
893893

894-
/* Inbox live-rail scan line */
895-
@keyframes inboxLiveRailSweep {
896-
0% {
897-
transform: translateX(-120%);
898-
}
899-
100% {
900-
transform: translateX(420%);
901-
}
894+
/* Inbox report list: Radix ScrollArea thumb defaults to 100ms background-color transition */
895+
.scroll-area-constrain-width.inbox-report-list-scroll .rt-ScrollAreaThumb {
896+
transition: none;
902897
}
903898

904899
/* Inbox toolbar polling indicator pulse */

0 commit comments

Comments
 (0)