3x-ui/frontend/src
Artem K 721de5adde
Fix fragment exports for older Xray clients (#6702)
* Fix fragment exports for older Xray clients

* fix(link): tolerate a finalmask without tcp in panel share links

withLegacyFragmentRanges called finalmask.tcp.map unguarded, but stored
rows reach the link generator unparsed and dropEmptyFinalMask deletes an
empty tcp list on save. Any VMess/VLESS/Trojan/SS inbound with only UDP
masks or quicParams threw a TypeError in the QR, info and export-links
views. The Go counterpart already skipped a missing tcp.

Also trims the Go helper's comment to the two-line cap and drops a
[]string branch no JSON-decoded finalmask can reach.

---------

Co-authored-by: Artem K <a.kush@vkteam.ru>
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2026-10-02 17:38:44 +02:00
..
api feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
components feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
entries fix(frontend): isolate subscription language preference (#6394) 2026-09-03 16:33:37 +02:00
generated feat(panel): let a sponsor slot start at a scheduled time 2026-09-27 16:32:45 +02:00
hooks feat(clients): add calendar weekly renewal and schedule previews (#6524) 2026-09-26 22:59:23 +02:00
i18n fix(frontend): isolate subscription language preference (#6394) 2026-09-03 16:33:37 +02:00
layouts feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
lib Fix fragment exports for older Xray clients (#6702) 2026-10-02 17:38:44 +02:00
models feat(inbound): excludeFromSub hides links without disabling (#6463) 2026-09-27 12:26:37 +02:00
pages feat(xray): update xray-core to v26.9.30 and adapt panel 2026-10-02 13:54:39 +02:00
schemas feat(xray): update xray-core to v26.9.30 and adapt panel 2026-10-02 13:54:39 +02:00
styles feat(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00
test Fix fragment exports for older Xray clients (#6702) 2026-10-02 17:38:44 +02:00
utils fix(frontend): keep the given file name on mobile downloads 2026-09-30 15:03:21 +02:00
env.d.ts feat(sub): redesign the subscription page around usage, tabs and app imports 2026-09-16 01:55:56 +02:00
main.tsx fix: recover panel navigation after stale chunk failures (#6679) 2026-10-02 15:01:21 +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(panel): add sponsor slots fed from sponsors.sanaei.dev 2026-09-26 03:31:51 +02:00