Move the sidebar star from a hover button to the row menu #119
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/sidebar-star-menu"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every folder and project row in the sidebar reserved a fixed-width star button that stayed
opacity-0until the row was hovered. It cost horizontal space in every row whether or not the item was starred, and it was undiscoverable without a mouse landing on the row first.Change
StarIconbeside the name, rendered only when starred.groupclass comes off both row containers, since nothing keys offgroup-hover:any more.Same shape in
FolderNodeandProjectNode. Net -19 lines. No new translation keys:sidebar.folder.star/unstarandsidebar.project.star/unstaralready existed for the old button.Worth a reviewer's opinion
The removed button carried
aria-pressed,aria-label, andtitle. The replacement indicator isaria-hidden, so starred state is now visual-only. The action is still reachable through the labelled menu item, but the state is no longer announced to a screen reader. If that matters here, a visually-hidden label on starred rows would restore it. Flagging rather than deciding, since the icon-only presentation may be intentional.Verification
typecheck, oxlint, eslint (
--max-warnings=0), and format:check all clean. Full vitest suite passes: 70 files, 224 tests. There are noFolderNode/ProjectNodecomponent tests in the repository, so nothing covers these two files directly.kReview review
Verdict: no findings
No findings to address in the reviewed diff.
No meaningful correctness, accessibility, security, or regression issues are established by the visible changes.
Reviewed by kReview at
f0900a2f4b. This comment is conservative and based only on the PR diff, metadata, and supplied repository context.Est. cost ~$0.56 total (265.1k in / 2.1k out) · this run ~$0.28 (151.3k in / 903 out) / gpt-5.6-sol.