Repository navigation
Commit b4eae5b
committed
feat(yasgui): redesign the settings and make request settings global
The settings follow the settings window of textfold: pages grouped in the
navigation with icons, each setting a row with one line about it and its
control on the right, a fixed header and footer, and changes that apply at
once (the footer says "Saved"; Done closes). A new General page holds the
theme (Light, Dark or System), the editor themes, the request settings and
what happens before a query runs.
Request method, Accept headers and custom HTTP headers now apply to every
tab, including tabs opened later. The formatter, auto-format and the
CONSTRUCT check apply to every tab too and are kept across reloads.
Settings > AI keeps the services as cards and gets a form with a provider
list that fills in the base URL (still editable, with a reset), a link to
get an API key, and Fetch models with a searchable model list. When a
browser can't read a model list (CORS), the provider's known models are
offered and the form explains what to do.1 parent f278fe8 commit b4eae5b
18 files changed
Lines changed: 2841 additions & 1192 deletions
File tree
- .changeset
- docs
- packages/yasgui/src
- ai
- queryManagement
- test/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
| 715 | + | |
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
| |||
2574 | 2574 | | |
2575 | 2575 | | |
2576 | 2576 | | |
2577 | | - | |
| 2577 | + | |
2578 | 2578 | | |
2579 | 2579 | | |
2580 | 2580 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
26 | 41 | | |
27 | 42 | | |
28 | 43 | | |
| |||
193 | 208 | | |
194 | 209 | | |
195 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
196 | 230 | | |
197 | 231 | | |
198 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
884 | 899 | | |
885 | 900 | | |
886 | 901 | | |
| |||
1488 | 1503 | | |
1489 | 1504 | | |
1490 | 1505 | | |
| 1506 | + | |
1491 | 1507 | | |
1492 | 1508 | | |
1493 | 1509 | | |
| |||
0 commit comments