From bcc88b6be798970602a24e4d1e17e9606b0e9c96 Mon Sep 17 00:00:00 2001 From: Vassiliy Yegorov Date: Mon, 15 Jun 2026 13:38:35 +0700 Subject: [PATCH 1/2] fix(app): add a close (X) button to the settings modal Esc and click-outside already closed it, but there was no visible affordance. Co-Authored-By: Claude Opus 4.8 (1M context) --- app/src/Settings.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/Settings.tsx b/app/src/Settings.tsx index 3f3e07c..d9d1905 100644 --- a/app/src/Settings.tsx +++ b/app/src/Settings.tsx @@ -1,4 +1,5 @@ import { useEffect, useRef, useState } from "react"; +import { X } from "lucide-react"; import { COLORS, FONT, ACCENTS } from "./theme"; import { setConfig, restartDaemon } from "./socketBridge"; import type { ConfigView, DaemonHealth } from "./socketBridge"; @@ -20,7 +21,13 @@ export function Settings({ config, health, onClose, onReload }: { config: Config
e.stopPropagation()} onKeyDown={(e) => { e.stopPropagation(); if (e.key === "Escape") onClose(); }} style={{ width: 520, maxHeight: "80vh", overflowY: "auto", background: COLORS.bgApp, border: `1px solid ${COLORS.borderStrong}`, borderRadius: 14, padding: 24, color: COLORS.textPrimary, fontFamily: FONT.ui }}> -
Settings
+
+ Settings + +
Terminal font