Repository navigation
Make action menu buttons visible on mobile devices - #288
Conversation
The rollback dropdown buttons in activity feeds were using hover-only visibility (opacity-0 group-hover:opacity-100), which doesn't work on touch devices. Changed to sm:opacity-0 sm:group-hover:opacity-100 so buttons are always visible on mobile but use hover behavior on desktop, matching the pattern used in MessageActionButtons. https://claude.ai/code/session_01WBKMvcVq71tbPdhBsuucbq
The rollback dropdown button in VersionHistoryItem was using hover-only visibility which doesn't work on touch devices. Applied the same fix as the activity feed components. https://claude.ai/code/session_01WBKMvcVq71tbPdhBsuucbq
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
📝 WalkthroughWalkthroughThis PR applies consistent responsive opacity classes to action buttons across four activity and layout components. The changes add Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Summary
Updated action menu buttons across activity and version history components to be visible on mobile devices while maintaining the hover-to-reveal behavior on larger screens.
Changes
opacity-0 group-hover:opacity-100tosm:opacity-0 sm:group-hover:opacity-100smbreakpoint) and only hidden on desktop until hoverComponents Updated
ActivityGroupItem.tsx- Activity group action menuActivityItem.tsx- Individual activity action menuSidebarActivityTab.tsx- Sidebar activity tab action menus (3 instances)VersionHistoryItem.tsx- Version history action menuImplementation Details
The responsive breakpoint approach allows the UI to adapt to different screen sizes:
This improves mobile usability without compromising the desktop experience.
https://claude.ai/code/session_01WBKMvcVq71tbPdhBsuucbq
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.