Repository navigation
Commit 63ea963
authored
Response preview not requiring IU (#457)
* Optimize tab group restoration by comparing current and saved states before closing editors_
* Disable elapsed time display in checkpoint creation progress indicator
* Implement a failed application state for files and display it in the response preview UI when patches cannot be automatically applied
* Add the ability to preview AI-generated code in a temporary file when changes fail to apply
* Implement real-time per-file application progress and status reporting within the response preview interface
* Introduce inline-file items to support parsing and rendering unmapped code blocks in response previews
* Improve file block parsing logic to use append mode only when git-style conflict markers are detected during file path reuse
* Update test case to handle merge conflicts with inline files by renaming and correcting file references
* Add intelligent update success state and improve file preview error/warning UI with fix actions
* Refactor response preview UI to improve error handling and action visibility with enhanced status indicators and interactive controls
* Implement functionality to batch fix all files that failed to apply in the response preview using intelligent updates1 parent 66e7053 commit 63ea963
49 files changed
Lines changed: 2049 additions & 705 deletions
File tree
- packages
- ui
- .storybook
- src/components/editor/panel/ResponsePreview
- components
- vscode/src
- commands
- apply-chat-response-command
- handlers
- types
- utils
- clipboard-parser
- parsers
- test-cases/standard
- conflict-with-inline-file
- path-in-backticks-with-intermediate-text
- text-between
- preview
- checkpoints-command/actions
- views/panel
- backend
- message-handlers
- frontend
- hooks
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | | - | |
18 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
19 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
20 | 57 | | |
21 | 58 | | |
22 | 59 | | |
| |||
54 | 91 | | |
55 | 92 | | |
56 | 93 | | |
57 | | - | |
| 94 | + | |
58 | 95 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 96 | + | |
76 | 97 | | |
77 | | - | |
78 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
79 | 105 | | |
80 | 106 | | |
81 | | - | |
| 107 | + | |
82 | 108 | | |
83 | 109 | | |
| 110 | + | |
84 | 111 | | |
85 | | - | |
| 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 | + | |
86 | 138 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
90 | 143 | | |
91 | | - | |
92 | 144 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
97 | 165 | | |
| 166 | + | |
98 | 167 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
102 | 173 | | |
103 | | - | |
104 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
105 | 187 | | |
106 | 188 | | |
107 | 189 | | |
108 | 190 | | |
| 191 | + | |
109 | 192 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
114 | 207 | | |
115 | 208 | | |
116 | | - | |
117 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
118 | 212 | | |
119 | 213 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
123 | 217 | | |
124 | | - | |
125 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
126 | 230 | | |
127 | | - | |
128 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
129 | 249 | | |
130 | 250 | | |
131 | 251 | | |
| |||
0 commit comments