Skip to content

fix(web): restore pointer cursors for sidebar actions#894

Open
binbandit wants to merge 1 commit intopingdotgg:mainfrom
binbandit:t3code/fix-thread-project-button-cursors
Open

fix(web): restore pointer cursors for sidebar actions#894
binbandit wants to merge 1 commit intopingdotgg:mainfrom
binbandit:t3code/fix-thread-project-button-cursors

Conversation

@binbandit
Copy link
Contributor

@binbandit binbandit commented Mar 11, 2026

Summary

  • restore pointer cursors for sidebar menu buttons, submenu buttons, and project header actions
  • remove the thread row cursor override that forced a default cursor on clickable rows
  • add a regression test covering default pointer cursors and the project drag-handle override

Why

Thread rows and project actions such as Show more were clickable but did not consistently present a pointer cursor on hover. The current code on main still had a cursor-default override on thread rows and no shared pointer cursor in the sidebar interactive primitives.

Validation

  • bun fmt
  • bun lint
  • bun typecheck
  • bun run test src/components/ui/sidebar.test.tsx

Note

Restore pointer cursors for sidebar action components

Adds cursor-pointer to the base styles of SidebarMenuButton, SidebarMenuAction, and SidebarMenuSubButton in sidebar.tsx, and removes the cursor-default override from thread items in Sidebar.tsx. New tests in sidebar.test.tsx verify pointer cursor defaults and that SidebarMenuButton accepts cursor overrides via className.

Macroscope summarized 6adcd95.

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 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: c94cedc1-5168-4c3e-b553-7b0d186e32fc

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
  • Post copyable unit tests in a comment

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 the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

1 participant