Repository navigation
Commit 0895b39
committed
Move prompt symbol simplification to commit message details storage and handle non-breaking spaces
- prompts saved to commit-message-details.json should be already simplified
- suggest if `apps/editor/src/commands/generate-commit-message-command/actions/run-generate-action.ts` should not use simplify_prompt_symbols if it is alerady used by `apps/editor/src/utils/commit-message-details.ts`
├── apps
│ └── editor
│ └── src
│ ├── commands
│ │ ├── apply-response-command
│ │ │ └── utils
│ │ │ └── preview-handler.ts
│ │ ├── code-at-cursor-command
│ │ │ └── code-at-cursor-commands.ts
│ │ └── generate-commit-message-command
│ │ └── actions
│ │ └── run-generate-action.ts
│ ├── features
│ │ └── checkpoints
│ │ └── actions
│ │ └── restore-checkpoint.ts
│ ├── services
│ │ └── git-discard-file-watcher.ts
│ └── utils
│ └── commit-message-details.ts
└── packages
├── shared
│ └── src
│ └── utils
│ └── simplify-prompt-symbols
│ ├── simplify-prompt-symbols.spec.ts
│ └── simplify-prompt-symbols.ts
└── ui
└── src
└── components
└── editor
└── prompt
├── ResponsePreview
│ └── ResponsePreview.tsx
└── Responses
└── Responses.tsx1 parent 2180dba commit 0895b39
4 files changed
Lines changed: 20 additions & 13 deletions
File tree
- apps/editor/src
- commands/generate-commit-message-command/actions
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
330 | 329 | | |
331 | 330 | | |
332 | 331 | | |
333 | | - | |
| 332 | + | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
421 | 420 | | |
422 | 421 | | |
423 | 422 | | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
| 423 | + | |
428 | 424 | | |
429 | 425 | | |
430 | 426 | | |
| |||
452 | 448 | | |
453 | 449 | | |
454 | 450 | | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
| 451 | + | |
459 | 452 | | |
460 | 453 | | |
461 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | | - | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | | - | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
113 | | - | |
| 117 | + | |
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
74 | 82 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
0 commit comments