Commit 2750467
committed
feat(ux): Enhance batch review with per-field controls
- This commit significantly enhances the AI batch improvement feature by introducing field-level granularity to the review process.
- Previously, users could only accept or reject an entire item's worth of AI suggestions. This change refactors the BatchImprovementDialog to allow users to independently review, accept, or reject AI suggestions for each individual field within an item.
- This also resolves a complex layout bug where the Accordion content, containing the react-diff-viewer-continued component, would overflow its container. The root cause was a conflict between the diff viewer's intrinsic width with long tokens and the flexbox
layout. The fix was to restructure the layout to prevent this conflict.
- Finally, the implementation details for this new feature and a deep-dive analysis of the layout bug have been added to the
- ai-improvement-ux.md documentation to preserve the learnings for future development.1 parent eb99ae4 commit 2750467
File tree
5 files changed
+333
-192
lines changed- docs/ui
- src
- components/resume/ui
- lib
- stores/actions
5 files changed
+333
-192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
93 | 141 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments