3x-ui/frontend/src
iYuan 2a7342baa9
feat: add inbound share address strategy (#5162)
* feat: add inbound share address strategy

Allow node-managed inbounds to choose whether exported share links use the node address, routable listen address, or a custom endpoint. Preserve locally configured share address fields during remote node traffic sync.

Refs #5161

Refs #4891

* fix: preserve inbound share address settings

Forward share address fields to remote nodes, keep existing values when older update payloads omit them, align localhost handling between frontend and subscriptions, and preserve share address settings when cloning inbounds.

* fix: keep share address strategy out of subscriptions

Limit the new share address strategy to direct exported share links and QR codes. Restore subscription address resolution to the existing panel-owned behavior and update the UI help text accordingly.

* fix: address share address review feedback

* fix: validate custom share address

* fix

---------

Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2026-06-11 20:24:15 +02:00
..
api refactor(api)!: move /panel/setting and /panel/xray under /panel/api 2026-06-06 16:22:41 +02:00
components fix(node-sync): keep shared client traffic row when email still lives on other inbounds 2026-06-11 14:28:09 +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: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
hooks feat: apply inbound/outbound/routing changes live via Xray gRPC API 2026-06-10 23:01:33 +02:00
i18n refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
layouts feat: add support for subscription-based outbounds with auto-update (#5037) 2026-06-08 18:09:53 +02:00
lib feat: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
models feat: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
pages feat: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
schemas feat: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
styles fix(ui): remove pointer cursor from non-interactive elements in cards (#5102) 2026-06-09 01:02:11 +02:00
test feat: add inbound share address strategy (#5162) 2026-06-11 20:24:15 +02:00
utils fix: inbound edit validation failure and legacy copy to clipboard (#5132) 2026-06-09 15:55:55 +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(clients,groups): client groups + sub-links export + dedicated groups page 2026-05-27 17:30:55 +02:00