mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6230
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6349
Author: @TheMRVX
Created: 8/28/2026
Status: ✅ Merged
Merged: 9/3/2026
Merged by: @MHSanaei
Base:
main← Head:fix/multi-tunnel-client-configs📝 Commits (1)
caef652fix(clients): render all tunnel configs for multi-inbound client (#6346)📊 Changes
6 files changed (+349 additions, -105 deletions)
View changed files
📝
frontend/src/lib/inbounds/label.ts(+23 -0)📝
frontend/src/pages/clients/ClientInfoModal.tsx(+67 -41)📝
frontend/src/pages/clients/ClientQrModal.tsx(+65 -54)📝
frontend/src/pages/clients/amneziawgConfig.ts(+5 -5)📝
frontend/src/pages/clients/wireguardConfig.ts(+6 -5)➕
frontend/src/test/multi-tunnel-client-config.test.tsx(+183 -0)📄 Description
Summary
Fixes #6346.
When a client is attached to multiple AmneziaWG or WireGuard inbounds (such as across remote DE and FI nodes),
ClientInfoModalandClientQrModalpreviously only returned the first matching inbound. Subsequent inbounds' configurations, node-specific endpoints, and QR codes were unreachable.Type of change
Areas affected
Changes
findAmneziaWGInboundsandfindWireguardInboundsreturning all matching inbounds.formatTunnelConfigMetainlabel.tsto unifylabel,fileName, andqrRemarkderivation across modals with collision-free naming.addressOverridesupport tobuildWireguardClientConfigmatchingbuildAmneziaWGClientConfig.ClientInfoModaland distinct QR panels inClientQrModalfor every attached tunnel inbound.multi-tunnel-client-config.test.tsxtestingClientInfoModalandClientQrModalrendering and verifying distinct endpoints and keys.Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.