agent-orchestrator/packages/web
Priyanshu Choudhary be29941e98 fix(web): add Home to location dropdown, stop auto-selecting on descend
Two folder-picker UX bugs:

1. Once on a Windows drive (C:, D:), there was no way back to ~ from the
   dropdown — only drives were listed. Replace the "Drive" placeholder
   with a real "Home" option (value ~) so the dropdown always offers
   every root. The select's value reflects browsePath, so it reads
   "Home" at ~ and the drive letter inside a drive. Renamed the aria
   label from "Drive" to "Location" to match.

2. Double-clicking a folder to descend was silently re-selecting the
   folder you'd just navigated into — if it wasn't a git repo, the
   modal flashed a red "not a git repository" warning for every
   non-repo folder a user passed through. Same flaw fired on
   breadcrumb clicks, drive switches, and history nav.

   Root cause: browse() defaulted selectedPath to the navigation
   target. Changed the default to "" — selection is now only ever
   set by explicit user intent (clicking a row, the "this folder"
   row, or pressing Enter on a typed location). Callers that
   genuinely seed a selection (reset, refresh, location-input
   submit) already pass selectedPath explicitly, so they're
   unaffected. Also dropped the now-redundant selectedPath from
   the drive-switch call.

Tests: 29/29 passing. Added two tests for the Home option (it's
present and picking it routes to ~; the select value tracks
browsePath) and one for the descend-doesn't-select behavior.
Updated two pre-existing tests that asserted the old auto-select
contract with comments explaining the new one.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 15:13:35 +05:30
..
e2e feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
public Fix web imports for service worker and project utils 2026-03-25 14:08:54 +05:30
screenshots fix: polish shimmer states, terminal PR inference, and gitignore .gstack 2026-04-06 22:49:09 -07:00
scripts fix: protect live dashboard artifacts (#1598) 2026-05-01 16:09:57 +05:30
server feat(windows): complete Windows support (#1025) 2026-05-09 00:10:53 +05:30
src fix(web): add Home to location dropdown, stop auto-selecting on descend 2026-05-23 15:13:35 +05:30
.env.local.example feat: configurable terminal server ports for multi-dashboard support (#113) 2026-02-19 04:00:19 +05:30
.gitignore Normalize dashboard project filtering and align session layout 2026-03-25 14:34:55 +05:30
CHANGELOG.md chore: release 0.6.0 (#1723) 2026-05-08 02:37:44 +05:30
eslint.config.js fix: resolve three Next.js build warnings in web package (#1087) 2026-04-17 10:43:01 +05:30
next-env.d.ts feat: implement web dashboard with attention-zone UI and API routes (#1) 2026-02-14 14:26:59 +05:30
next.config.js feat(windows): complete Windows support (#1025) 2026-05-09 00:10:53 +05:30
package.json feat(windows): complete Windows support (#1025) 2026-05-09 00:10:53 +05:30
postcss.config.mjs feat: implement web dashboard with attention-zone UI and API routes (#1) 2026-02-14 14:26:59 +05:30
tsconfig.json fix: terminal servers compatible with hash-based architecture (#87) 2026-02-18 03:28:55 +05:30
tsconfig.server.json fix: scope node types to node packages 2026-04-13 18:25:21 +05:30
vitest.config.ts fix: register codex web activity plugin 2026-04-18 14:15:29 +05:30