mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5169] [CLOSED] feat: add support for annotating WireGuard peers with human-readable comments #5801
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#5801
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/5169
Author: @rqzbeh
Created: 6/10/2026
Status: ❌ Closed
Base:
main← Head:feat/wireguard-peer-comments📝 Commits (3)
91eda37feat: add support for annotating WireGuard peers with human-readable comments636fd35fix: resolve ESLint issues in QrCodeModal8557eb0Merge branch 'main' into feat/wireguard-peer-comments📊 Changes
5 files changed (+67 additions, -7 deletions)
View changed files
📝
frontend/src/pages/inbounds/form/protocols/wireguard.tsx(+3 -0)📝
frontend/src/pages/inbounds/info/InboundInfoModal.tsx(+7 -4)📝
frontend/src/pages/inbounds/qr/QrCodeModal.tsx(+18 -3)📝
frontend/src/schemas/protocols/inbound/wireguard.ts(+1 -0)📝
internal/database/model/model.go(+38 -0)📄 Description
Summary
Adds the ability to annotate WireGuard peers with human-readable comments.
Why
When managing a WireGuard inbound with many peers, it's impossible to tell at a glance which peer belongs to which client or device because Xray config limits peers to IP and public key.
Closes #5168.
Type of change
Areas affected
How was this tested?
commentfield by running tests.Screenshots / recordings
N/A
Breaking changes
None
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.