3x-ui/frontend/src
mrchatam 22763fe8f6
feat(clients): add Generate button for WireGuard/AmneziaWG PresharedKey (#6455)
* feat(clients): add Generate button for WireGuard/AmneziaWG PresharedKey

Matches existing key regenerate controls on the client form. Value is
32 random bytes base64 via Wireguard.generatePresharedKey (same as
wg genpsk). Field stays optional.

Fixes #6343

* fix(clients): keep FormField for WireGuard PresharedKey generate

Restore RHF FormField (noStyle inside Space.Compact) so the regenerate
control matches inbound reality patterns and satisfies oxfmt.

---------

Co-authored-by: mrchatam <287639636+mrchatam@users.noreply.github.com>
2026-09-12 11:08:21 +02:00
..
api feat(sub): leastLoad member weights for subscription balancers (#6304) 2026-09-02 20:21:27 +02:00
components feat(ui): add global command palette (Ctrl+K) for fast navigation and search (#6352) 2026-09-10 17:53:49 +02:00
entries fix(frontend): isolate subscription language preference (#6394) 2026-09-03 16:33:37 +02:00
generated Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
hooks feat(clients): support setting HWID limit and MTProto ad-tag in bulk adjust (#6399) 2026-09-10 16:24:48 +02:00
i18n fix(frontend): isolate subscription language preference (#6394) 2026-09-03 16:33:37 +02:00
layouts feat(ui): add global command palette (Ctrl+K) for fast navigation and search (#6352) 2026-09-10 17:53:49 +02:00
lib Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
models Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
pages feat(clients): add Generate button for WireGuard/AmneziaWG PresharedKey (#6455) 2026-09-12 11:08:21 +02:00
schemas Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
styles Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
test Feature/tuic v5 (#6337) 2026-09-12 10:15:48 +02:00
utils fix(frontend): isolate subscription language preference (#6394) 2026-09-03 16:33:37 +02:00
env.d.ts refactor(frontend): replace axios with the native Fetch API 2026-07-08 01:09:18 +02:00
main.tsx chore(deps): migrate to react-router 8 and refresh frontend dependencies 2026-07-25 02:07:15 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00