mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2865] [MERGED] Code refactoring #5285
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#5285
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/2865
Author: @sh1shd
Created: 4/4/2025
Status: ✅ Merged
Merged: 4/6/2025
Merged by: @MHSanaei
Base:
main← Head:refactor/refactor-6📝 Commits (10+)
e801218refactor: use vue inline styles in entire application0725a08refactor: setting row in dashboard page52a3389refactor: use blob for download file in text modalcd3760erefactor: move all html templates inweb/htmlfolder07ac755refactor:DeviceUtils->MediaQueryMixine75cec7chore: pretty right buttons inoutboundstab in xray settingse132b29refactor: add translations for system status3aca18crefactor: adjust gutter spacing in setting list item1243a3crefactor: use nativea-input-passwordfor password fieldbf6350cchore: return old system status📊 Changes
76 files changed (+570 additions, -473 deletions)
View changed files
📝
web/assets/js/util/index.js(+38 -25)📝
web/html/component/aClientTable.html(+26 -26)📝
web/html/component/aCustomStatistic.html(+0 -0)📝
web/html/component/aPersianDatepicker.html(+1 -1)📝
web/html/component/aSettingListItem.html(+1 -1)📝
web/html/component/aSidebar.html(+0 -0)📝
web/html/component/aTableSortable.html(+1 -1)📝
web/html/component/aThemeSwitch.html(+2 -2)📝
web/html/form/allocate.html(+0 -0)📝
web/html/form/client.html(+2 -2)📝
web/html/form/inbound.html(+1 -1)📝
web/html/form/outbound.html(+9 -9)📝
web/html/form/protocol/dokodemo.html(+0 -0)📝
web/html/form/protocol/http.html(+5 -5)📝
web/html/form/protocol/shadowsocks.html(+1 -1)📝
web/html/form/protocol/socks.html(+5 -5)📝
web/html/form/protocol/trojan.html(+1 -1)📝
web/html/form/protocol/vless.html(+2 -2)📝
web/html/form/protocol/vmess.html(+0 -0)📝
web/html/form/protocol/wireguard.html(+2 -2)...and 56 more files
📄 Description
What is a pull request?
This pull request is aimed at improving the code. Here are the changes made:
DeviceUtilshas been converted to mixinMediaQueryMixin. Now the value ofisMobilechanges when the screen size changes.Blobclass to generate and load the file.styleattribute has been rewritten in the templates. It was changed to use Vue inline style.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.