Repository navigation
Commit d6b0321
committed
Remove relevant files support from response processing and preview components
- because we no longer use panel UI for 'relvant files' responses, code should be ajusted appropriately
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ └── apply-response-command
│ │ ├── apply-response-command.ts
│ │ ├── handlers
│ │ │ ├── diff-handler.ts
│ │ │ ├── fast-replace-handler.ts
│ │ │ ├── restore-preview-handler.ts
│ │ │ ├── search-replace-handler.ts
│ │ │ └── truncated-handler.ts
│ │ ├── response-processor.ts
│ │ ├── types
│ │ │ └── original-file-state.ts
│ │ └── utils
│ │ ├── file-checks.ts
│ │ ├── file-operations.ts
│ │ ├── preview
│ │ │ ├── diff-utils.ts
│ │ │ ├── file-preparer.ts
│ │ │ ├── index.ts
│ │ │ ├── preview.ts
│ │ │ ├── temp-file-manager.ts
│ │ │ ├── types.ts
│ │ │ ├── virtual-document-provider.ts
│ │ │ ├── vscode-ui.ts
│ │ │ └── workspace-listener.ts
│ │ ├── preview-handler.ts
│ │ └── state-manager.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ └── handle-apply-response-from-history.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ └── use-preview-manager.ts
│ └── types
│ └── messages.ts
└── packages
├── shared
│ └── src
│ └── types
│ ├── file-in-preview.ts
│ └── response-history-item.ts
└── ui
└── src
└── components
└── editor
└── prompt
└── 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.ts1 parent 4a0bc46 commit d6b0321
14 files changed
Lines changed: 24 additions & 276 deletions
File tree
- apps/editor/src
- commands/apply-response-command
- utils/preview
- views/prompt
- backend
- message-handlers
- frontend
- types
- packages
- ui/src/components/editor/prompt/ResponsePreview
- components
- RelevantFileItem
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
116 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
125 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 146 | + | |
163 | 147 | | |
164 | 148 | | |
165 | | - | |
166 | 149 | | |
167 | 150 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 151 | + | |
171 | 152 | | |
172 | 153 | | |
173 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | | - | |
| 7 | + | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| |||
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
853 | | - | |
854 | | - | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | 853 | | |
875 | 854 | | |
876 | 855 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | 263 | | |
265 | 264 | | |
266 | 265 | | |
| |||
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
656 | | - | |
657 | | - | |
658 | | - | |
| 655 | + | |
659 | 656 | | |
660 | 657 | | |
661 | 658 | | |
| |||
667 | 664 | | |
668 | 665 | | |
669 | 666 | | |
670 | | - | |
671 | | - | |
672 | | - | |
| 667 | + | |
673 | 668 | | |
674 | 669 | | |
675 | 670 | | |
| |||
700 | 695 | | |
701 | 696 | | |
702 | 697 | | |
703 | | - | |
| 698 | + | |
704 | 699 | | |
705 | 700 | | |
706 | 701 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
| |||
294 | 290 | | |
295 | 291 | | |
296 | 292 | | |
297 | | - | |
| 293 | + | |
298 | 294 | | |
299 | 295 | | |
300 | 296 | | |
| |||
378 | 374 | | |
379 | 375 | | |
380 | 376 | | |
381 | | - | |
382 | 377 | | |
383 | 378 | | |
384 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 32 | | |
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
45 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
7 | 3 | | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 7 | + | |
17 | 8 | | |
18 | 9 | | |
19 | 10 | | |
| |||
101 | 92 | | |
102 | 93 | | |
103 | 94 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 95 | + | |
108 | 96 | | |
109 | 97 | | |
110 | 98 | | |
| |||
398 | 386 | | |
399 | 387 | | |
400 | 388 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 389 | | |
427 | 390 | | |
428 | 391 | | |
| |||
0 commit comments