Skip to content

Add AI API key field visibility toggle#998

Open
LumiDevLabs wants to merge 2 commits intoellite:mainfrom
LumiDevLabs:fix/ai-api-key-visibility-toggle
Open

Add AI API key field visibility toggle#998
LumiDevLabs wants to merge 2 commits intoellite:mainfrom
LumiDevLabs:fix/ai-api-key-visibility-toggle

Conversation

@LumiDevLabs
Copy link

@LumiDevLabs LumiDevLabs commented Feb 17, 2026

Summary

Improves AI settings UX by masking the API key by default and adding a visibility toggle.

Problem

AI API keys were visible in plain text by default, which is not ideal for security/privacy during normal use.

Changes

  • Changed AI API key input to password type by default.
  • Added eye toggle button markup.
  • Added toggle behavior and provider-state handling in.
    • Show/hide key on toggle.
    • Keep key hidden by default.
    • Reset to hidden state when switching provider.

Testing

  • Verifie key is masked on load.
  • Verifie eye button toggles masked/visible states.
image image

I used a random UUID, so no, I didn't leak my api key 🗿

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