mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6646] [CLOSED] Feat/traffic multiplier #6394
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#6394
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/6646
Author: @Lidociane
Created: 9/24/2026
Status: ❌ Closed
Base:
main← Head:feat/traffic-multiplier📝 Commits (4)
dd0b7fcfeat(traffic): bill node traffic deltas at the node's multiplierc545e4efeat(nodes): expose the traffic multiplier on the node APIa284176feat(ui): add the node traffic multiplier field and badge6f5811echore(api): regenerate schemas for the node traffic multiplier📊 Changes
31 files changed (+840 additions, -16 deletions)
View changed files
📝
frontend/public/openapi.json(+32 -3)📝
frontend/src/generated/examples.ts(+4 -1)📝
frontend/src/generated/schemas.ts(+23 -0)📝
frontend/src/generated/types.ts(+3 -0)📝
frontend/src/generated/zod.ts(+3 -0)📝
frontend/src/pages/api-docs/endpoints.ts(+3 -3)📝
frontend/src/pages/nodes/NodeFormModal.tsx(+26 -0)📝
frontend/src/pages/nodes/NodeList.tsx(+29 -0)📝
frontend/src/schemas/node.ts(+5 -0)📝
internal/database/db.go(+13 -0)📝
internal/database/model/model.go(+6 -0)➕
internal/database/node_traffic_multiplier_migration_test.go(+95 -0)➕
internal/traffic/multiplier.go(+63 -0)➕
internal/traffic/multiplier_test.go(+74 -0)📝
internal/web/service/inbound_node.go(+28 -4)📝
internal/web/service/node.go(+59 -5)📝
internal/web/service/node_contract.go(+10 -0)➕
internal/web/service/node_traffic_multiplier_test.go(+338 -0)📝
internal/web/translation/ar-EG.json(+2 -0)📝
internal/web/translation/en-US.json(+2 -0)...and 11 more files
📄 Description
Summary
Why
Type of change
Areas affected
How was this tested?
Screenshots / recordings
Breaking changes
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.