Repository navigation
Commit e06d2e2
committed
Update prompt symbol simplification and enforce required UI component translations
- revert all those lint fixes [Changes]
- should simplify snippet symbol
- simplification of symbols 'accuracy boost' and 'snippet' should result in their removal
- 'snippet' in polish is still 'snippet'. I don't know about other languages, could be. [Pasted text]
- we found untranslated elements here [Image]
- never assign default value after translation e.g. t('x') || 'X', rely 100% on translations, without 'as any'
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ ├── apply-response-command
│ │ │ ├── response-processor
│ │ │ │ ├── handlers
│ │ │ │ │ ├── patch-repair-handler.ts
│ │ │ │ │ └── search-replace-handler.ts
│ │ │ │ └── response-processor.ts
│ │ │ └── utils
│ │ │ ├── file-operations
│ │ │ │ ├── prepare-rename-operation.ts
│ │ │ │ └── read-rename-source-file.ts
│ │ │ └── preview
│ │ │ ├── build-history-files.ts
│ │ │ ├── file-preparer.ts
│ │ │ └── vscode-ui.ts
│ │ ├── copy-merge-commit-details-command.ts
│ │ ├── generate-commit-message-commands
│ │ │ ├── actions
│ │ │ │ └── run-generate-action.ts
│ │ │ └── utils
│ │ │ ├── build-commit-message-prompt.ts
│ │ │ └── generate-commit-message-with-api.ts
│ │ ├── history-command
│ │ │ └── history-command.ts
│ │ ├── new-folder-command.ts
│ │ ├── rename-command.ts
│ │ ├── search-files-commands
│ │ │ └── utils
│ │ │ └── get-target-folder-path.ts
│ │ ├── select-files-of-commit-command.ts
│ │ └── set-ranges-command.ts
│ ├── features
│ │ └── search-files
│ │ └── utils
│ │ └── analyze-files.ts
│ ├── i18n
│ │ ├── index.ts
│ │ └── translations
│ │ ├── commands
│ │ │ ├── generate-commit-message-command.ts
│ │ │ ├── index.ts
│ │ │ └── rename-command.ts
│ │ ├── services
│ │ │ ├── index.ts
│ │ │ └── prompt-view-api-calls-manager.ts
│ │ ├── utils
│ │ │ ├── index.ts
│ │ │ └── show-parent-folder-quick-pick.ts
│ │ └── views
│ │ ├── index.ts
│ │ ├── prompt
│ │ │ ├── handlers
│ │ │ │ ├── handle-patch-repair.ts
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ └── prompt-view-provider.ts
│ │ └── shared
│ │ ├── actions
│ │ │ ├── api
│ │ │ │ ├── create
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── interactions
│ │ │ │ │ ├── index.ts
│ │ │ │ │ └── verify-model-errors.ts
│ │ │ │ ├── index.ts
│ │ │ │ └── update
│ │ │ │ ├── index.ts
│ │ │ │ └── interactions
│ │ │ │ ├── edit-model-for-api-config.ts
│ │ │ │ └── index.ts
│ │ │ └── index.ts
│ │ ├── index.ts
│ │ └── utils
│ │ ├── hash-sign-quick-pick.ts
│ │ └── index.ts
│ ├── services
│ │ ├── prompt-view-api-calls-manager.ts
│ │ └── websocket-manager.ts
│ ├── utils
│ │ ├── agentic-cli-invocation
│ │ │ ├── invoke-agentic-cli.ts
│ │ │ └── utils
│ │ │ └── check-command-exists.ts
│ │ ├── commit-message-details.ts
│ │ ├── git-repository-utils.ts
│ │ ├── path-sanitizer.ts
│ │ └── show-parent-folder-quick-pick.ts
│ └── views
│ ├── prompt
│ │ ├── backend
│ │ │ ├── message-handlers
│ │ │ │ ├── handle-paste-url.ts
│ │ │ │ ├── handle-patch-repair.ts
│ │ │ │ ├── handle-preview-generated-code.ts
│ │ │ │ └── utils
│ │ │ │ └── build-cli-prompt.ts
│ │ │ ├── prompt-view-provider.ts
│ │ │ └── utils
│ │ │ ├── persistent-text-storage.ts
│ │ │ ├── preview-text-in-temp-file.ts
│ │ │ ├── symbols
│ │ │ │ ├── fragment
│ │ │ │ │ └── replace-fragment-symbol.ts
│ │ │ │ ├── image
│ │ │ │ │ └── replace-image-symbol.ts
│ │ │ │ ├── pasted-text
│ │ │ │ │ └── replace-pasted-text-symbol.ts
│ │ │ │ ├── replace-symbols.ts
│ │ │ │ ├── snippet
│ │ │ │ │ └── replace-snippet-symbol.ts
│ │ │ │ └── website
│ │ │ │ └── replace-website-symbol.ts
│ │ │ └── website-fetcher.ts
│ │ └── frontend
│ │ ├── Main
│ │ │ └── MainView
│ │ │ ├── MainView.tsx
│ │ │ └── components
│ │ │ └── Header
│ │ │ └── Header.tsx
│ │ ├── Prompt.tsx
│ │ └── i18n
│ │ ├── translations
│ │ │ ├── actions.ts
│ │ │ ├── index.ts
│ │ │ ├── main.ts
│ │ │ └── recent-donations.ts
│ │ └── use-translation.tsx
│ ├── settings
│ │ ├── backend
│ │ │ └── message-handlers
│ │ │ ├── add-provider
│ │ │ │ └── pick-extended-provider.ts
│ │ │ ├── handle-delete-prompt-instruction.ts
│ │ │ ├── handle-open-allow-patterns-settings.ts
│ │ │ └── handle-open-ignore-patterns-settings.ts
│ │ └── frontend
│ │ ├── Home
│ │ │ └── sections
│ │ │ └── GeneralSection.tsx
│ │ ├── Settings.tsx
│ │ ├── forms
│ │ │ └── SnippetsForm
│ │ │ └── SnippetsForm.tsx
│ │ └── i18n
│ │ └── translations
│ │ ├── general.ts
│ │ └── index.ts
│ └── shared
│ ├── actions
│ │ └── api
│ │ ├── create
│ │ │ └── interactions
│ │ │ ├── initial-select-model.ts
│ │ │ └── verify-model.ts
│ │ └── update
│ │ └── interactions
│ │ └── edit-model-for-api-config.ts
│ ├── hooks
│ │ └── use-translation.tsx
│ └── utils
│ └── hash-sign-quick-pick
│ ├── hash-sign-quick-pick.ts
│ └── symbols
│ ├── changes-symbol.ts
│ ├── commit-symbol.ts
│ ├── saved-context-symbol.ts
│ └── snippet-symbol.ts
└── packages
├── shared
│ └── src
│ └── utils
│ └── simplify-prompt-symbols
│ ├── index.ts
│ ├── simplify-prompt-symbols.spec.ts
│ └── simplify-prompt-symbols.ts
└── ui
├── package.json
├── src
│ └── components
│ └── editor
│ ├── common
│ │ └── prompts
│ │ └── shared
│ │ └── symbols
│ │ └── reconstruct-raw-value.ts
│ └── prompt-view
│ ├── RecentDonations
│ │ ├── RecentDonations.module.scss
│ │ ├── RecentDonations.stories.tsx
│ │ └── RecentDonations.tsx
│ ├── ResponsePreview
│ │ └── ResponsePreview.tsx
│ ├── Responses
│ │ └── Responses.tsx
│ └── Tasks
│ ├── Tasks.tsx
│ └── components
│ └── TaskGroup.tsx
└── tsconfig.json1 parent 8ac1931 commit e06d2e2
33 files changed
Lines changed: 297 additions & 117 deletions
File tree
- apps/editor/src
- commands
- generate-commit-message-commands
- actions
- utils
- services
- utils
- views
- prompt
- backend
- message-handlers
- frontend
- Main/MainView
- components/Header
- i18n/translations
- settings/frontend
- Home/sections
- forms
- EditPromptInstructionForm
- SnippetsForm
- TemplatesForm
- i18n/translations
- packages
- ui/src/components/editor
- prompt-view
- RecentDonations
- Responses
- Tasks/components
- settings-view/Modal/Form
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | | - | |
| 943 | + | |
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
610 | | - | |
| 609 | + | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
645 | | - | |
| 644 | + | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
662 | | - | |
| 661 | + | |
| 662 | + | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments