3x-ui/frontend/src/api
MHSanaei ef8882a5c0
fix(online): scope per-inbound online to inbounds that carried traffic
Multi-inbound clients showed online on every inbound they were attached to. Xray's user-level traffic stat aggregates across all inbounds a client belongs to, so the email signal alone can't say which inbound was used.

Pair it with the inbound-level traffic signal under the same 20s grace and gate the per-inbound rollup on it: a client only shows online on inbounds that actually moved bytes this window. Remote nodes report no per-inbound activity and stay ungated (no regression). Adds GetActiveInboundsByNode, the activeInbounds WS field and POST /panel/api/clients/activeInbounds.

Fixes #4859
2026-06-03 16:19:00 +02:00
..
queries feat(clients,routing): label inbounds by remark with tag fallback 2026-06-02 14:14:25 +02:00
axios-init.ts Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
invalidationTracker.ts refactor(clients): coherent group management — rename, split, extract 2026-05-28 12:59:20 +02:00
queryKeys.ts fix(online): scope per-inbound online to inbounds that carried traffic 2026-06-03 16:19:00 +02:00
QueryProvider.tsx feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
websocket.ts Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
websocketBridge.ts refactor(clients): coherent group management — rename, split, extract 2026-05-28 12:59:20 +02:00