Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(settings): keep remote host input focus visible (#1608)
Lan6d8cc40361aa
diff --git a/apps/desktop/src/styles/settings.css b/apps/desktop/src/styles/settings.cssindex 27f0e985d..0787181d1 100644--- a/apps/desktop/src/styles/settings.css+++ b/apps/desktop/src/styles/settings.css@@ -1058,7 +1058,7 @@min-height: 0;overflow-x: hidden;overflow-y: auto;- padding: 2px 2px 2px 0;+ padding: 2px;overscroll-behavior: contain;}diff --git a/apps/desktop/test/settings-remote-hosts.test.mjs b/apps/desktop/test/settings-remote-hosts.test.mjsindex d513c980f..74b76536a 100644--- a/apps/desktop/test/settings-remote-hosts.test.mjs+++ b/apps/desktop/test/settings-remote-hosts.test.mjs@@ -62,6 +62,12 @@ test("remote hosts puts Add actions before the inventory and opens dialog forms"assert.match(cssRule(".settings-remote-host-name"), /font-size:\s*var\(--text-md-plus\)/);});+test("remote-host dialog form leaves space for focused input rings", () => {+ const formRule = cssRule(".settings-remote-host-add-dialog .settings-remote-host-form");+ assert.match(formRule, /overflow-x:\s*hidden/);+ assert.match(formRule, /padding:\s*2px(?:\s+2px){0,3}\s*;/);+});+test("remote host cards open project creation instead of a session workbench", () => {assert.match(page, /openProject\(\{ remoteHostKey: host\.hostKey \}\)/);assert.match(page, /remoteT\("newProject"\)/);