Repository navigation
Commit 8cc232b
committed
Enhance progress modal with status subtitles during intelligent search, preserve checked state on FRF mode toggle, and refactor localization file structure
- in case of 'find relevant files', should not use 'api calls manager' but call llm directly from `apps/editor/src/views/prompt/backend/message-handlers/handle-make-api-call.ts`. Use ProgressModal to report progress.
- 'progress modal' should have optional subtitle, use it to display 'Waiting for server...', 'Thinking...', 'Receiving...'
- translate 'waiting', 'receiving' 'thinking' in 'common'. other in `apps/editor/src/i18n/translations/views/prompt/handlers/make-api-call.ts`
- add missing view in `apps/editor/src/i18n/index.ts`
- add missing barrel files
- frf selection should not be cleared each time we deactivate this mode
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ └── apply-response-command
│ │ ├── apply-response-command.ts
│ │ ├── response-processor.ts
│ │ └── utils
│ │ └── preview-handler.ts
│ ├── context
│ │ ├── context-initialization.ts
│ │ ├── helpers
│ │ │ ├── get-all-workspace-files.ts
│ │ │ └── get-selected-files.ts
│ │ ├── providers
│ │ │ ├── open-editors
│ │ │ │ └── open-editors-provider.ts
│ │ │ ├── selected-files
│ │ │ │ └── selected-files-provider.ts
│ │ │ └── workspace
│ │ │ ├── modules
│ │ │ │ ├── index.ts
│ │ │ │ └── token-calculator.ts
│ │ │ └── workspace-provider.ts
│ │ ├── shared-context-state.ts
│ │ └── utils
│ │ └── shrink-file
│ │ ├── index.ts
│ │ ├── languages
│ │ │ ├── c-style.ts
│ │ │ ├── css.ts
│ │ │ ├── html.ts
│ │ │ ├── jsx.ts
│ │ │ ├── python.ts
│ │ │ ├── ruby.ts
│ │ │ └── sql.ts
│ │ ├── shrink-file.spec.ts
│ │ ├── shrink-file.ts
│ │ └── test-cases
│ │ ├── c-style
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── css
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── html
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── jsx
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── python
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── ruby
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ ├── scss
│ │ │ ├── input.txt
│ │ │ └── output.txt
│ │ └── sql
│ │ ├── input.txt
│ │ └── output.txt
│ ├── i18n
│ │ ├── index.ts
│ │ └── translations
│ │ ├── commands
│ │ │ ├── apply-response.ts
│ │ │ ├── code-at-cursor.ts
│ │ │ ├── copy-paths.ts
│ │ │ ├── generate-commit-message.ts
│ │ │ ├── history.ts
│ │ │ ├── index.ts
│ │ │ ├── new-file.ts
│ │ │ ├── new-folder.ts
│ │ │ ├── rate.ts
│ │ │ ├── rename.ts
│ │ │ ├── restore-file-selection.ts
│ │ │ ├── save-file-selection.ts
│ │ │ ├── search-files.ts
│ │ │ ├── select-changed-files.ts
│ │ │ ├── select-clipboard-paths.ts
│ │ │ ├── select-commit-files.ts
│ │ │ ├── select-definition-file.ts
│ │ │ ├── select-imported-files.ts
│ │ │ ├── select-referencing-files.ts
│ │ │ ├── select-unstaged-files.ts
│ │ │ ├── select-workspace-file.ts
│ │ │ └── set-ranges.ts
│ │ ├── utils
│ │ │ └── index.ts
│ │ └── views
│ │ ├── common
│ │ │ ├── handlers
│ │ │ │ ├── common.ts
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ ├── prompt
│ │ │ ├── handlers
│ │ │ │ ├── hash-sign.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── make-api-call.ts
│ │ │ │ ├── select-edit-format.ts
│ │ │ │ └── voice-input.ts
│ │ │ └── index.ts
│ │ ├── settings
│ │ │ ├── handlers
│ │ │ │ ├── index.ts
│ │ │ │ ├── open-allow-patterns-settings.ts
│ │ │ │ ├── open-ignore-patterns-settings.ts
│ │ │ │ └── select-default-api-configuration.ts
│ │ │ └── index.ts
│ │ └── shared
│ │ ├── actions
│ │ │ ├── api
│ │ │ │ ├── create
│ │ │ │ │ ├── create.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interactions
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── initial-select-model.ts
│ │ │ │ │ ├── initial-select-provider.ts
│ │ │ │ │ └── verify-model.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── pick-reasoning-effort.ts
│ │ │ │ ├── update
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interactions
│ │ │ │ │ ├── edit-model-for-api-config.ts
│ │ │ │ │ ├── edit-reasoning-effort-for-api-config.ts
│ │ │ │ │ └── index.ts
│ │ │ │ └── upsert-provider.ts
│ │ │ ├── index.ts
│ │ │ └── web
│ │ │ ├── create.ts
│ │ │ ├── delete.ts
│ │ │ ├── index.ts
│ │ │ ├── pick-chatbot.ts
│ │ │ ├── pick-model.ts
│ │ │ └── update.ts
│ │ └── index.ts
│ ├── services
│ │ └── prompt-view-api-calls-manager.ts
│ ├── utils
│ │ └── send-llm-message.ts
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ └── handle-make-api-call.ts
│ │ └── prompt-view-provider.ts
│ ├── frontend
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ ├── use-modal-manager.ts
│ │ └── use-prompt
│ │ └── use-prompt.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt
└── modals
└── ProgressModal
├── ProgressModal.module.scss
├── ProgressModal.stories.tsx
└── ProgressModal.tsx1 parent d6b0321 commit 8cc232b
29 files changed
Lines changed: 359 additions & 73 deletions
File tree
- apps/editor/src
- context
- providers
- open-editors
- workspace
- i18n
- translations
- utils
- views
- common
- handlers
- prompt
- handlers
- settings
- handlers
- views/prompt
- backend/message-handlers
- frontend
- hooks
- types
- packages/ui/src/components/editor/prompt/modals/ProgressModal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | 159 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 160 | + | |
166 | 161 | | |
167 | 162 | | |
168 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 95 | | |
103 | 96 | | |
104 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 4 | | |
25 | | - | |
| 5 | + | |
| 6 | + | |
26 | 7 | | |
27 | 8 | | |
28 | 9 | | |
29 | 10 | | |
30 | 11 | | |
31 | 12 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 13 | | |
53 | | - | |
| 14 | + | |
| 15 | + | |
54 | 16 | | |
55 | 17 | | |
56 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 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 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
38 | 92 | | |
39 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments