Skip to content

fix(web): add pointer cursor to add project button#1220

Merged
juliusmarminge merged 2 commits intopingdotgg:mainfrom
binbandit:t3code/fix-add-project-cursor
Mar 20, 2026
Merged

fix(web): add pointer cursor to add project button#1220
juliusmarminge merged 2 commits intopingdotgg:mainfrom
binbandit:t3code/fix-add-project-cursor

Conversation

@binbandit
Copy link
Copy Markdown
Contributor

@binbandit binbandit commented Mar 20, 2026

Summary

  • Adds cursor-pointer to the "Add project" (+) button in the sidebar so it correctly shows a pointer cursor on hover, indicating it's clickable.
  • The button was a raw <button> element bypassing the project's Button component (which includes cursor-pointer in its base CVA styles), and Tailwind CSS v4's preflight does not set cursor: pointer on native buttons.
  • Aligns with the established pattern across the codebase — sidebar menu buttons, menu actions, and sub-buttons all explicitly use cursor-pointer (see sidebar.tsx, sidebar.test.tsx).

Test plan

  • Existing sidebar.test.tsx cursor tests pass (4/4)
  • TypeScript compiles cleanly (tsc --noEmit)
  • Verify visually: hover over the + button next to "Projects" in the sidebar — cursor should now show as pointer

🤖 Generated with Claude Code

Note

Add pointer cursor to 'Add project' button in sidebar

Adds the cursor-pointer Tailwind class to the 'Add project' button in Sidebar.tsx so it shows a pointer cursor on hover, matching standard button behavior.

Macroscope summarized 08c0eb4.

The add project button in the sidebar was missing cursor-pointer,
causing it to show a default cursor on hover instead of indicating
it's clickable. This aligns it with the pattern used by the Button
component and other interactive sidebar elements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 20, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5203664b-fdb8-4a7f-8ecb-27b891825a52

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 20, 2026
@juliusmarminge juliusmarminge merged commit 8f11ea4 into pingdotgg:main Mar 20, 2026
9 checks passed
aaditagrawal pushed a commit to aaditagrawal/t3code that referenced this pull request Mar 20, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
apexsloth pushed a commit to apexslothforks/t3code that referenced this pull request Mar 26, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants