diff --git a/apps/desktop/src/design.test.ts b/apps/desktop/src/design.test.ts index 8776f8b01..a0155763e 100644 --- a/apps/desktop/src/design.test.ts +++ b/apps/desktop/src/design.test.ts @@ -43,6 +43,7 @@ const SHAPED = /(? : null; } -// The side panel's toggle: it opens the panel on this thread's last tab (Details, Changes, Pull -// requests) and closes whichever is showing. It carries `data-panel-toggle`: a panel that closes -// with nothing else focused hands the keyboard back to it (ui/RightPanel.tsx). +/** + * The side panel's toggle names the tab it opens (this thread's last: Details, Changes, Pull + * requests). Its `data-panel-toggle` takes the keyboard back when a panel closes (ui/RightPanel.tsx). + */ +const PANEL_LABELS: Record = { + details: "Details", + changes: "Changes", + pulls: "Pull requests", + peek: "Thread", +}; + function DetailsHeaderButton() { - const on = useApp((s) => !!s.panel); + const panel = useApp((s) => s.panel); + const remembered = useApp((s) => (s.selectedId ? s.panelByThread[s.selectedId] : undefined)); const key = useShortcutHint("toggle-panel"); + const label = PANEL_LABELS[panel ?? remembered ?? "details"]; return ( - - - + + + ); } @@ -256,7 +265,7 @@ function Header({ / )} -

{title}

+ {thread && machine && ( {resets.count > 0 && ( - resets.restore()}> + resets.restore()}> Restore defaults diff --git a/apps/desktop/src/ui/SettingsAppearance.tsx b/apps/desktop/src/ui/SettingsAppearance.tsx index 8e9f48382..25499fbfe 100644 --- a/apps/desktop/src/ui/SettingsAppearance.tsx +++ b/apps/desktop/src/ui/SettingsAppearance.tsx @@ -301,7 +301,7 @@ export function AppearancePage() { action={
{hasShell() && ( - revealPath(userDir)}> + revealPath(userDir)}> Open themes folder )} diff --git a/apps/desktop/src/ui/SettingsScope.tsx b/apps/desktop/src/ui/SettingsScope.tsx index 73b6ce989..0ce8b8327 100644 --- a/apps/desktop/src/ui/SettingsScope.tsx +++ b/apps/desktop/src/ui/SettingsScope.tsx @@ -61,7 +61,7 @@ export function SettingsScopeBar({ machineOnly = false }: { machineOnly?: boolea ...(machineOnly ? [] : [{ value: ALL, label: "All machines" }]), ]; return ( -
+
diff --git a/apps/desktop/src/ui/SidebarThreadRow.tsx b/apps/desktop/src/ui/SidebarThreadRow.tsx index 76df1817d..78a85dd35 100644 --- a/apps/desktop/src/ui/SidebarThreadRow.tsx +++ b/apps/desktop/src/ui/SidebarThreadRow.tsx @@ -132,7 +132,7 @@ import { ThreadQuickActions } from "./ThreadQuickActions"; // One thread row of the sidebar (ThreadRow, PendingRow), its state label and its // context menu (ThreadMenuItems), split out of Sidebar.tsx, which lays the rows out. -function ThreadMenuItems({ +export function ThreadMenuItems({ session, Menu, Item, diff --git a/apps/desktop/src/ui/ThreadDetails.tsx b/apps/desktop/src/ui/ThreadDetails.tsx index 32b7072e6..70555ae6e 100644 --- a/apps/desktop/src/ui/ThreadDetails.tsx +++ b/apps/desktop/src/ui/ThreadDetails.tsx @@ -1,10 +1,11 @@ -// The side panel's Details tab, in titled sections: where the thread runs, its branch and -// uncommitted changes, lineage, a few plain stats (agent, messages, tool calls, cost, age) and -// context usage. +// The side panel's Details tab, Multica-style: foldable sections of label and value rows. The +// thread's properties (status, agent, model, account, machine, project, branch), its uncommitted +// changes, lineage, activity (messages, tool calls, tokens, cost, age) and context usage. // Changes and Pull requests are the panel's other tabs (ui/RightPanel.tsx). import { type ReactNode, useEffect, useMemo, useState } from "react"; -import { modelName } from "../acp/types"; +import { modelName, projectName } from "../acp/types"; +import { STATUS_LABEL } from "../acp/v2"; import { type GitChanges, gitChangeSummary, openPath } from "../lib/native"; import { appPlatform, fileManagerName } from "../lib/platform"; import { contextPercent } from "../state/details"; @@ -13,8 +14,10 @@ import { showPanel, useApp, worktreeOf } from "../state/store"; import { formatTokens, isRunning, type TranscriptItem } from "../state/thread"; import { relativeAge } from "../state/threadFormat"; import { splitThreadKey } from "../state/threadKeys"; +import { statusOf } from "../state/threadStatus"; import { DelegatePreview, delegateBranchCount } from "./DelegateTree"; -import { ChevronRight, FileDiff, FolderOpen, GitBranch, Laptop } from "./icons"; +import { HarnessIcon } from "./HarnessIcon"; +import { ChevronDown, ChevronRight, FileDiff, GitBranch, Laptop } from "./icons"; import { FOLDED_EVENT, isFolded as isFoldedOf, @@ -23,8 +26,10 @@ import { toggleFolded, writeFolded, } from "./overview"; +import { ProjectMark } from "./ProjectMark"; import { cx, Tooltip } from "./primitives"; import { DiffCount } from "./Rows"; +import { StatusIcon } from "./Status"; /** * The thread's working tree against HEAD, read once its turn ends, so a finished turn counts. Only @@ -74,6 +79,7 @@ export function ThreadDetails() { const harnessName = useApp((s) => harnessId ? (s.harnesses?.harnesses.find((h) => h.id === harnessId)?.name ?? harnessId) : undefined, ); + const status = useApp((s) => (s.selectedId ? statusOf(s, s.selectedId) : "idle")); const items = thread?.items; const counts = useMemo(() => threadCounts(items ?? []), [items]); const changes = useChanges(host ? undefined : thread?.cwd, isRunning(thread)); @@ -127,77 +133,109 @@ export function ThreadDetails() { const added = changes?.files.reduce((sum, f) => sum + f.added, 0) ?? 0; const removed = changes?.files.reduce((sum, f) => sum + f.removed, 0) ?? 0; - const row = "flex min-h-8 w-full items-center gap-2 rounded-lg px-3 text-left font-medium text-callout"; - const action = `${row} hover:bg-fill-subtle`; + const project = projectName(worktree?.repo || thread.cwd); + const machineLabel = + machine ?? (host ? "Paired computer" : appPlatform() === "mac" ? "This Mac" : "This computer"); const icon = "shrink-0 text-fg-muted"; + const activity = stats.filter(([label]) => label !== "Agent" && label !== "Account"); - // Titled sections, each a few 32px rows, a hairline between them: the layout T3 Code's thread - // details card uses, holding this panel's own facts. + // Multica-style sections: a title you can fold, then label and value rows, the label in a fixed + // column and the value beside it with its icon, so the eye runs down one edge. return ( -
-
-
- - - {machine ?? (host ? "Paired computer" : appPlatform() === "mac" ? "This Mac" : "This computer")} - -
- {!host && ( - +
+
+ + + {STATUS_LABEL[status]} + + {harnessId && ( + + + {harnessName} + + )} + {model && ( + + {model} + + )} + {account && ( + + {account} + + )} + + + {machineLabel} + + openPath(thread.cwd)} + tip={host ? undefined : `Open in ${fileManagerName(appPlatform())}`} + > + + {project} + + {branch && ( + + + {branch} + )}
- {branch && ( -
- -
- - - {branch} - -
-
- {changes && ( - - )} + {changes && ( +
+ + + } + > +
)} {delegates > 0 && ( -
-
- toggle("delegates")} - /> -
+
+ toggle("delegates")} + />
)} -
-
- {stats.map(([label, value]) => ( -
-
{label}
-
{value}
-
- ))} -
+
+ {activity.map(([label, value]) => ( + + {value} + + ))}
{usage && used !== undefined && ( -
-
+
+
-

{title}

+/** A label in the fixed left column and its value beside it; a value that acts gets a hover fill. */ +function Property({ + label, + children, + onClick, + tip, +}: { + label: string; + children: ReactNode; + onClick?: () => void; + tip?: string; +}) { + const value = + "flex min-h-8 min-w-0 flex-1 items-center gap-2 rounded-md px-2 text-left text-callout text-fg"; + const body = onClick ? ( + + ) : ( +
{children}
+ ); + return ( +
+ {label} + {tip ? {body} : body} +
+ ); +} + +/** A titled group that folds away from its title; the fold is the reader's habit, kept for every thread. */ +function Section({ + id, + title, + folded, + onToggle, + action, + children, +}: { + id: SectionId; + title: string; + folded: boolean; + onToggle: (id: SectionId) => void; + action?: ReactNode; + children: ReactNode; +}) { + return ( +
+
+ + + {action} +
+ {!folded &&
{children}
}
); } diff --git a/apps/desktop/src/ui/ThreadTitle.tsx b/apps/desktop/src/ui/ThreadTitle.tsx new file mode 100644 index 000000000..7a9499fa7 --- /dev/null +++ b/apps/desktop/src/ui/ThreadTitle.tsx @@ -0,0 +1,73 @@ +import { DropdownMenu } from "radix-ui"; +import { useState } from "react"; +import { useApp } from "../state/store"; +import type { ThreadState } from "../state/thread"; +import { renameThread } from "../state/threadActions"; +import { ChevronDown } from "./icons"; +import { MenuContent } from "./primitives"; +import { ThreadMenuItems } from "./SidebarThreadRow"; + +/** + * The chat header's thread title, the last crumb after the project. It opens the thread's menu + * (the sidebar row's own, ui/SidebarThreadRow.tsx) with a chevron that shows on hover, and its + * Rename edits the title in place, once the menu has closed and given focus back. + */ +export function ThreadTitle({ thread, title }: { thread?: ThreadState; title: string }) { + const session = useApp((s) => (thread ? s.sessions.find((x) => x.id === thread.id) : undefined)); + const [renaming, setRenaming] = useState(false); + const [draft, setDraft] = useState(""); + if (!session) return

{title}

; + const startRename = () => { + setDraft(session.title ?? title); + setTimeout(() => setRenaming(true), 0); + }; + const commit = () => { + setRenaming(false); + const next = draft.trim(); + if (next && next !== session.title) void renameThread(session.id, next, { user: true }); + }; + if (renaming) { + return ( + e.currentTarget.select()} + onChange={(e) => setDraft(e.target.value)} + onBlur={commit} + onKeyDown={(e) => { + if (e.key === "Enter") commit(); + if (e.key === "Escape") setRenaming(false); + }} + className="-mx-1 h-6 min-w-0 max-w-[480px] flex-1 rounded-sm bg-fill px-1 font-medium text-body text-fg outline-none" + /> + ); + } + return ( + + + + + + + + + ); +} diff --git a/apps/desktop/src/ui/overview.ts b/apps/desktop/src/ui/overview.ts index bc8d1bbe1..305f1a130 100644 --- a/apps/desktop/src/ui/overview.ts +++ b/apps/desktop/src/ui/overview.ts @@ -21,6 +21,9 @@ export const OVERVIEW_SECTIONS = [ "deliverables", "log", "details", + "changes", + "activity", + "context", ] as const; export type OverviewSection = (typeof OVERVIEW_SECTIONS)[number]; diff --git a/apps/desktop/src/ui/primitives.tsx b/apps/desktop/src/ui/primitives.tsx index 727b7b187..ffc58d929 100644 --- a/apps/desktop/src/ui/primitives.tsx +++ b/apps/desktop/src/ui/primitives.tsx @@ -556,6 +556,14 @@ export function Kbd({ children }: { children: ReactNode }) { * A switch: a pill knob as tall as its track (docs/design.md › Active controls), so the * button's own box is the track's 20 px and the row it sits in does not grow. */ +/** How far the switch's knob travels, in px: the track's width less the knob's and both insets. */ +const SWITCH_TRAVEL = 16; + +/** + * A switch. A press toggles it; the knob can also be dragged across and let go on either side. + * Held down, the knob stretches toward the side it would move to, so the press reads before the + * release. Keyboard Space and Enter toggle it as a button does. + */ export function Switch({ checked, onChange, @@ -567,6 +575,19 @@ export function Switch({ label: string; disabled?: boolean; }) { + const [pressed, setPressed] = useState(false); + const [dragOffset, setDragOffset] = useState(null); + const gesture = useRef<{ x: number; moved: boolean } | null>(null); + const end = (commit: boolean, x?: number) => { + const g = gesture.current; + gesture.current = null; + setPressed(false); + setDragOffset(null); + if (!commit || !g) return; + const next = g.moved && x !== undefined ? knobAt(x, g.x, checked) > SWITCH_TRAVEL / 2 : !checked; + if (next !== checked) onChange(next); + }; + const offset = dragOffset ?? (checked ? SWITCH_TRAVEL : 0); return ( ); } +/** The knob's offset for a pointer at `x` that went down at `start`, clamped to the track. */ +function knobAt(x: number, start: number, checked: boolean): number { + return Math.min(SWITCH_TRAVEL, Math.max(0, (checked ? SWITCH_TRAVEL : 0) + x - start)); +} + /** * Segmented control: a track with a sliding thumb. The track fits its segments (`w-fit`), so a flex * column that stretches its children never leaves the buttons at one end of a full-width track; * `fill` is for a track that spans its card, where the segments share the width equally. * `tabs` makes it a tab strip for the views of a panel: tab roles, panel-sized labels, and a quiet * thumb on the soft fill instead of the white knob, so a secondary surface does not outshine the chat. + * On a track (not a tab strip) a press swells the thumb, which follows the pointer across the + * segments and picks the one it is over on release; a click from the keyboard picks at once. */ export function Segments({ value, @@ -605,6 +655,7 @@ export function Segments({ onIntent, fill, tabs, + size = "sm", }: { value: T; options: { value: T; label: string; disabled?: boolean }[]; @@ -616,16 +667,39 @@ export function Segments({ fill?: boolean; /** A tab strip: the id of the panel the tabs control. */ tabs?: { controls: string }; + /** `md` is a settings row's control (24px segments), `sm` a toolbar's (20px). */ + size?: "sm" | "md"; }) { + const height = size === "md" ? "h-6" : "h-5"; // The selected segment's pill slides to the new one instead of jumping. const group = useRef(null); const [thumb, setThumb] = useState<{ left: number; width: number } | null>(null); const intent = useIntentRest((next: T) => onIntent?.(next)); + const [held, setHeld] = useState(null); + const pressing = useRef(false); + const shown = held ?? value; // biome-ignore lint/correctness/useExhaustiveDependencies: re-measures when the choice or labels change useLayoutEffect(() => { const el = group.current?.querySelector("[data-on]"); setThumb(el ? { left: el.offsetLeft, width: el.offsetWidth } : null); - }, [value, options.map((o) => o.label).join()]); + }, [shown, options.map((o) => o.label).join()]); + const optionAt = (x: number): T | undefined => { + const buttons = group.current?.querySelectorAll("button[data-value]") ?? []; + let best: { value: T; distance: number } | undefined; + for (const button of buttons) { + if (button.disabled) continue; + const r = button.getBoundingClientRect(); + const distance = x < r.left ? r.left - x : x > r.right ? x - r.right : 0; + if (!best || distance < best.distance) best = { value: button.dataset.value as T, distance }; + } + return best?.value; + }; + const release = (commit: boolean) => { + if (!pressing.current) return; + pressing.current = false; + if (commit && held !== null && held !== value) onChange(held); + setHeld(null); + }; // The pick's label sits on the white pill, so it takes the pill's dark fg. Before the first // measure the button draws the pill itself; a measured pill with no width (a track measured while // hidden) draws none, so its label keeps the track's own fg instead of dark on dark. @@ -640,41 +714,62 @@ export function Segments({
) => { + const at = e.button === 0 ? optionAt(e.clientX) : undefined; + if (at === undefined) return; + e.currentTarget.setPointerCapture(e.pointerId); + pressing.current = true; + setHeld(at); + }, + onPointerMove: (e: React.PointerEvent) => { + if (!pressing.current) return; + const at = optionAt(e.clientX); + if (at !== undefined && at !== held) setHeld(at); + }, + onPointerUp: () => release(true), + onPointerCancel: () => release(false), + onLostPointerCapture: () => release(false), + })} className={cx( "relative", - tabs ? "gap-1" : "rounded-full bg-fill p-[2px]", - fill ? "flex w-full" : "inline-flex w-fit", + tabs ? "gap-1" : "touch-none rounded-full bg-fill p-[3px]", + fill ? "flex w-full" : "inline-flex w-fit shrink-0", )} > {thumb && ( )} {options.map((o) => ( - ); + return ; } /** A menu's options arrive as `{ value, label }`; `""` is a real choice here. */ @@ -488,67 +464,16 @@ export function Select({ } /** - * Two to four exclusive choices: a track one step over the card and the picked - * segment on a step of its own, sliding there rather than jumping. + * Two to four exclusive choices: the segmented control (primitives.tsx › Segments) at a row's + * height, the picked segment's pill sliding there rather than jumping. */ -export function Choice({ - value, - options, - onChange, - label, -}: { +export function Choice(props: { value: T; options: { value: T; label: string; disabled?: boolean }[]; onChange: (value: T) => void; label: string; }) { - const group = useRef(null); - const [thumb, setThumb] = useState<{ left: number; width: number } | null>(null); - // biome-ignore lint/correctness/useExhaustiveDependencies: re-measures when the choice or labels change - useLayoutEffect(() => { - const el = group.current?.querySelector('[aria-checked="true"]'); - setThumb(el ? { left: el.offsetLeft, width: el.offsetWidth } : null); - }, [value, options.map((o) => o.label).join()]); - // The pick's label sits on the white pill, so it takes the pill's dark fg. Before the first - // measure the button draws the pill itself; a measured pill with no width (a track measured while - // hidden) draws none, so its label keeps the track's own fg instead of dark on dark. - const selected = thumb - ? thumb.width > 0 - ? "text-knob-fg" - : "text-fg" - : "bg-knob text-knob-fg shadow-knob"; - return ( -
- {thumb && ( - - )} - {options.map((o) => ( - - ))} -
- ); + return ; } /** A row's state at a glance: a short tinted chip (signed in, signed out, active). */ @@ -765,7 +690,7 @@ export function Loading({ error, onRetry }: { error: string | null; onRetry?: () // Where the page's list will be: a group card of rows, title and subtitle each.
-
+
{[46, 62, 38, 54].map((w, i) => (
diff --git a/docs/design.md b/docs/design.md index 72e9c0710..64234a198 100644 --- a/docs/design.md +++ b/docs/design.md @@ -106,13 +106,13 @@ the accent marks state (on, selected, linked), it does not shout. |---|---|---|---| | xs | 6 | `rounded-xs` | kbd, inline code (on `bg-fill`), tiny badges, checkboxes | | sm | 8 | `rounded-sm` | 22px icon buttons inside rows, branch chips, small inputs | -| md | 10 | `rounded-md` | Icon buttons, list rows, inputs | -| lg | 12 | `rounded-lg` | Cards (tool output, error card), settings rows and groups, menu items, pictures in replies | +| md | 10 | `rounded-md` | Icon buttons, fields, list rows, inputs | +| lg | 12 | `rounded-lg` | Cards (tool output, error card), settings rows, menu items, pictures in replies | | xl | 16 | `rounded-xl` | Settings group cards, menus, popovers, dialogs, the command palette, large panels, tooltips and hover cards | | 2xl | 20 | `rounded-2xl` | The settings panel, toasts | | composer | 20 | `--rc-composer-radius` | The composer's box: one floating card a step rounder than menus and popovers, so its corners read soft over the text sliding under it | | 3xl | 26 | `rounded-3xl` | The largest floating surface (nothing uses it yet) | -| full | — | `rounded-full` | Switches, avatars, dots, trackbars and labelled buttons | +| full | — | `rounded-full` | Labelled buttons (`Pill`), selects, segmented controls, status chips, toolbar clusters, switches, avatars, dots, trackbars | In the chat a component names its **role** instead of a step; each role is one of the steps above, so a theme's radius still scales it: @@ -189,6 +189,23 @@ knob and the track's fill answer a toggle over 200 ms. The button's own box is the track's 20 px, so a switch in a Settings row does not make the row taller than its neighbours. +A segmented track is inset 3 px around its pill (`Segments`; `Choice` is its +24 px size), so the pill reads as sitting inside the track rather than filling +it. + +Knobs answer the press, not just the release: + +- Held, a knob swells: a switch's grows to 28 px toward the side it would move + to (staying inside the track), a segmented pill scales to 104%, a slider's + thumb to 115%, each over 200 ms `--ease-snappy`. +- A switch and a segmented track can be dragged as well as pressed. A + segmented pill follows the pointer to the segment under it and picks it on + release. A switch's knob follows the pointer and lands on the side it is + let go nearer; a press without a drag toggles. A cancelled gesture changes + nothing. +- The keyboard still picks with a click (Space, Enter), so a pointer + gesture commits once, on release, and never twice. + ## Focus - Controls normally use `:focus-visible` for a ring: 2px `focus` at 40%, offset 2px. It is @@ -457,7 +474,7 @@ that change use `tabular`. - A new transcript row rises in with `rc-row-in` (260ms, fade + 6px), once: rows there when the thread opened, or remounted by the virtualizer, do not. A status dot that appears pops in (`rc-dot-in`); a segmented control's - selection slides (`transform`) to the new segment. A count that changes rolls + selection slides (`translate`) to the new segment. A count that changes rolls its digits vertically in 220ms `--ease-snappy` (`ui/RollingNumber.tsx`), keeping each column's place from the right, so 9 → 10 rolls the units and grows a tens. @@ -638,11 +655,17 @@ content never shifts when a classic scrollbar appears. ## Component recipes -Shape rule: **labelled buttons are pills** (`rounded-full` with -horizontal padding, never a circle): the composer's footer buttons, chips, -segmented items, header actions, Settings' "New…" and "Edit config". -Circles only for icon-only round buttons (send, stop, close in a panel -header, toolbar clusters). Icon buttons in dense rows are `rounded-md`. +Shape rule: **what you press or pick is a pill, what holds content is a +rounded rectangle.** Pills (`rounded-full`): labelled buttons (`Pill`, never a +circle), segmented controls and their items, status chips, toolbar clusters, +switches, selects, the composer's footer chips, and the chat header's machine +pill and side-panel toggle (a quiet pill that names the tab it opens, the +panel icon after the name). A labelled button with an icon always has a fill; +`quiet` (no fill at rest) is for text-only actions. Settings' `Action` is +`Pill`, so every labelled button in the app shares one shape. +Rounded rectangles from the scale: text fields (`rounded-lg`), icon +buttons (`rounded-md`, `rounded-sm` in dense rows), cards, rows, menus and +panels. Circles only for icon-only round buttons (send, stop). Buttons inside a callout's actions are `rounded-md`, one step below its `rounded-lg`, and centred on its message. Rows are `rounded-md` (sidebar thread rows `rounded-xl` in the default comfortable layout, `rounded-lg` in the opt-in compact one), menu items and cards `rounded-lg`, diff --git a/docs/desktop.md b/docs/desktop.md index ae3da79e4..d7ae07fb5 100644 --- a/docs/desktop.md +++ b/docs/desktop.md @@ -1296,7 +1296,10 @@ composer's keys stay outside the table. - **Thread header buttons.** The chat header's buttons come from one registry (`ui/ChatView.tsx`, ids in `state/headerButtons.ts`): the plan's progress and the side panel's toggle, each on its own with no shared - pill behind them. Settings › Chat › Thread + pill behind them. The toggle is a quiet button that names the tab it opens + (Details, Changes, Pull requests). The title is a breadcrumb after the + project (t3code-style): it opens the thread's menu, the sidebar row's own, + with a chevron on hover, and its Rename edits the title in place. Settings › Chat › Thread header buttons lists them as Shown and Hidden: drag a row to reorder it or move it across (pointer capture, so the webview's own drops never see it), ⌥↑/⌥↓ moves a focused row, and each row's Show/Hide button does the same diff --git a/scripts/comment-baseline.txt b/scripts/comment-baseline.txt index 2ca85310d..ae60bb2a1 100644 --- a/scripts/comment-baseline.txt +++ b/scripts/comment-baseline.txt @@ -461,7 +461,7 @@ 21 apps/desktop/src/ui/ChangesPanel.tsx 5 apps/desktop/src/ui/ChatBackgroundGroup.tsx 5 apps/desktop/src/ui/ChatLight.tsx -114 apps/desktop/src/ui/ChatView.tsx +111 apps/desktop/src/ui/ChatView.tsx 14 apps/desktop/src/ui/CommandPalette.tsx 5 apps/desktop/src/ui/Compare.tsx 222 apps/desktop/src/ui/Composer.tsx @@ -614,7 +614,7 @@ 9 apps/desktop/src/ui/replyActions.ts 5 apps/desktop/src/ui/settingsIndex.test.ts 26 apps/desktop/src/ui/settingsIndex.ts -35 apps/desktop/src/ui/settingsKit.tsx +32 apps/desktop/src/ui/settingsKit.tsx 21 apps/desktop/src/ui/sidebarDrag.tsx 1 apps/desktop/src/ui/syncRows.test.ts 4 apps/desktop/src/ui/syncRows.ts