Skip to content

fix(ai-ui): legible advanced-options text in light mode; stop sending…#504

Merged
codyllord merged 1 commit into
developfrom
fix/ai-ui-lightmode-mask
May 27, 2026
Merged

fix(ai-ui): legible advanced-options text in light mode; stop sending…#504
codyllord merged 1 commit into
developfrom
fix/ai-ui-lightmode-mask

Conversation

@codyllord
Copy link
Copy Markdown
Contributor

… the api_key mask

  • df-ai-test-connection, df-ai-model-picker, df-ai-allowed-roles, df-ai-chat-prereqs: replace hard-coded white text/surfaces with theme-flip CSS vars (dark defaults inline, light-on-dark values under :host-context(.dark-theme)) so the AI Connection and AI Chat "Options" panels are readable in the light theme.
  • test-connection & model-picker: never forward the redisplayed '**********' mask as a real key — null it and pass service_id so the backend falls back to the stored secret. Adds serviceId input + binding to df-ai-model-picker so "Fetch models" works on saved connections.

… the api_key mask

- df-ai-test-connection, df-ai-model-picker, df-ai-allowed-roles,
  df-ai-chat-prereqs: replace hard-coded white text/surfaces with
  theme-flip CSS vars (dark defaults inline, light-on-dark values under
  :host-context(.dark-theme)) so the AI Connection and AI Chat "Options"
  panels are readable in the light theme.
- test-connection & model-picker: never forward the redisplayed
  '**********' mask as a real key — null it and pass service_id so the
  backend falls back to the stored secret. Adds serviceId input + binding
  to df-ai-model-picker so "Fetch models" works on saved connections.
@codyllord codyllord merged commit c48e89b into develop May 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant