mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5607] [CLOSED] feat(wireguard): manage peers as clients #5925
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#5925
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/5607
Author: @mrAntonD
Created: 6/27/2026
Status: ❌ Closed
Base:
main← Head:feat/wireguard-clients📝 Commits (10+)
1e9290ffeat(wireguard): manage WG peers as clients on the Clients page67ed0c8fix(wg): fix peer data loss, delete error, QR/info for WireGuard clients053200efeat(wg): show config text and download button in QR modalf7c09e4fix(wg): next IP suggestion, QR public key, and malformed JSON on add236e49cfix(wg): toggle enable/disable and show config in QR modal9231c00feat(wg): download config in info/edit modals, preserve wgPeer on hydratefe18197feat(wg): hide subscription/links blocks for WireGuard clients13ff78aperf(wg): patch peers[] in-place instead of full DB rebuild on add/update/delf4317c9fix(ci): register WgPeerSettings in codegen and document WG client endpoints962b9a3fix(ci): regenerate openapi.json after adding WG client endpoint docs📊 Changes
36 files changed (+2269 additions, -522 deletions)
View changed files
📝
frontend/public/openapi.json(+236 -2)📝
frontend/src/generated/examples.ts(+13 -2)📝
frontend/src/generated/schemas.ts(+43 -1)📝
frontend/src/generated/types.ts(+10 -0)📝
frontend/src/generated/zod.ts(+11 -0)📝
frontend/src/hooks/useClients.ts(+3 -0)📝
frontend/src/lib/xray/inbound-defaults.ts(+9 -9)📝
frontend/src/pages/api-docs/endpoints.ts(+30 -0)📝
frontend/src/pages/clients/ClientFormModal.tsx(+356 -122)📝
frontend/src/pages/clients/ClientInfoModal.css(+8 -0)📝
frontend/src/pages/clients/ClientInfoModal.tsx(+223 -96)📝
frontend/src/pages/clients/ClientQrModal.tsx(+113 -13)📝
frontend/src/pages/clients/ClientsPage.tsx(+54 -2)📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+1 -7)📝
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(+3 -123)📝
frontend/src/pages/inbounds/info/InboundInfoModal.tsx(+18 -86)📝
frontend/src/pages/inbounds/qr/QrCodeModal.tsx(+3 -2)📝
frontend/src/pages/inbounds/useInbounds.ts(+15 -2)📝
frontend/src/schemas/client.ts(+10 -0)📝
internal/database/model/model.go(+47 -22)...and 16 more files
📄 Description
Replaces #5466.
Updated on top of latest main. Merge conflicts resolved.
Checks:
npm run typecheckgo test ./...🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.