[PR #5807] [CLOSED] fix(frontend): clarify client credential fields #5992

Closed
opened 2026-11-02 04:05:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/5807
Author: @sanmaxdev
Created: 7/5/2026
Status: ❌ Closed

Base: main ← Head: fix/client-credential-hints


📝 Commits (2)

  • 6e338d6 fix(frontend): clarify client credential fields
  • d8a092d fix(frontend): translate credential hint text for all locales

📊 Changes

15 files changed (+60 additions, -2 deletions)

View changed files

📝 frontend/src/pages/clients/ClientFormModal.tsx (+2 -2)
➕ frontend/src/test/client-form-modal.test.tsx (+32 -0)
📝 internal/web/translation/ar-EG.json (+2 -0)
📝 internal/web/translation/en-US.json (+2 -0)
📝 internal/web/translation/es-ES.json (+2 -0)
📝 internal/web/translation/fa-IR.json (+2 -0)
📝 internal/web/translation/id-ID.json (+2 -0)
📝 internal/web/translation/ja-JP.json (+2 -0)
📝 internal/web/translation/pt-BR.json (+2 -0)
📝 internal/web/translation/ru-RU.json (+2 -0)
📝 internal/web/translation/tr-TR.json (+2 -0)
📝 internal/web/translation/uk-UA.json (+2 -0)
📝 internal/web/translation/vi-VN.json (+2 -0)
📝 internal/web/translation/zh-CN.json (+2 -0)
📝 internal/web/translation/zh-TW.json (+2 -0)

📄 Description

Summary

  • Add inline hints to the client Password and Hysteria Auth fields.
  • Add regression coverage for the credential help text.

Why

Closes #5803

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Documentation
  • Tests only
  • Build / CI / tooling
  • Other

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Xray config generation
  • Subscription (share links / Clash / JSON)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)
  • Telegram bot

How was this tested?

  • npm ci
  • npm run test -- src/test/client-form-modal.test.tsx
  • npm run lint
  • npm run typecheck
  • npm run test
  • npm run build
  • make gen-check
  • go build ./...

Screenshots / recordings

N/A

Breaking changes

None

Checklist

  • I tested the change locally and confirmed the described behavior.
  • I added or updated tests for the new behavior (when applicable).
  • go build ./... and the test suite pass locally.
  • For frontend changes: npm run lint, npm run typecheck, and npm run build pass.
  • I updated the Wiki / README / API docs if user-facing behavior changed.
  • My commits follow the project's existing message style.
  • I have no unrelated changes mixed into this PR.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/5807 **Author:** [@sanmaxdev](https://github.com/sanmaxdev) **Created:** 7/5/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/client-credential-hints` --- ### 📝 Commits (2) - [`6e338d6`](https://github.com/MHSanaei/3x-ui/commit/6e338d6316410e9c03396c3fb1618b972601afae) fix(frontend): clarify client credential fields - [`d8a092d`](https://github.com/MHSanaei/3x-ui/commit/d8a092d587fa2e5b5cf1b25b8dced41b60d4db46) fix(frontend): translate credential hint text for all locales ### 📊 Changes **15 files changed** (+60 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/clients/ClientFormModal.tsx` (+2 -2) ➕ `frontend/src/test/client-form-modal.test.tsx` (+32 -0) 📝 `internal/web/translation/ar-EG.json` (+2 -0) 📝 `internal/web/translation/en-US.json` (+2 -0) 📝 `internal/web/translation/es-ES.json` (+2 -0) 📝 `internal/web/translation/fa-IR.json` (+2 -0) 📝 `internal/web/translation/id-ID.json` (+2 -0) 📝 `internal/web/translation/ja-JP.json` (+2 -0) 📝 `internal/web/translation/pt-BR.json` (+2 -0) 📝 `internal/web/translation/ru-RU.json` (+2 -0) 📝 `internal/web/translation/tr-TR.json` (+2 -0) 📝 `internal/web/translation/uk-UA.json` (+2 -0) 📝 `internal/web/translation/vi-VN.json` (+2 -0) 📝 `internal/web/translation/zh-CN.json` (+2 -0) 📝 `internal/web/translation/zh-TW.json` (+2 -0) </details> ### 📄 Description ## Summary - Add inline hints to the client Password and Hysteria Auth fields. - Add regression coverage for the credential help text. ## Why Closes #5803 ## Type of change - [ ] Bug fix - [x] New feature - [ ] Refactoring (no behavior change) - [ ] Documentation - [ ] Tests only - [ ] Build / CI / tooling - [ ] Other ## Areas affected - [x] Frontend (UI / panel pages) - [ ] Backend (API endpoints, login, settings) - [ ] Xray config generation - [ ] Subscription (share links / Clash / JSON) - [ ] Statistics / traffic counters - [ ] Database / migrations - [ ] Install / upgrade script - [ ] Docker image - [ ] Multi-node (sub-nodes) - [ ] Telegram bot ## How was this tested? - [x] `npm ci` - [x] `npm run test -- src/test/client-form-modal.test.tsx` - [x] `npm run lint` - [x] `npm run typecheck` - [x] `npm run test` - [x] `npm run build` - [x] `make gen-check` - [x] `go build ./...` ## Screenshots / recordings N/A ## Breaking changes None ## Checklist - [x] I tested the change locally and confirmed the described behavior. - [x] I added or updated tests for the new behavior (when applicable). - [ ] `go build ./...` and the test suite pass locally. - [x] For frontend changes: `npm run lint`, `npm run typecheck`, and `npm run build` pass. - [x] I updated the Wiki / README / API docs if user-facing behavior changed. - [x] My commits follow the project's existing message style. - [x] I have no unrelated changes mixed into this PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:05:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5992
No description provided.