Repository navigation
Commit a6711d9
committed
Remove context size warning threshold feature and its UI, simplify ContextUtilisation to a plain token count label, revert Tabs to WEB/API labels with separator styling, and drop the top task add button
- make tabs look more like...
- should not show border under active tab [Image]
- remove 'context size warning threshold'
├── apps
│ └── editor
│ ├── package.json
│ └── src
│ └── views
│ ├── prompt
│ │ ├── backend
│ │ │ └── prompt-view-provider.ts
│ │ ├── frontend
│ │ │ ├── Main
│ │ │ │ ├── Main.tsx
│ │ │ │ ├── MainView
│ │ │ │ │ ├── MainView.tsx
│ │ │ │ │ └── index.ts
│ │ │ │ └── index.ts
│ │ │ ├── Prompt.tsx
│ │ │ └── hooks
│ │ │ └── use-prompt
│ │ │ ├── index.ts
│ │ │ └── use-prompt.ts
│ │ └── types
│ │ └── messages.ts
│ └── settings
│ ├── backend
│ │ ├── message-handlers
│ │ │ └── index.ts
│ │ └── settings-view-provider.ts
│ ├── frontend
│ │ ├── Home
│ │ │ ├── Home.tsx
│ │ │ └── sections
│ │ │ └── GeneralSection.tsx
│ │ ├── Settings.tsx
│ │ ├── hooks
│ │ │ └── use-settings.ts
│ │ └── i18n
│ │ └── translations
│ │ ├── general.ts
│ │ └── index.ts
│ └── types
│ └── messages.ts
└── packages
└── ui
└── src
└── components
└── editor
└── prompt
├── ContextUtilisation
│ ├── ContextUtilisation.module.scss
│ ├── ContextUtilisation.stories.tsx
│ ├── ContextUtilisation.tsx
│ └── index.ts
└── Tabs
├── Tabs.module.scss
├── Tabs.tsx
└── index.ts1 parent 42dbc6e commit a6711d9
24 files changed
Lines changed: 39 additions & 357 deletions
File tree
- apps/editor
- src
- constants
- views
- prompt
- backend
- frontend
- Home
- hooks
- Main
- MainView
- hooks/use-prompt
- types
- settings
- backend
- message-handlers
- frontend
- Home
- sections
- hooks
- i18n/translations
- types
- packages/ui/src/components/editor/prompt
- ContextUtilisation
- Tabs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | 977 | | |
982 | 978 | | |
983 | 979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | 371 | | |
379 | 372 | | |
380 | 373 | | |
| |||
642 | 635 | | |
643 | 636 | | |
644 | 637 | | |
645 | | - | |
646 | | - | |
647 | 638 | | |
648 | 639 | | |
649 | 640 | | |
| |||
876 | 867 | | |
877 | 868 | | |
878 | 869 | | |
879 | | - | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | 870 | | |
892 | 871 | | |
893 | 872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 226 | | |
240 | 227 | | |
241 | 228 | | |
242 | 229 | | |
| 230 | + | |
| 231 | + | |
243 | 232 | | |
244 | 233 | | |
245 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 103 | + | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | | - | |
115 | | - | |
| 110 | + | |
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
498 | 497 | | |
499 | 498 | | |
500 | 499 | | |
501 | | - | |
502 | 500 | | |
503 | 501 | | |
504 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
383 | 382 | | |
384 | 383 | | |
385 | 384 | | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | 385 | | |
390 | 386 | | |
391 | 387 | | |
| |||
394 | 390 | | |
395 | 391 | | |
396 | 392 | | |
397 | | - | |
398 | | - | |
| 393 | + | |
| 394 | + | |
399 | 395 | | |
400 | | - | |
| 396 | + | |
401 | 397 | | |
402 | | - | |
| 398 | + | |
403 | 399 | | |
404 | 400 | | |
405 | 401 | | |
| 402 | + | |
| 403 | + | |
406 | 404 | | |
407 | 405 | | |
408 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
159 | | - | |
160 | | - | |
| 158 | + | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
| |||
349 | 347 | | |
350 | 348 | | |
351 | 349 | | |
352 | | - | |
353 | 350 | | |
354 | 351 | | |
355 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
114 | | - | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| |||
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
139 | | - | |
140 | 135 | | |
141 | 136 | | |
142 | 137 | | |
| |||
221 | 216 | | |
222 | 217 | | |
223 | 218 | | |
224 | | - | |
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 150 | | |
155 | 151 | | |
156 | 152 | | |
| |||
535 | 531 | | |
536 | 532 | | |
537 | 533 | | |
538 | | - | |
539 | 534 | | |
540 | 535 | | |
541 | 536 | | |
| |||
670 | 665 | | |
671 | 666 | | |
672 | 667 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | 668 | | |
679 | 669 | | |
680 | 670 | | |
| |||
871 | 861 | | |
872 | 862 | | |
873 | 863 | | |
874 | | - | |
875 | 864 | | |
876 | 865 | | |
877 | 866 | | |
| |||
0 commit comments