feat: redesign intake action buttons and use design tokens#8799
feat: redesign intake action buttons and use design tokens#8799sriramveeraghanta wants to merge 1 commit intopreviewfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR refactors inbox header components to standardize button styling with Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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.
Pull request overview
This PR updates the intake/inbox issue header UI to align with Propel components and design tokens, adding two new filled circle icons to the Propel icon set and replacing hardcoded status colors with semantic tokens across desktop and mobile.
Changes:
- Added
CheckCircleFilledIconandCloseCircleFilledIconto@plane/propel/icons. - Refactored desktop/mobile header actions to use Propel
IconButton/Button(secondary, size lg) and updated the “more” menu trigger styling. - Replaced hardcoded hex colors in inbox status styling with semantic design tokens.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/propel/src/icons/misc/index.ts | Exports the newly added filled-circle icons from the misc barrel. |
| packages/propel/src/icons/misc/close-circle-filled-icon.tsx | Adds a new filled “close in circle” SVG icon component. |
| packages/propel/src/icons/misc/check-circle-filled-icon.tsx | Adds a new filled “check in circle” SVG icon component. |
| apps/web/core/components/inbox/inbox-status-icon.tsx | Swaps status icon color classes from hex to semantic token classes. |
| apps/web/core/components/inbox/content/inbox-issue-mobile-header.tsx | Updates mobile header action controls to use Propel IconButton and new filled icons; updates menu trigger. |
| apps/web/core/components/inbox/content/inbox-issue-header.tsx | Updates desktop header action controls to use Propel IconButton / Button and new filled icons; updates menu trigger. |
| <CustomMenu | ||
| customButton={<MoreHorizontal className="size-4" />} | ||
| customButtonClassName={getIconButtonStyling("secondary", "lg")} | ||
| placement="bottom-start" |
There was a problem hiding this comment.
CustomMenu is using an icon-only customButton but no ariaLabel is provided. CustomMenu applies ariaLabel to the trigger button, so without it the menu trigger has no accessible name. Please add an ariaLabel such as "More actions".
| placement="bottom-start" | |
| placement="bottom-start" | |
| ariaLabel="More actions" |
| <CustomMenu | ||
| customButton={<MoreHorizontal className="size-4" />} | ||
| customButtonClassName={getIconButtonStyling("secondary", "lg")} | ||
| placement="bottom-start" |
There was a problem hiding this comment.
CustomMenu is being rendered with an icon-only customButton but without an ariaLabel. Since CustomMenu forwards ariaLabel to the underlying <button aria-label=...>, this control currently has no accessible name for screen readers. Please provide an appropriate ariaLabel (e.g., "More actions").
| placement="bottom-start" | |
| placement="bottom-start" | |
| ariaLabel="More actions" |
Summary
CheckCircleFilledIconandCloseCircleFilledIconto propel icon libraryIconButtonandButtonfrom propel withsecondaryvarianttext-warning-primary,bg-warning-subtle,text-danger-primary,bg-danger-subtle,bg-layer-3,text-success-primary,bg-success-subtle)Screenshots
Test plan
IconButtonstylingMoreHorizontalicon withgetIconButtonStylingSummary by CodeRabbit
New Features
Style Updates