-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(ui): reorder api profile #7731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 19 commits
69940f1
951c876
e2e1330
60d7bf8
e8d02b1
c765902
4820e6f
2407f9b
5d91970
be6bb60
866e93c
094bd2f
52b0acc
775b927
d840a31
27b8aff
87c5dd9
4869127
0d95ce0
638e912
52bf3c3
daed3e6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,6 +52,15 @@ export const globalSettingsSchema = z.object({ | |
| currentApiConfigName: z.string().optional(), | ||
| listApiConfigMeta: z.array(providerSettingsEntrySchema).optional(), | ||
| pinnedApiConfigs: z.record(z.string(), z.boolean()).optional(), | ||
| apiConfigsCustomOrder: z | ||
| .array( | ||
| z.object({ | ||
| id: z.string(), | ||
| index: z.number(), | ||
| pinned: z.boolean(), | ||
| }), | ||
| ) | ||
| .optional(), | ||
|
Comment on lines
+55
to
+63
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Fix it with Roo Code or mention @roomote and request a fix. |
||
|
|
||
| lastShownAnnouncementId: z.string().optional(), | ||
| customInstructions: z.string().optional(), | ||
|
|
@@ -284,6 +293,7 @@ export const EVALS_SETTINGS: RooCodeSettings = { | |
| lastShownAnnouncementId: "jul-09-2025-3-23-0", | ||
|
|
||
| pinnedApiConfigs: {}, | ||
| apiConfigsCustomOrder: [], | ||
|
|
||
| autoApprovalEnabled: true, | ||
| alwaysAllowReadOnly: true, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left the
pinnedfield here because I'm not sure what to do with the pinned configs for now. I tried doing separate reordering but that feels a bit overkill, so I reverted it and thought of leaving this here just in case we might want to do something with it in the future.