fix(web): show pointer on add project button - #5545
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved 55707a3 CSS-only change adding You can customize Macroscope's approvability policy. Learn more. |
55707a3 to
00b2152
Compare
Problem
The Sidebar V2 empty state’s “Add project” button keeps the default mouse cursor, so it does not visually communicate that it is clickable.
Fix
Add the
cursor-pointerutility to the button’s existing styles.Verification
vp fmt apps/web/src/components/SidebarV2.tsx --checkgit diff --check upstream/main...HEADStatic before/after images are omitted because the change only affects the mouse cursor on hover.
Built with GPT-5.6-sol using the Codex harness in T3 Code.
Note
Low Risk
Cosmetic cursor styling only; no logic, routing, or data changes.
Overview
When the sidebar has no projects, the empty-state Add project control now uses the pointer cursor on hover so it reads as clickable.
The change is a single Tailwind class (
cursor-pointer) on that button inSidebarV2.tsx; behavior is unchanged—it still opens the add-project command palette.Reviewed by Cursor Bugbot for commit 00b2152. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show pointer cursor on 'Add project' button in empty sidebar state
Adds the
cursor-pointerCSS class to the 'Add project' button in SidebarV2.tsx so it visually indicates clickability when no projects exist.Macroscope summarized 00b2152.