feat(desktop): restore per-project color in v2 sidebar
Closed
AV
5mo ago+102+102+012345678901234567890123456789-3-3-0123456789
Summary
- Adds a Set Color submenu to the v2 project context menu in the dashboard sidebar, restoring the v1 affordance
- Color is stored locally in the
v2-project-local-metaZustand store (per-machine, persisted), not on the syncedv2_projectstable - Reuses the existing
ColorSelectorcomponent and color palette from v1
Test plan
- Right-click a project in the v2 sidebar → Set Color → pick a color, verify the thumbnail border/tint updates
- Reload the app, verify color persists
- Verify color is per-machine (does not appear on another device for the same account)
- Verify the rest of the context menu actions (rename, settings, new group, remove) still work
Summary by cubic
Restores per-project color in the v2 dashboard sidebar via a Set Color submenu (using ColorSelector) and applies the color to project thumbnails in both collapsed and expanded views. Colors are stored per machine in v2-project-local-meta (persist v1) so the optional color field doesn’t wipe existing prefs; projects without a custom color use the default styling.
Summary by CodeRabbit
- New Features
- Projects in the dashboard sidebar can now be assigned custom colors.
- Access the color selector from each project's context menu to choose or change colors.
- Custom project colors persist locally and are shown in both collapsed and expanded sidebar views.
- Projects without a custom color continue to use the default styling.