3x-ui/frontend/src/hooks
25f2002654 14c9bdff89
refactor(frontend): read the panel's navigation from one route manifest (#6922)
The router, the sidebar, the page titles and the command palette each kept
their own list of the panel's pages, so a page added to one could go
missing from another without any test noticing. They all read
src/routes/panelRoutes.tsx now, and a contract test holds the manifest to
the router, the translation bundle and the palette keywords.

The unused useZodForm helper goes, and CONTRIBUTING, frontend/CLAUDE.md and
the frontend README describe the useForm + rhfZodValidate pattern the
panel's forms actually use.
2026-10-24 20:48:31 +02:00
..
useClientHwids.ts feat(clients): allow removing a single HWID device (#6265) 2026-08-21 14:17:05 +02:00
useClients.ts fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +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 chore(frontend): update dependencies and adapt to oxlint 1.79 2026-08-19 17:48:28 +02:00
usePageTitle.ts refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00
usePointerRowReorder.ts feat(hosts): add drag-and-drop and global subscription ordering (#6895) 2026-10-24 07:27:47 +02:00
useServerDraft.ts chore(frontend): update dependencies and adapt to oxlint 1.79 2026-08-19 17:48:28 +02:00
useTheme.tsx fix(clients): stop the Edit Client modal showing a stray light scrollbar 2026-09-15 22:04:00 +02:00
useWebSocket.ts Repo-wide self-correcting audit: 54 verified bug fixes (#5970) 2026-07-17 00:33:06 +02:00
useXraySetting.ts fix(panel): probe UDP outbounds and hide the block outbound from the mtproto egress picker (#6525) 2026-09-14 16:00:13 +02:00