Commit 422ec9c
authored
🤖 fix: improve review UI visual hierarchy and add action buttons (#1131)
## Summary
- Fix section header styling in ReviewsBanner (remove
font-medium/uppercase to reduce visual weight)
- Add complete/detach/trash buttons to attached reviews in ChatInput
- Trash button separated with margin as destructive action
## Changes
1. **ReviewsBanner**: Simplified Pending/Completed section headers from
`text-[10px] font-medium tracking-wide uppercase` to just `text-[10px]`
for proper visual hierarchy
2. **ReviewBlock**: Added `onComplete`, `onDetach`, `onDelete` props
with proper button grouping (safe actions together, trash separated)
3. **ChatInput types**: Added `onCheckReview` and `onDeleteReview`
callbacks
4. **AIView**: Wired up new callbacks to useReviews hook methods
_Generated with `mux`_1 parent 31a8455 commit 422ec9c
File tree
5 files changed
+67
-22
lines changed- src/browser/components
- ChatInput
5 files changed
+67
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| 752 | + | |
752 | 753 | | |
| 754 | + | |
753 | 755 | | |
754 | 756 | | |
755 | 757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1420 | 1420 | | |
1421 | 1421 | | |
1422 | 1422 | | |
1423 | | - | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1424 | 1427 | | |
1425 | 1428 | | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
1426 | 1432 | | |
1427 | 1433 | | |
1428 | 1434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 410 | + | |
413 | 411 | | |
414 | 412 | | |
415 | 413 | | |
| |||
439 | 437 | | |
440 | 438 | | |
441 | 439 | | |
442 | | - | |
443 | | - | |
444 | | - | |
| 440 | + | |
445 | 441 | | |
446 | 442 | | |
447 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
40 | 47 | | |
| |||
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | | - | |
87 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
88 | 116 | | |
89 | 117 | | |
90 | 118 | | |
91 | 119 | | |
92 | | - | |
| 120 | + | |
| 121 | + | |
93 | 122 | | |
94 | 123 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
98 | 127 | | |
99 | | - | |
| 128 | + | |
100 | 129 | | |
101 | 130 | | |
102 | 131 | | |
| |||
183 | 212 | | |
184 | 213 | | |
185 | 214 | | |
186 | | - | |
187 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
188 | 221 | | |
189 | 222 | | |
190 | 223 | | |
| |||
195 | 228 | | |
196 | 229 | | |
197 | 230 | | |
198 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
199 | 234 | | |
200 | 235 | | |
201 | 236 | | |
| |||
204 | 239 | | |
205 | 240 | | |
206 | 241 | | |
207 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
208 | 245 | | |
209 | 246 | | |
210 | 247 | | |
| |||
0 commit comments