mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 13:14:11 +00:00
1.7 KiB
1.7 KiB
Task Record
Date: 2026-04-26 Related Module: client add modals (web/html) Change Type: Fix
Background
Although backend flow auto-fill was implemented for eligible new clients, the add-client UI still initialized flow as empty by default.
This made the feature appear non-functional during client creation.
Changes
Updated UI defaults for new VLESS clients in add dialogs:
web/html/modals/client_modal.html- In single add flow, when inbound
canEnableTlsFlow()is true and client flow is empty, default toxtls-rprx-vision.
- In single add flow, when inbound
web/html/modals/client_bulk_modal.html- On modal show, default selected bulk
flowtoxtls-rprx-visionwhencanEnableTlsFlow()is true. - In
newClient(...)for VLESS, initialize empty flow toxtls-rprx-visionunder the same condition.
- On modal show, default selected bulk
Impact
Affected modules or files.
web/html/modals/client_modal.htmlweb/html/modals/client_bulk_modal.html
Whether APIs, database, config, build, or compatibility are affected.
- No API contract changes.
- No database schema changes.
- UI behavior change only for default values in eligible flow-required scenarios.
Whether upstream or downstream callers are affected.
- Panel operators adding clients now immediately see expected default flow value.
Verification
List validation commands or checks performed.
go test ./web/...
State the result.
- Passed.
If not verified, explain why.
- No remote runtime interaction was performed in this local environment.
Risks And Follow-Up
Remaining risks.
- Existing browser cache may keep older template assets until refresh/reload.
Recommended follow-up work.
- Verify add-client and bulk-add flows in panel UI for VLESS+TCP+TLS/Reality in deployed environment.