3x-ui/frontend/src
isultanov99 30f6bc1833
feat: Add outbound egress metadata (IP + country) (#5886)
* Add outbound egress metadata

Show egress IP and country information for outbound HTTP tests. The probe reuses the temporary SOCKS route from the existing HTTP test and fetches Cloudflare trace metadata after the reachability check succeeds.

The outbound list now adds separate Egress and Country columns, hides egress IPs until the user reveals them, and marks Cloudflare WARP results with an orange cloud pill. Mobile cards keep the same data compact by placing the country and IPv4/IPv6 values on separate lines.

Validation: npm run typecheck; npm run lint; npm run build; go test ./internal/web/service/outbound

* Use context-aware DNS lookup for egress trace

* Address outbound egress review feedback

Restore the Real Delay selector and TCP default so the egress metadata change does not remove an existing test mode.

Keep HTTP probe tests hermetic by stubbing egress trace lookups, run IPv4 and IPv6 trace fetches concurrently with a shorter diagnostic timeout, scope mobile IP reveal state per row, support keyboard activation for reveal toggles, and treat WARP+ trace values as WARP-like.
2026-07-12 15:09:52 +02:00
..
api feat(hosts): bulk-add multiple hosts to multiple inbounds (#5677) 2026-07-08 23:35:20 +02:00
components Frontend dev tooling (Husky, lint-staged, MSW, Storybook) + full React Hook Form migration (#5859) 2026-07-08 13:28:37 +02:00
entries refactor(frontend): replace axios with the native Fetch API 2026-07-08 01:09:18 +02:00
generated fix(api): preserve 64-bit integer schema formats (#5908) 2026-07-12 10:58:02 +02:00
hooks feat(outbound): add real-delay connection test mode 2026-07-06 08:35:48 +02:00
i18n refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
layouts feat(a11y): screen-reader & keyboard accessibility across the panel (#5486) (#5652) 2026-06-29 12:51:29 +02:00
lib feat(xray): update xray-core to v26.7.11 and adapt panel 2026-07-12 00:30:47 +02:00
models feat(settings): let users clear stored secrets from the UI 2026-07-02 13:57:34 +02:00
pages feat: Add outbound egress metadata (IP + country) (#5886) 2026-07-12 15:09:52 +02:00
schemas feat: Add outbound egress metadata (IP + country) (#5886) 2026-07-12 15:09:52 +02:00
styles feat(hosts): managed Hosts for per-host subscription link overrides (#5409) 2026-06-17 12:06:55 +02:00
test feat(xray): update xray-core to v26.7.11 and adapt panel 2026-07-12 00:30:47 +02:00
utils Frontend dev tooling (Husky, lint-staged, MSW, Storybook) + full React Hook Form migration (#5859) 2026-07-08 13:28: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 refactor(frontend): replace axios with the native Fetch API 2026-07-08 01:09:18 +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