Repository navigation
Commit 1390dbf
committed
Add delay_visibility support to progress modal and reduce visibility delay to 500ms
- some responses are really quick to parse and don't use 'Prompt view', with them we should not show progress modal. example responses: commit messages, code at cursor, intelligent search
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ └── apply-response-command
│ │ ├── apply-response-command.ts
│ │ ├── response-processor
│ │ │ ├── handlers
│ │ │ │ ├── diff-handler.ts
│ │ │ │ ├── fast-replace-handler.ts
│ │ │ │ ├── patch-repair-handler.ts
│ │ │ │ ├── restore-preview-handler.ts
│ │ │ │ ├── search-replace-handler.ts
│ │ │ │ └── truncated-handler.ts
│ │ │ ├── index.ts
│ │ │ └── response-processor.ts
│ │ └── utils
│ │ └── response-parser
│ │ ├── parsers
│ │ │ ├── code-at-cursor-parser
│ │ │ │ ├── code-at-cursor-parser.ts
│ │ │ │ └── test
│ │ │ │ └── code-at-cursor-parser.spec.ts
│ │ │ ├── commit-message-parser
│ │ │ │ ├── commit-message-parser.ts
│ │ │ │ └── test
│ │ │ │ └── commit-message-parser.spec.ts
│ │ │ ├── index.ts
│ │ │ └── intelligent-file-search-results-parser
│ │ │ └── intelligent-file-search-results-parser.ts
│ │ └── response-parser.ts
│ └── views
│ └── prompt
│ ├── frontend
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ └── use-modal-manager.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt-view
└── modals
└── ProgressModal
└── ProgressModal.tsx1 parent c4203ea commit 1390dbf
4 files changed
Lines changed: 6 additions & 3 deletions
File tree
- apps/editor/src
- commands/apply-response-command
- views/prompt
- frontend/hooks
- types
- packages/ui/src/components/editor/prompt-view/modals/ProgressModal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
| 966 | + | |
966 | 967 | | |
967 | 968 | | |
968 | 969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments