Skip to content

Enhancement/network proxy single action - #1903

Open
Douglasymlai wants to merge 2 commits into
mainfrom
fix/network-proxy-single-action
Open

Enhancement/network proxy single action#1903
Douglasymlai wants to merge 2 commits into
mainfrom
fix/network-proxy-single-action

Conversation

@Douglasymlai

Copy link
Copy Markdown
Contributor

Pull Request

Related Issue

Followup PR for #1893

Description

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

Jessie Li and others added 2 commits September 2, 2026 12:24
Replaces the separate Save and Reset buttons with a single action nested
inside the input field. It reads "Save" while the field differs from the
persisted baseline and "Reset" once they match, where Reset clears the
saved HTTP_PROXY.

- Compare untrimmed so a whitespace-only edit still reads "Save". The
  destructive Reset must never sit under a field the user just typed in.
- Disable the action when there is no saved proxy left to clear.
- Move the restart affordance off the button into the success toast, as a
  sonner action, echoed by a DsText meta footnote in the error tone so a
  pending restart stays visible after the toast is gone.
- Reserve right padding on the field so a long proxy URL does not slide
  under the nested button.
- Add proxy-cleared-restart-required and proxy-reset-failed across all 11
  locales.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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