3x-ui/frontend/src
MHSanaei 9b8a0c9b17
feat(groups): reset group traffic without touching client counters
The group page shows traffic counting per group, but the only reset
available zeroed every member client's up/down counters (and their
quotas) via bulkResetTraffic. Group traffic is a derived sum of client
traffic, so zeroing the group display previously required mutating the
clients themselves.

Add a display-only baseline: ClientGroup gains reset_up/reset_down
columns (additive, handled by AutoMigrate). ResetGroupTraffic snapshots
the group's current up/down sum into the baseline, and ListGroups now
reports max(0, sum - baseline). Client counters are left untouched and
no Xray restart is triggered. A new POST /panel/api/clients/groups/
resetTraffic endpoint drives it, creating the client_groups row when the
group exists only as a derived label.

The groups page action now calls the new endpoint; confirm/success
strings updated across all 13 locales to reflect group-only semantics.
2026-06-27 16:33:36 +02:00
..
api feat(nodes): add Dev channel option to node panel updates 2026-06-25 00:29:03 +02:00
components feat(memory): add memory threshold alerts (#5366) 2026-06-21 17:45:33 +02:00
entries Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
generated feat(reality): add live REALITY target scanner with IP/CIDR discovery 2026-06-26 22:18:47 +02:00
hooks fix(hosts): show proper page title instead of falling back to 3X-UI 2026-06-25 23:43:14 +02:00
i18n refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
layouts feat(sidebar): add documentation link button 2026-06-26 18:55:32 +02:00
lib feat(panel): surface dev-build version in UI, bot, and CLI 2026-06-25 02:36:41 +02:00
models feat(reality): add live REALITY target scanner with IP/CIDR discovery 2026-06-26 22:18:47 +02:00
pages feat(groups): reset group traffic without touching client counters 2026-06-27 16:33:36 +02:00
schemas feat(clients): add bulk enable/disable and move selection actions into More menu 2026-06-25 19:21:42 +02:00
styles feat(hosts): managed Hosts for per-host subscription link overrides (#5409) 2026-06-17 12:06:55 +02:00
test fix(balancers): create burst observer for random/roundRobin with fallbackTag 2026-06-27 11:46:19 +02:00
utils fix(clients): use new email after rename and de-duplicate save toast 2026-06-24 17:10:17 +02:00
env.d.ts feat(postgres): in-panel backup/restore and consistent CLI backend 2026-05-31 17:53:34 +02:00
main.tsx Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +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 feat(sidebar): move Routing/Outbounds to top-level items with clean URLs 2026-06-22 22:20:26 +02:00