diff --git a/src/chrome/ProjectRail.tsx b/src/chrome/ProjectRail.tsx
index fafe430a..2d13b974 100644
--- a/src/chrome/ProjectRail.tsx
+++ b/src/chrome/ProjectRail.tsx
@@ -12,7 +12,6 @@ import {
File,
Plus,
Search,
- Settings,
Trash2,
} from "./icons";
import { useEffect, useMemo, useRef, useState, type MouseEvent } from "react";
@@ -471,16 +470,8 @@ export function ProjectRail({
update={updateNotice}
onOpenWhatsNew={onOpenWhatsNew}
onDismissUpdate={onDismissUpdate}
+ onOpenSettings={onOpenSettings}
/>
-
-
-
>
)}
{projectMenu ? (
diff --git a/src/chrome/Sidebar.tsx b/src/chrome/Sidebar.tsx
index 6412566c..6317c2d7 100644
--- a/src/chrome/Sidebar.tsx
+++ b/src/chrome/Sidebar.tsx
@@ -10,7 +10,6 @@ import {
Pin,
Plus,
Search,
- Settings,
StickyNote,
} from "./icons";
import {
@@ -113,7 +112,6 @@ import { ExplorerMenu, type ExplorerMenuItem } from "./ExplorerMenu";
import { FileTree } from "./FileTree";
import { HarnessIcon } from "./HarnessIcon";
import { ProjectRail } from "./ProjectRail";
-import { RailAction } from "./RailAction";
import { TerminalSpinner } from "./TerminalSpinner";
import { DevModeSlot, IconButton, TabVisitNav } from "./TitleBar";
import { ProjectSearch } from "./ProjectSearch";
@@ -1281,22 +1279,12 @@ function SidebarComponent({
) : null}
{showSidebarFooter ? (
- <>
-
-
-
-
- >
+
) : null}
>
{sessionMenu ? (
diff --git a/src/chrome/SidebarUpdate.tsx b/src/chrome/SidebarUpdate.tsx
index 02fe933f..134e641b 100644
--- a/src/chrome/SidebarUpdate.tsx
+++ b/src/chrome/SidebarUpdate.tsx
@@ -1,4 +1,4 @@
-import { ArrowDownCircle, Loader, RefreshCw } from "./icons";
+import { ArrowDownCircle, Loader, RefreshCw, Settings } from "./icons";
import { useCallback, useEffect, useState } from "react";
import {
installPendingUpdate,
@@ -8,16 +8,20 @@ import {
type UpdaterSnapshot,
} from "../lib/updater";
import type { InstalledUpdate } from "../lib/updateNotice";
+import { MOD } from "../lib/platform";
+import { RailAction } from "./RailAction";
import { UpdateRailCard } from "./UpdateRailCard";
export function SidebarUpdateFooter({
update,
onOpenWhatsNew,
onDismissUpdate,
+ onOpenSettings,
}: {
update?: InstalledUpdate | null;
onOpenWhatsNew?: (version: string) => void;
onDismissUpdate?: () => void;
+ onOpenSettings?: () => void;
}) {
return (
@@ -28,7 +32,16 @@ export function SidebarUpdateFooter({
onDismiss={onDismissUpdate}
/>
) : null}
-
+
+
+
+
);
}
@@ -93,39 +106,32 @@ export function SidebarUpdate() {
? `Downloading${snapshot.progress != null ? ` ${snapshot.progress}%` : "…"}`
: "Checking…"
: "Check for updates";
+ const title = `${label} · v${snapshot.currentVersion}`;
return (
);
}
diff --git a/src/surfaces/UnifiedDiffView.tsx b/src/surfaces/UnifiedDiffView.tsx
index 5b1a6e68..3300c10c 100644
--- a/src/surfaces/UnifiedDiffView.tsx
+++ b/src/surfaces/UnifiedDiffView.tsx
@@ -894,9 +894,12 @@ const DiffLineRow = memo(function DiffLineRow({
}) {
if (line.kind === "hunk") {
return (
-
+
{lane === "code" ? (
-
+
{line.text}
) : null}
@@ -920,15 +923,17 @@ const DiffLineRow = memo(function DiffLineRow({
if (lane === "gutter") {
return (
-
+
{gutterTint ? (
) : null}
{number ?? ""}
@@ -967,12 +972,14 @@ const DiffLineRow = memo(function DiffLineRow({
}
return (
-
+
{renderLineText(line, tokens)}