Repository navigation
Commit 2ddc9e8
committed
Add preparing progress indicator to apply response command
- once applying from clipboard, the progress modal in Prompt View appears with noticable delay, should immediately
- when there is an ongoing response in preview, 'show progress' modal for other coming-in responses should not be shown (showing 'switch' modal, even with slight delay is alright)
- the first 'show progress' modal should show 'Preparing...' subtitle
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ └── apply-response-command
│ │ ├── apply-response-command.ts
│ │ ├── response-processor
│ │ │ └── response-processor.ts
│ │ └── utils
│ │ └── response-parser
│ │ └── response-parser.ts
│ ├── context
│ │ ├── helpers
│ │ │ └── get-all-workspace-files.ts
│ │ └── providers
│ │ └── workspace
│ │ └── workspace-provider.ts
│ ├── features
│ │ └── checkpoints
│ │ └── actions
│ │ └── create-checkpoint.ts
│ ├── i18n
│ │ └── translations
│ │ └── common.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Prompt.tsx
│ │ ├── components
│ │ │ └── Layout
│ │ │ └── Footer
│ │ │ └── Footer.tsx
│ │ └── hooks
│ │ └── use-modal-manager.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt-view
└── modals
├── Modal
│ └── Modal.tsx
└── ProgressModal
├── ProgressModal.module.scss
└── ProgressModal.tsx1 parent 49c4275 commit 2ddc9e8
2 files changed
Lines changed: 48 additions & 1 deletion
File tree
- apps/editor/src
- commands/apply-response-command
- i18n/translations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
| |||
149 | 157 | | |
150 | 158 | | |
151 | 159 | | |
| 160 | + | |
152 | 161 | | |
153 | 162 | | |
154 | 163 | | |
| |||
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
| 177 | + | |
168 | 178 | | |
169 | 179 | | |
170 | 180 | | |
| |||
182 | 192 | | |
183 | 193 | | |
184 | 194 | | |
| 195 | + | |
185 | 196 | | |
186 | 197 | | |
187 | 198 | | |
| |||
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
216 | 230 | | |
217 | 231 | | |
218 | 232 | | |
| |||
248 | 262 | | |
249 | 263 | | |
250 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
251 | 268 | | |
252 | 269 | | |
253 | 270 | | |
254 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
255 | 275 | | |
256 | 276 | | |
257 | 277 | | |
258 | 278 | | |
259 | 279 | | |
260 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
261 | 286 | | |
262 | 287 | | |
263 | 288 | | |
| |||
272 | 297 | | |
273 | 298 | | |
274 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
275 | 303 | | |
276 | 304 | | |
277 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
542 | 560 | | |
543 | 561 | | |
544 | 562 | | |
| |||
1667 | 1685 | | |
1668 | 1686 | | |
1669 | 1687 | | |
1670 | | - | |
| 1688 | + | |
| 1689 | + | |
1671 | 1690 | | |
1672 | 1691 | | |
1673 | 1692 | | |
| |||
0 commit comments