3x-ui/frontend/src/hooks
MHSanaei a329882e0e
feat(wireguard): client config UX, collapsible config card, configurable DNS
Land the WireGuard client-config UX work on main (the upstream PR #5642
branch could not be pushed to).

- Reusable collapsible ConfigBlock (copy/download/QR, actions aligned right)
  for the client .conf, used by client info and the public sub page.
- Correct .conf: canonical PresharedKey casing and DNS sourced from the inbound
  (configurable per-inbound, default 1.1.1.1, 1.0.0.1).
- Configurable per-inbound DNS for WireGuard (schema + form + backend hint via
  InboundOption.WgDns); inert at the Xray layer.
- Public sub page now shows the WireGuard config, rebuilt from the share link;
  the Go wireguard:// link carries dns/presharedkey/keepalive for completeness.
- QR enabled for the wireguard:// link; link rows are compact like other protocols.
- Client information order is subscription, copy URL, WireGuard config; the
  redundant config tab is removed from the add/edit client modal.
- Drop the Inbound Information and QR Code row actions for WireGuard inbounds.
2026-06-29 00:50:34 +02:00
..
useClients.ts feat(wireguard): client config UX, collapsible config card, configurable DNS 2026-06-29 00:50:34 +02:00
useDatepicker.ts refactor(api)!: move /panel/setting and /panel/xray under /panel/api 2026-06-06 16:22:41 +02:00
useMediaQuery.ts Frontend rewrite: React + TypeScript with AntD v6 (#4498) 2026-05-23 15:21:45 +02:00
usePageTitle.ts fix(hosts): show proper page title instead of falling back to 3X-UI 2026-06-25 23:43:14 +02:00
useTheme.tsx Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
useWebSocket.ts Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
useXraySetting.ts fix(outbounds): test subscriptions in Test All, skip direct/dns 2026-06-13 11:48:02 +02:00