fix(platform): align approval card styling with chat design#719
Conversation
Remove colored status backgrounds, shadows, and bold success/destructive buttons from approval cards to match the clean, minimal chat bubble design. Use primary/secondary button variants and neutral borders instead.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughFour approval card components in the chat features folder are refactored with consistent UI styling updates. Card container styling is simplified by replacing combined border/background/shadow schemes with streamlined rounded-xl and border layouts. Icon containers lose their colored background wrappers and are rendered inline with shrink-0 classes. Status badges are now conditionally rendered only for non-pending states, and approval/rejection buttons change variants from success/destructive to primary/secondary. Loading indicators are simplified to show only spinners during processing. Some components add conditional sections for execution outcomes and status messaging. No public API signatures change. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes ✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment |
Summary
border-borderstyling on all 4 approval card typesvariant="success"tovariant="primary"(dark) and reject/cancel buttons fromvariant="destructive"tovariant="secondary"(outlined)bg-primary/10 rounded-md p-1.5) for a cleaner inline icon lookrounded-lgtorounded-xland removedshadow-smFiles changed
workflow-run-approval-card.tsxworkflow-creation-approval-card.tsxintegration-approval-card.tsxhuman-input-request-card.tsxTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit