Keep message actions visible without hover#4045
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 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 |
ApprovabilityVerdict: Approved Simple CSS opacity adjustment (0 → 60) to keep message actions visible without hover. Pure styling change with no functional impact, accompanied by a test. You can customize Macroscope's approvability policy. Learn more. |
|
before/after screenshots pls |
issue showing before: #4046 |
after:
|

What Changed
Why
Copy and related message actions were completely hidden until hover, making them difficult to discover and effectively unavailable on non-hover input devices. A subtle idle state keeps the controls discoverable without competing with message content.
UI Changes
Message actions now remain subtly visible at rest and become fully opaque on hover or focus. No screenshot included because this is an opacity-only state change.
Validation
vp checkvp run typecheckvp test apps/web/src/components/chat/MessagesTimeline.test.tsxChecklist
Note
Keep message actions visible at reduced opacity without hover
Changes the default opacity of action/meta rows in
UserTimelineRowandAssistantTimelineRowfromopacity-0toopacity-60, so controls are always partially visible rather than hidden until hover or focus. Hover and focus-within still bring the rows to full opacity.Macroscope summarized 5a6e97b.