diff --git a/.changeset/web-select-dropdown-style.md b/.changeset/web-select-dropdown-style.md new file mode 100644 index 0000000000..55647f2f5d --- /dev/null +++ b/.changeset/web-select-dropdown-style.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +web: Restyle the settings dropdowns to match the design system instead of using the browser-native option list. diff --git a/apps/kimi-web/src/components/settings/ProviderManager.vue b/apps/kimi-web/src/components/settings/ProviderManager.vue index e9316f6bd3..c9910083b9 100644 --- a/apps/kimi-web/src/components/settings/ProviderManager.vue +++ b/apps/kimi-web/src/components/settings/ProviderManager.vue @@ -61,6 +61,7 @@ const addForm = reactive({ const addError = ref(''); const PROVIDER_TYPES = ['moonshot', 'anthropic', 'openai', 'custom']; +const providerTypeOptions = PROVIDER_TYPES.map((pt) => ({ value: pt, label: pt })); function openAdd(): void { addForm.type = 'moonshot'; @@ -191,9 +192,7 @@ function statusLabel(status: AppProvider['status']): string {