Repository navigation
Commit 921115c
committed
Add back button support to patch repair configuration flows and update response preview to use StatusBar
- in apply response, when some file failed, the quick pick for patch repair auto-closes briefly after showing up
- should use status bar instead of [Pasted text]
- add close button to 'patch repair' quick pick
├── apps
│ └── editor
│ └── src
│ ├── constants
│ │ └── state-keys.ts
│ ├── features
│ │ └── apply-response
│ │ ├── apply-response.ts
│ │ ├── response-processor
│ │ │ └── response-processor.ts
│ │ ├── types
│ │ │ └── original-file-state.ts
│ │ └── utils
│ │ ├── preview
│ │ │ ├── file-preparer.ts
│ │ │ └── preview.ts
│ │ └── state-manager.ts
│ ├── i18n
│ │ └── translations
│ │ └── common.ts
│ ├── utils
│ │ ├── agentic-cli-invocation
│ │ │ └── invoke-agentic-cli.ts
│ │ ├── get-api-configuration.ts
│ │ └── show-configurations-quick-pick.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-apply-from.ts
│ │ │ ├── handle-patch-repair.ts
│ │ │ ├── index.ts
│ │ │ └── utils
│ │ │ └── patch-repair-utils.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Main
│ │ │ └── MainView
│ │ │ ├── MainView.tsx
│ │ │ └── components
│ │ │ ├── BrowserConnectionStatus
│ │ │ │ └── BrowserConnectionStatus.tsx
│ │ │ ├── Header
│ │ │ │ └── Header.tsx
│ │ │ └── PromptAttachments
│ │ │ └── PromptAttachments.tsx
│ │ └── Prompt.tsx
│ └── types
│ └── messages.ts
└── packages
├── shared
│ └── src
│ └── types
│ └── file-in-preview.ts
└── ui
└── src
└── components
└── editor
└── prompt-view
├── ResponsePreview
│ ├── ResponsePreview.module.scss
│ ├── ResponsePreview.stories.tsx
│ ├── ResponsePreview.tsx
│ ├── components
│ │ ├── FileItem
│ │ │ ├── FileItem.module.scss
│ │ │ ├── FileItem.tsx
│ │ │ └── index.ts
│ │ ├── InlineFileItem
│ │ │ ├── InlineFileItem.module.scss
│ │ │ ├── InlineFileItem.tsx
│ │ │ └── index.ts
│ │ ├── TextItem
│ │ │ ├── TextItem.module.scss
│ │ │ ├── TextItem.tsx
│ │ │ └── index.ts
│ │ └── index.ts
│ └── index.ts
└── StatusBar
└── StatusBar.tsx1 parent 1749c6c commit 921115c
4 files changed
Lines changed: 80 additions & 124 deletions
File tree
- apps/editor/src/views/prompt/backend/message-handlers
- utils
- packages/ui/src/components/editor/prompt-view/ResponsePreview
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| |||
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
213 | 217 | | |
214 | 218 | | |
215 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
216 | 224 | | |
217 | 225 | | |
218 | 226 | | |
| |||
278 | 286 | | |
279 | 287 | | |
280 | 288 | | |
281 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
282 | 294 | | |
283 | 295 | | |
284 | 296 | | |
| |||
351 | 363 | | |
352 | 364 | | |
353 | 365 | | |
354 | | - | |
| 366 | + | |
355 | 367 | | |
356 | 368 | | |
357 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
358 | 378 | | |
359 | 379 | | |
360 | 380 | | |
| |||
407 | 427 | | |
408 | 428 | | |
409 | 429 | | |
410 | | - | |
| 430 | + | |
| 431 | + | |
411 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
412 | 442 | | |
413 | 443 | | |
414 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | | - | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 12 | | |
80 | 13 | | |
81 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
292 | | - | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
295 | 297 | | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
333 | 329 | | |
334 | 330 | | |
335 | 331 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
349 | 338 | | |
350 | 339 | | |
351 | 340 | | |
| |||
0 commit comments