fix(web): make new thread button always visible on mobile#2419
fix(web): make new thread button always visible on mobile#2419juliusmarminge merged 3 commits intopingdotgg:mainfrom
Conversation
Make the new thread button visible on mobile viewports (max-sm) by adding max-sm:pointer-events-auto and max-sm:opacity-100 classes. On desktop, the button remains hidden by default and appears on hover/focus. This allows users on mobile devices to start new chats in a project without needing hover capability. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
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 Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 13420e5. Configure here.
ApprovabilityVerdict: Approved This PR adds Tailwind CSS responsive classes to make the new thread button always visible on mobile screens. The changes are purely presentational with no logic modifications. You can customize Macroscope's approvability policy. Learn more. |
- Make the new chat action visible in the mobile sidebar - Keep the sidebar affordance aligned with the chat UX
- Drop stale .t33 cache and state files

Summary
max-sm:pointer-events-auto max-sm:opacity-100to the reveal wrapper so the button is always visible/interactive on mobile viewports while keeping the hover/focus reveal on desktop.Test plan
🤖 Generated with Claude Code
Note
Low Risk
Small, CSS-only tweaks to sidebar project header layout/visibility; low risk aside from potential minor spacing/overlap regressions on small viewports.
Overview
Makes the sidebar project header’s new-thread action reachable on touch devices by forcing its wrapper to be visible and clickable on
max-smviewports (while keeping hover/focus reveal behavior on larger screens).Adjusts project header spacing to accommodate the always-visible mobile affordance (extra right padding) and shifts the remote-environment cloud badge on small screens to avoid overlapping the new-thread button.
Reviewed by Cursor Bugbot for commit 7c5bace. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Make new thread button always visible on mobile in sidebar
Adds
pr-8andmax-sm:pr-14right padding to theSidebarProjectItemcontainer in Sidebar.tsx, ensuring the new thread button is not obscured on small screens.Macroscope summarized 2134556.