Commit 5d214c4
Allow deleting and renaming history from chat session view (microsoft#264797)
* Initial plan
* Add DeleteChatSessionAction and menu registration for chat session history items
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
* Register DeleteChatSessionAction in chat.contribution.ts
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
* Fix delete icon and list refresh bug for chat session deletion
- Changed delete icon from Codicon.trash to Codicon.x as requested
- Fixed list view not updating after deletion by calling notifySessionItemsChanged('local')
- Added IChatSessionsService injection to DeleteChatSessionAction
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
* Group should be context
* Add rename functionality to chat history sessions
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
* Proper deletion
* Fix rename functionality for chat history sessions
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
* Rename fix
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>1 parent 2561e7c commit 5d214c4
4 files changed
Lines changed: 167 additions & 9 deletions
File tree
- src/vs/workbench/contrib/chat
- browser
- actions
- common
Lines changed: 103 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | | - | |
94 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| 146 | + | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
155 | 161 | | |
156 | 162 | | |
157 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
158 | 245 | | |
159 | 246 | | |
160 | 247 | | |
| |||
389 | 476 | | |
390 | 477 | | |
391 | 478 | | |
392 | | - | |
| 479 | + | |
393 | 480 | | |
394 | 481 | | |
395 | 482 | | |
396 | 483 | | |
397 | 484 | | |
398 | 485 | | |
399 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
400 | 499 | | |
401 | | - | |
402 | | - | |
| 500 | + | |
403 | 501 | | |
404 | 502 | | |
405 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
| 958 | + | |
958 | 959 | | |
959 | 960 | | |
960 | 961 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
| |||
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
161 | 199 | | |
162 | 200 | | |
163 | 201 | | |
| |||
884 | 922 | | |
885 | 923 | | |
886 | 924 | | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
887 | 928 | | |
888 | 929 | | |
889 | 930 | | |
| |||
1008 | 1049 | | |
1009 | 1050 | | |
1010 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1011 | 1055 | | |
1012 | 1056 | | |
1013 | 1057 | | |
| |||
1097 | 1141 | | |
1098 | 1142 | | |
1099 | 1143 | | |
1100 | | - | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
1101 | 1151 | | |
1102 | 1152 | | |
1103 | 1153 | | |
| |||
1319 | 1369 | | |
1320 | 1370 | | |
1321 | 1371 | | |
| 1372 | + | |
| 1373 | + | |
1322 | 1374 | | |
1323 | 1375 | | |
1324 | 1376 | | |
| |||
1683 | 1735 | | |
1684 | 1736 | | |
1685 | 1737 | | |
1686 | | - | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1687 | 1745 | | |
1688 | 1746 | | |
1689 | 1747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments