mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5163] [MERGED] feat(sub): add Copy All Configs button to subscription page #5797
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#5797
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/5163
Author: @NikanZeyaei
Created: 6/10/2026
Status: ✅ Merged
Merged: 6/11/2026
Merged by: @MHSanaei
Base:
main← Head:feature/copy-all-configurations📝 Commits (9)
1dab4a8feat(sub): add Copy All Configs button to subscription pageecb4d65Merge branch 'main' into feature/copy-all-configurations4328b66Merge branch 'main' into feature/copy-all-configurations2ef47ebfix(sub): include links in copyAll dependency array9917e37chore: fmt46e6bbaMerge branch 'main' into feature/copy-all-configurationsef8ca56Merge branch 'main' into feature/copy-all-configurations07b8381Merge branch 'main' into feature/copy-all-configurationsf4bab47fix(sub): drop module-level links from copyAll deps to satisfy exhaustive-deps📊 Changes
14 files changed (+58 additions, -13 deletions)
View changed files
📝
frontend/src/pages/sub/SubPage.tsx(+19 -0)📝
internal/web/translation/ar-EG.json(+3 -1)📝
internal/web/translation/en-US.json(+3 -1)📝
internal/web/translation/es-ES.json(+3 -1)📝
internal/web/translation/fa-IR.json(+3 -1)📝
internal/web/translation/id-ID.json(+3 -1)📝
internal/web/translation/ja-JP.json(+3 -1)📝
internal/web/translation/pt-BR.json(+3 -1)📝
internal/web/translation/ru-RU.json(+3 -1)📝
internal/web/translation/tr-TR.json(+3 -1)📝
internal/web/translation/uk-UA.json(+3 -1)📝
internal/web/translation/vi-VN.json(+3 -1)📝
internal/web/translation/zh-CN.json(+3 -1)📝
internal/web/translation/zh-TW.json(+3 -1)📄 Description
Summary
Closes https://github.com/MHSanaei/3x-ui/issues/5148
Adds a "Copy All Configs" button to the subscription detail page (
SubPage.tsx) that copies all individual config URIs (vless://, vmess://, trojan://, etc.) to the clipboard at once, separated by newlines.Why
Closes the enhancement request where users with multiple nodes in a subscription had to copy each config one by one. This saves time and improves the experience for tools that don't support subscription URLs directly.
Type of change
Areas affected
How was this tested?
cd frontend && npm run typecheck && npm run lint && npm run build— all pass.go run .locally./sub/<sub-id>?html=1in both mobile (375px) and desktop widths.Screenshots / recordings
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.