Skip to content

Let the edit-server dialog reveal the password - #125

Merged
PhoenixNil merged 1 commit into
mainfrom
agent/issue124-show-password
Aug 7, 2026
Merged

Let the edit-server dialog reveal the password#125
PhoenixNil merged 1 commit into
mainfrom
agent/issue124-show-password

Conversation

@PhoenixNil

@PhoenixNil PhoenixNil commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Closes #124.

add reveal/conceal button for password

The password field has always been a PasswordBox, and that was the
problem: PasswordBox's built-in "peek" button only appears once the box
has taken focus *and* the user has typed a character. Editing an
existing server assigns Password in code, so peek never showed up and
the stored value could not be read back at all.

Force PasswordRevealMode to Hidden and put an explicit reveal toggle in
the field header, to the right of the label. The glyph swaps between
RedEye and Hide; tooltip and automation name follow. No extra form row —
the dialog already has 30-odd fields.

Scoped to the password field only, per the issue. The other credential
fields in this form (UUID, Reality keys, WireGuard keys) are plain
TextBoxes and already show their values.

Closes #124

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@PhoenixNil
PhoenixNil merged commit 49c91ed into main Aug 7, 2026
3 checks passed
@PhoenixNil
PhoenixNil deleted the agent/issue124-show-password branch August 7, 2026 06:32
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