Repository navigation
fix(dashboard): style all dropdown menus - #1296
Conversation
|
No findings in the specified diff. The PR description includes sufficient testing: a built real-CLI dashboard E2E run for the git provider, plus browser checks using isolated fixtures. Untested browsers and providers are explicitly disclosed and do not block merge. Review was read-only; I did not run, build, or install PR code. |
SaulMoro
left a comment
There was a problem hiding this comment.
This was generated by AI during triage.
@MertensMing Thanks, approving.
We built this head and ran the dashboard from the built CLI in headless Chrome. The workspace, language and theme menus open with the new style in dark and light themes and at 420px wide. Arrow keys and Enter still select. Browsers without appearance: base-select keep the native menu. tsc, lint, the dashboard-ui tests and the dashboard e2e pass. The branch merges cleanly with current main.
Not blocking:
[P2 non-blocking]#1295 proposed changing only the workspace selector, and no one confirmed a wider scope there. This PR styles every<select>, so the header language and theme selects change width slightly (88→77px and 121→117px here). That looks fine to us. Mention it on the issue so the record matches.[P3 nit]The body says the screenshots showe20ffe2, but the image links point at3b718e55on your fork.
* fix(dashboard): style the workspace picker * fix(dashboard): style all dropdown menus
Summary
All dashboard dropdown menus now share the same style in supported browsers.
This covers workspace, language, theme, repository, AI tool, and all three skill filters.
Menus use rounded options, theme colors, visible focus, and bounded height.
Long option names wrap in menus.
The closed workspace label shows an ellipsis.
Type of Change
Test Plan
Real CLI command:
npx vitest run --config vitest.e2e.config.ts src/__tests__/e2e/dashboard-unified.test.ts -t "git:".It checks four agent records, report ingestion, HTTP responses, and live SSE updates.
Two provider cases were skipped.
These checks passed again after the scope expansion.
Browser checks used the built CLI with isolated workspace fixtures.
Checks covered both themes, long workspace names, mouse selection, arrow keys, Enter, and Escape.
Workspace changes updated the path and session list.
Reload preserved the workspace selection.
Additional checks covered language changes, theme changes, and repository and AI tool menus.
The isolated fixture had no skills.
Skill filters were checked in the source, without an interactive fixture.
Related Issues
Fixes #1295
Notes for Reviewers
This uses
appearance: base-selectas a progressive enhancement.Unsupported browsers retain their native menu.
No custom keyboard handler or new dependency is added.
Existing values, event handlers, escaping, and saved preferences remain in place.
The workspace button and selectedcontent element only control the selected label.
Shared select rules also cover dynamically rendered skill filters.
Browser validation used desktop Chromium.
Safari, Firefox, mobile widths, and screen readers were not tested locally.
The full unit suite was not run.
The issue has no confirmed assignment yet.
This PR is a concrete proposal for review.
Screenshots
These images show commit e20ffe2.
Workspace menu
Language menu
Theme menu
Repository and AI tool filters