Commit 21e22e6
committed
feat(codereview): add plan item selection and file link actions #463
Enable multi-select for modification plan items and allow clicking file links to open files. Enforce one plan item per line in the template and adjust UI to reflect selection state and priority rules.1 parent 55bc5b4 commit 21e22e6
File tree
4 files changed
+226
-29
lines changed- mpp-core/src/commonMain/kotlin/cc/unitmesh/agent
- mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/agent/codereview
4 files changed
+226
-29
lines changedLines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
| 702 | + | |
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
| |||
714 | 716 | | |
715 | 717 | | |
716 | 718 | | |
717 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
718 | 723 | | |
719 | 724 | | |
720 | 725 | | |
| |||
753 | 758 | | |
754 | 759 | | |
755 | 760 | | |
| 761 | + | |
756 | 762 | | |
757 | 763 | | |
758 | 764 | | |
759 | 765 | | |
760 | 766 | | |
| 767 | + | |
761 | 768 | | |
762 | 769 | | |
763 | 770 | | |
| |||
785 | 792 | | |
786 | 793 | | |
787 | 794 | | |
| 795 | + | |
| 796 | + | |
788 | 797 | | |
789 | 798 | | |
790 | 799 | | |
| |||
801 | 810 | | |
802 | 811 | | |
803 | 812 | | |
804 | | - | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
805 | 817 | | |
806 | 818 | | |
807 | 819 | | |
| |||
840 | 852 | | |
841 | 853 | | |
842 | 854 | | |
| 855 | + | |
843 | 856 | | |
844 | 857 | | |
845 | 858 | | |
846 | 859 | | |
847 | 860 | | |
| 861 | + | |
848 | 862 | | |
849 | 863 | | |
850 | 864 | | |
| |||
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
264 | 276 | | |
265 | 277 | | |
266 | 278 | | |
| |||
mpp-ui/src/commonMain/kotlin/cc/unitmesh/devins/ui/compose/agent/codereview/CodeReviewViewModel.kt
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
1188 | 1228 | | |
1189 | 1229 | | |
1190 | 1230 | | |
| |||
0 commit comments