Commit 2ba560a
fix(plugin-approvals): give decision actions a visual hierarchy (objectui#2762 P1-5) (#3437)
approval_approve declares variant:'primary' and approval_reject declares
variant:'danger' so a metadata-driven renderer highlights Approve and
styles Reject as destructive — the drawer action bar gains the hierarchy
the mobile card already had. Pure metadata; secondary levers stay tertiary.
Refs objectui#2762
Claude-Session: https://claude.ai/code/session_01Cu48mLFUdRBmMh8Z8R3CVz
Co-authored-by: Claude <noreply@anthropic.com>1 parent af5a224 commit 2ba560a
2 files changed
Lines changed: 20 additions & 0 deletions
File tree
- .changeset
- packages/plugins/plugin-approvals/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
| |||
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
271 | 278 | | |
| |||
0 commit comments