mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2732] [MERGED] Code refactoring #5255
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#5255
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/2732
Author: @sh1shd
Created: 3/7/2025
Status: ✅ Merged
Merged: 3/7/2025
Merged by: @MHSanaei
Base:
main← Head:refactor/refactor-1📝 Commits (3)
7483fb2refactor: deletebase64js26bf693refactor: move copy function to utils.js0a207b8refactor: merging all util functions into classes📊 Changes
18 files changed (+307 additions, -325 deletions)
View changed files
➖
web/assets/base64/base64.min.js(+0 -1)📝
web/assets/js/langs.js(+5 -5)📝
web/assets/js/model/dbinbound.js(+2 -2)📝
web/assets/js/model/inbound.js(+10 -10)➖
web/assets/js/util/common.js(+0 -212)📝
web/assets/js/util/date-util.js(+2 -2)📝
web/assets/js/util/index.js(+191 -0)📝
web/html/common/js.html(+1 -2)📝
web/html/common/qrcode_modal.html(+9 -7)📝
web/html/common/text_modal.html(+6 -4)📝
web/html/xui/form/client.html(+4 -4)📝
web/html/xui/inbound_client_table.html(+11 -11)📝
web/html/xui/inbound_info_modal.html(+18 -16)📝
web/html/xui/inbounds.html(+26 -27)📝
web/html/xui/index.html(+14 -14)📝
web/html/xui/settings.html(+1 -1)📝
web/html/xui/warp_modal.html(+3 -3)📝
web/html/xui/xray.html(+4 -4)📄 Description
What is a pull request?
A little code refactoring was done in this pull request:
base64jslibrary was removed and the standard JS functionswindow.atob()andwindow.btoa()are used instead.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.