Repository navigation
Commit c88d81f
committed
Refactor i18n translations to use command-specific keys and remove dictionary dependency
- when there are no models, action buttons should be disabled as if there were no files in context
- move [Fragment] to `apps/editor/src/i18n/translations/commands/restore-file-selection.ts`
- move [Fragment] to `apps/editor/src/i18n/translations/commands/select-modified-files.ts`
- move [Fragment] to `apps/editor/src/i18n/translations/commands/select-files-of-commit.ts`
- in notification, change 'selected x files' to 'Context has been updated.'
- move[Fragment] to `apps/editor/src/i18n/translations/commands/save-file-selection.ts`
- move [Fragment] to common in i18n
- change 'plase confirm' to 'confirm action' (with translations)
- move [Fragment] to `apps/editor/src/i18n/translations/commands/code-at-cursor.ts`
- move [Fragment] to i18n
- translate [Fragment] in `apps/editor/src/i18n/translations/services/...`
- translate [Fragment] in `apps/editor/src/i18n/translations/common.ts`
- translate [Fragment]
- translate[Fragment]
- translate [Fragment]
- replace [Fragment] with rhe logger (remove translation)
- use logger instead of [Fragment]
- use logger instead of [Fragment] (remove translation)
- some translation files and keys don't use 'handle-' prefix but should
- some translation files and keys don't use '-command' suffix but should
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ ├── apply-response-command
│ │ │ ├── apply-response-command.ts
│ │ │ ├── handlers
│ │ │ │ ├── fast-replace-handler.ts
│ │ │ │ ├── restore-preview-handler.ts
│ │ │ │ ├── search-replace-handler.ts
│ │ │ │ └── truncated-handler.ts
│ │ │ ├── response-processor.ts
│ │ │ └── utils
│ │ │ ├── file-operations
│ │ │ │ ├── create-file-if-needed.ts
│ │ │ │ └── undo-files.ts
│ │ │ └── preview
│ │ │ └── preview.ts
│ │ ├── code-at-cursor-command
│ │ │ └── utils
│ │ │ └── perform-code-at-cursor.ts
│ │ ├── copy-markdown-command.ts
│ │ ├── copy-merge-commit-details-command.ts
│ │ ├── copy-paths-command.ts
│ │ ├── delete-command.ts
│ │ ├── generate-commit-message-commands
│ │ │ ├── actions
│ │ │ │ └── run-generate-action.ts
│ │ │ └── utils
│ │ │ └── generate-commit-message-with-api.ts
│ │ ├── history-command
│ │ │ ├── actions
│ │ │ │ ├── clear-all-checkpoints.ts
│ │ │ │ ├── delete-checkpoint-with-undo.ts
│ │ │ │ └── restore-checkpoint.ts
│ │ │ └── history-command.ts
│ │ ├── new-file-command.ts
│ │ ├── new-folder-command.ts
│ │ ├── rate-extension-command.ts
│ │ ├── reference-in-prompt-command.ts
│ │ ├── rename-command.ts
│ │ ├── restore-file-selection-command
│ │ │ ├── actions
│ │ │ │ ├── restore-from-json-file.ts
│ │ │ │ └── restore-from-workspace-state.ts
│ │ │ └── restore-file-selection-command.ts
│ │ ├── save-file-selection-command
│ │ │ ├── actions
│ │ │ │ ├── save-to-json-file.ts
│ │ │ │ └── save-to-workspace-state.ts
│ │ │ └── save-file-selection-command.ts
│ │ ├── select-clipboard-paths-command.ts
│ │ ├── select-definition-file-command.ts
│ │ ├── select-files-of-commit-command.ts
│ │ ├── select-imported-files-commands
│ │ │ ├── select-imported-files-commands.ts
│ │ │ └── utils
│ │ │ └── prompt-for-imported-files.ts
│ │ ├── select-modified-files-command.ts
│ │ ├── select-referencing-files-commands
│ │ │ ├── select-referencing-files-commands.ts
│ │ │ └── utils
│ │ │ └── prompt-for-referencing-files.ts
│ │ ├── select-workspace-file-command.ts
│ │ └── set-ranges-command.ts
│ ├── features
│ │ └── search-files
│ │ └── utils
│ │ └── prompt-for-config.ts
│ ├── i18n
│ │ ├── index.ts
│ │ └── translations
│ │ ├── commands
│ │ │ ├── apply-response-command.ts
│ │ │ ├── code-at-cursor-command.ts
│ │ │ ├── copy-markdown-command.ts
│ │ │ ├── copy-merge-commit-details-command.ts
│ │ │ ├── copy-paths-command.ts
│ │ │ ├── generate-commit-message-command.ts
│ │ │ ├── history-command.ts
│ │ │ ├── index.ts
│ │ │ ├── install-browser-extension-command.ts
│ │ │ ├── new-file-command.ts
│ │ │ ├── new-folder-command.ts
│ │ │ ├── rate-extension-command.ts
│ │ │ ├── reference-in-prompt-command.ts
│ │ │ ├── rename-command.ts
│ │ │ ├── restore-file-selection-command.ts
│ │ │ ├── save-file-selection-command.ts
│ │ │ ├── search-files-command.ts
│ │ │ ├── select-clipboard-paths-command.ts
│ │ │ ├── select-definition-file-command.ts
│ │ │ ├── select-files-of-commit-command.ts
│ │ │ ├── select-imported-files-command.ts
│ │ │ ├── select-modified-files-command.ts
│ │ │ ├── select-referencing-files-command.ts
│ │ │ ├── select-workspace-file-command.ts
│ │ │ └── set-ranges-command.ts
│ │ ├── common.ts
│ │ ├── context.ts
│ │ ├── features
│ │ │ ├── checkpoints.ts
│ │ │ ├── context-restoration.ts
│ │ │ ├── index.ts
│ │ │ └── search-files.ts
│ │ ├── misc.ts
│ │ ├── services
│ │ │ ├── index.ts
│ │ │ └── websocket-manager.ts
│ │ ├── utils
│ │ │ ├── git-repository-utils.ts
│ │ │ ├── index.ts
│ │ │ ├── show-missing-configuration-notification.ts
│ │ │ └── show-parent-folder-quick-pick.ts
│ │ └── views
│ │ ├── common
│ │ │ ├── handlers
│ │ │ │ ├── common.ts
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ ├── prompt
│ │ │ ├── handlers
│ │ │ │ ├── common.ts
│ │ │ │ ├── handle-agentic-search.ts
│ │ │ │ ├── handle-copy-prompt.ts
│ │ │ │ ├── handle-delete-task.ts
│ │ │ │ ├── handle-hash-sign-quick-pick.ts
│ │ │ │ ├── handle-make-api-call.ts
│ │ │ │ ├── handle-patch-repair.ts
│ │ │ │ ├── handle-pick-api-reasoning-effort.ts
│ │ │ │ ├── handle-select-edit-format-instructions.ts
│ │ │ │ ├── handle-template-quick-pick.ts
│ │ │ │ ├── handle-undo.ts
│ │ │ │ ├── handle-voice-input.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── utils
│ │ │ │ ├── index.ts
│ │ │ │ └── symbols
│ │ │ │ ├── git
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── replace-git-symbols.ts
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ └── utils
│ │ │ ├── index.ts
│ │ │ └── symbols
│ │ │ ├── git
│ │ │ │ ├── index.ts
│ │ │ │ └── replace-git-symbols.ts
│ │ │ └── index.ts
│ │ ├── settings
│ │ │ ├── handlers
│ │ │ │ ├── handle-create-template.ts
│ │ │ │ ├── handle-delete-provider.ts
│ │ │ │ ├── handle-delete-template.ts
│ │ │ │ ├── handle-open-allow-patterns-settings.ts
│ │ │ │ ├── handle-open-ignore-patterns-settings.ts
│ │ │ │ ├── handle-pick-api-reasoning-effort.ts
│ │ │ │ ├── handle-select-default-api-configuration.ts
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ └── shared
│ │ ├── actions
│ │ │ ├── api
│ │ │ │ ├── add-provider.ts
│ │ │ │ ├── common.ts
│ │ │ │ ├── create
│ │ │ │ │ ├── create.ts
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interactions
│ │ │ │ │ ├── index.ts
│ │ │ │ │ ├── initial-select-model.ts
│ │ │ │ │ ├── initial-select-provider.ts
│ │ │ │ │ └── verify-model.ts
│ │ │ │ ├── delete.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── pick-extended-provider.ts
│ │ │ │ ├── pick-reasoning-effort.ts
│ │ │ │ └── update
│ │ │ │ ├── index.ts
│ │ │ │ └── interactions
│ │ │ │ ├── edit-model-for-api-config.ts
│ │ │ │ ├── edit-reasoning-effort-for-api-config.ts
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ └── web
│ │ │ ├── create.ts
│ │ │ ├── delete.ts
│ │ │ ├── index.ts
│ │ │ ├── pick-chatbot.ts
│ │ │ ├── pick-model.ts
│ │ │ └── update.ts
│ │ └── index.ts
│ ├── services
│ │ └── websocket-manager.ts
│ ├── utils
│ │ ├── git-repository-utils.ts
│ │ └── show-configurations-quick-pick.ts
│ └── views
│ ├── prompt
│ │ └── backend
│ │ ├── message-handlers
│ │ │ ├── handle-agentic-search
│ │ │ │ ├── agentic-search.ts
│ │ │ │ ├── handle-agentic-search.ts
│ │ │ │ └── utils
│ │ │ │ └── prompt-for-search-term.ts
│ │ │ ├── handle-autofill.ts
│ │ │ ├── handle-delete-task.ts
│ │ │ ├── handle-hash-sign-quick-pick
│ │ │ │ ├── handle-hash-sign-quick-pick.ts
│ │ │ │ └── symbols
│ │ │ │ ├── changes-symbol.ts
│ │ │ │ ├── commit-symbol.ts
│ │ │ │ ├── saved-context-symbol.ts
│ │ │ │ └── skill-symbol.ts
│ │ │ ├── handle-install-browser-extension.ts
│ │ │ ├── handle-make-api-call.ts
│ │ │ ├── handle-patch-repair.ts
│ │ │ ├── handle-pick-api-reasoning-effort.ts
│ │ │ ├── handle-preview-web-configuration.ts
│ │ │ ├── handle-select-edit-format-instructions.ts
│ │ │ ├── handle-template-quick-pick.ts
│ │ │ ├── handle-undo.ts
│ │ │ ├── handle-update-web-configuration.ts
│ │ │ └── handle-voice-input.ts
│ │ └── utils
│ │ └── symbols
│ │ └── git
│ │ └── replace-git-symbols.ts
│ ├── settings
│ │ └── backend
│ │ └── message-handlers
│ │ ├── add-provider
│ │ │ ├── handle-add-provider.ts
│ │ │ ├── pick-extended-provider.ts
│ │ │ └── pick-provider-source.ts
│ │ ├── handle-create-template.ts
│ │ ├── handle-delete-provider.ts
│ │ ├── handle-delete-template.ts
│ │ ├── handle-open-allow-patterns-settings.ts
│ │ ├── handle-open-ignore-patterns-settings.ts
│ │ ├── handle-pick-api-reasoning-effort.ts
│ │ ├── handle-select-default-api-configuration.ts
│ │ ├── handle-update-provider.ts
│ │ └── handle-update-web-configuration.ts
│ └── shared
│ └── actions
│ ├── api
│ │ ├── create
│ │ │ ├── create.ts
│ │ │ └── interactions
│ │ │ ├── initial-select-model.ts
│ │ │ ├── initial-select-provider.ts
│ │ │ └── verify-model.ts
│ │ ├── delete.ts
│ │ ├── pick-reasoning-effort.ts
│ │ └── update
│ │ ├── interactions
│ │ │ ├── edit-model-for-api-config.ts
│ │ │ ├── edit-provider-for-api-config.ts
│ │ │ └── edit-reasoning-effort-for-api-config.ts
│ │ └── update.ts
│ └── web
│ ├── create.ts
│ ├── delete.ts
│ ├── pick-chatbot.ts
│ ├── pick-model.ts
│ └── update.ts
└── packages
├── shared
│ └── src
│ ├── constants
│ │ └── dictionary.ts
│ └── utils
│ └── logger.ts
└── ui
└── src
└── components
└── editor
└── common
└── prompts
├── PromptField
│ ├── PromptField.stories.tsx
│ ├── hooks
│ │ ├── use-drag-drop.ts
│ │ ├── use-ghost-text.ts
│ │ └── use-handlers
│ │ ├── handle-copy.ts
│ │ ├── handle-cut.ts
│ │ ├── handle-input-change.ts
│ │ ├── index.ts
│ │ └── utils.ts
│ └── index.ts
├── Template
│ ├── Template.module.scss
│ ├── Template.tsx
│ └── index.ts
└── shared
└── symbols
├── caret.ts
├── get-highlighted-text.tsx
├── index.ts
├── position-mapping.ts
└── reconstruct-raw-value.ts1 parent 0bc9308 commit c88d81f
115 files changed
Lines changed: 1719 additions & 1394 deletions
File tree
- apps
- browser
- editor/src
- commands
- apply-response-command
- handlers
- utils
- file-operations
- preview
- code-at-cursor-command/utils
- generate-commit-message-commands
- actions
- utils
- history-command
- actions
- restore-file-selection-command
- actions
- save-file-selection-command
- actions
- select-imported-files-commands
- utils
- select-referencing-files-commands
- utils
- features/search-files/utils
- i18n
- translations
- commands
- services
- views
- common/handlers
- prompt/handlers
- settings/handlers
- services
- utils
- views
- prompt/backend/message-handlers
- handle-hash-sign-quick-pick
- symbols
- settings/backend/message-handlers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| |||
555 | 557 | | |
556 | 558 | | |
557 | 559 | | |
558 | | - | |
| 560 | + | |
559 | 561 | | |
560 | 562 | | |
561 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| |||
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
274 | | - | |
| 277 | + | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
| |||
285 | 288 | | |
286 | 289 | | |
287 | 290 | | |
288 | | - | |
| 291 | + | |
289 | 292 | | |
290 | 293 | | |
291 | 294 | | |
| |||
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
311 | | - | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| |||
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
212 | | - | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| |||
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
175 | | - | |
176 | | - | |
177 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
178 | 184 | | |
179 | 185 | | |
180 | 186 | | |
| |||
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
224 | | - | |
| 230 | + | |
225 | 231 | | |
226 | 232 | | |
227 | 233 | | |
| |||
243 | 249 | | |
244 | 250 | | |
245 | 251 | | |
246 | | - | |
| 252 | + | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments