Files
gwdgithubnom 3ef3c684b3 fix(ui): add show/hide toggle for API key inputs and populate key on edit
Add eye toggle button for all API key input fields so users can verify their keys before saving.

Changes:

- BaseProviderForm: wrap single API key field (Gemini/Codex/Claude/Vertex) with passwordField + toggle button

- BaseProviderForm: wrap per-entry API key fields (OpenAI-compatible) with passwordField + toggle button

- BaseProviderForm: extract applyRawApiKey helper to populate apiKey from resource.raw in edit mode

- BaseProviderForm: sync initialFormSignature with applyRawApiKey to prevent false isDirty

- sharedForm.module.scss: add .passwordField, .passwordInput, .passwordToggle styles

- i18n: add showApiKey/hideApiKey keys to en, zh-CN, zh-TW, ru locale files

- accessibility: add aria-label and title attributes on both toggle buttons
3ef3c684b3 · 2026-05-27 22:46:00 +08:00
History
..