Repository navigation
Commit 76fdc58
committed
Trim prompt instructions across handlers, remove configuration dimming, and update status bar gradients
- should dim configurations in API target, when instructions are empty
- should trim current instructions upon use
- istead of static '40px', calculate with formula: character count * 3 + 20
├── .prettierrc
├── apps
│ └── editor
│ └── src
│ ├── utils
│ │ └── changes-integration
│ │ └── diff-processor
│ │ └── test-cases
│ │ └── generic-6
│ │ ├── expected.txt
│ │ └── original.txt
│ └── views
│ └── prompt
│ ├── backend
│ │ ├── message-handlers
│ │ │ ├── handle-agentic-search
│ │ │ │ ├── agentic-search.ts
│ │ │ │ └── handle-agentic-search.ts
│ │ │ ├── handle-at-sign-quick-pick
│ │ │ │ └── handle-at-sign-quick-pick.ts
│ │ │ ├── handle-autofill.ts
│ │ │ ├── handle-hash-sign-quick-pick
│ │ │ │ └── handle-hash-sign-quick-pick.ts
│ │ │ ├── handle-make-api-call.ts
│ │ │ ├── handle-preview-web-configuration.ts
│ │ │ ├── handle-template-quick-pick.ts
│ │ │ └── utils
│ │ │ └── build-prompt-payload.ts
│ │ └── prompt-view-provider.ts
│ └── frontend
│ ├── Main
│ │ ├── Main.tsx
│ │ └── MainView
│ │ └── MainView.tsx
│ ├── Prompt.tsx
│ └── hooks
│ └── use-prompt
│ └── hooks
│ └── use-instructions.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt
└── StatusBar
├── StatusBar.module.scss
└── StatusBar.tsx1 parent 099b1e1 commit 76fdc58
12 files changed
Lines changed: 50 additions & 40 deletions
File tree
- apps/editor/src/views/prompt
- backend
- message-handlers
- handle-agentic-search
- utils
- frontend/Main
- MainView
- packages/ui/src/components/editor/prompt
- Configurations
- StatusBar
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
191 | | - | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
562 | 561 | | |
563 | 562 | | |
564 | 563 | | |
| |||
599 | 598 | | |
600 | 599 | | |
601 | 600 | | |
602 | | - | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
0 commit comments