[PR #2785] [MERGED] Code refactoring #5271

Closed
opened 2026-10-31 20:45:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2785
Author: @sh1shd
Created: 3/17/2025
Status: ✅ Merged
Merged: 3/17/2025
Merged by: @sh1shd

Base: main ← Head: refactor/refactor-4


📝 Commits (6)

  • 631744e chore: pretty theme menu in sidebar
  • a83d2cc refactor: renaming component templates
  • 01e260c refactor: create custom a-statistic component
  • 7223d40 fix: display button text only on large screens
  • a4e8506 chore: remove loading background in overview page
  • 89ed9be fix: show Version text when xray version is unknown

📊 Changes

24 files changed (+155 additions, -79 deletions)

View changed files

📝 web/html/login.html (+2 -2)
📝 web/html/xui/common_sider.html (+5 -15)
➕ web/html/xui/component/aCustomStatistic.html (+55 -0)
📝 web/html/xui/component/aPasswordInput.html (+1 -1)
📝 web/html/xui/component/aPersianDatepicker.html (+1 -1)
📝 web/html/xui/component/aSettingListItem.html (+1 -9)
📝 web/html/xui/component/aTableSortable.html (+1 -1)
📝 web/html/xui/component/aThemeSwitch.html (+8 -8)
📝 web/html/xui/inbounds.html (+2 -2)
📝 web/html/xui/index.html (+37 -34)
📝 web/html/xui/settings.html (+3 -3)
📝 web/html/xui/xray.html (+3 -3)
📝 web/translation/translate.en_US.toml (+3 -0)
📝 web/translation/translate.es_ES.toml (+3 -0)
📝 web/translation/translate.fa_IR.toml (+3 -0)
📝 web/translation/translate.id_ID.toml (+3 -0)
📝 web/translation/translate.ja_JP.toml (+3 -0)
📝 web/translation/translate.pt_BR.toml (+3 -0)
📝 web/translation/translate.ru_RU.toml (+3 -0)
📝 web/translation/translate.tr_TR.toml (+3 -0)

...and 4 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2785 **Author:** [@sh1shd](https://github.com/sh1shd) **Created:** 3/17/2025 **Status:** ✅ Merged **Merged:** 3/17/2025 **Merged by:** [@sh1shd](https://github.com/sh1shd) **Base:** `main` ← **Head:** `refactor/refactor-4` --- ### 📝 Commits (6) - [`631744e`](https://github.com/MHSanaei/3x-ui/commit/631744e6984eb7b57d9334ecfec8ef9d013cb71f) chore: pretty theme menu in sidebar - [`a83d2cc`](https://github.com/MHSanaei/3x-ui/commit/a83d2cc6a5950607e3e899f0efd614e104aa0fda) refactor: renaming component templates - [`01e260c`](https://github.com/MHSanaei/3x-ui/commit/01e260cab40549c73d8307da5b42207c373425fa) refactor: create custom `a-statistic` component - [`7223d40`](https://github.com/MHSanaei/3x-ui/commit/7223d40b370098befa0b553ae304c5a8950f6736) fix: display button text only on large screens - [`a4e8506`](https://github.com/MHSanaei/3x-ui/commit/a4e85066b078ea053f04363d91846344cce929ed) chore: remove loading background in overview page - [`89ed9be`](https://github.com/MHSanaei/3x-ui/commit/89ed9be9b2cc6ec51af3a801ab92cc113b8d8440) fix: show `Version` text when xray version is unknown ### 📊 Changes **24 files changed** (+155 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `web/html/login.html` (+2 -2) 📝 `web/html/xui/common_sider.html` (+5 -15) ➕ `web/html/xui/component/aCustomStatistic.html` (+55 -0) 📝 `web/html/xui/component/aPasswordInput.html` (+1 -1) 📝 `web/html/xui/component/aPersianDatepicker.html` (+1 -1) 📝 `web/html/xui/component/aSettingListItem.html` (+1 -9) 📝 `web/html/xui/component/aTableSortable.html` (+1 -1) 📝 `web/html/xui/component/aThemeSwitch.html` (+8 -8) 📝 `web/html/xui/inbounds.html` (+2 -2) 📝 `web/html/xui/index.html` (+37 -34) 📝 `web/html/xui/settings.html` (+3 -3) 📝 `web/html/xui/xray.html` (+3 -3) 📝 `web/translation/translate.en_US.toml` (+3 -0) 📝 `web/translation/translate.es_ES.toml` (+3 -0) 📝 `web/translation/translate.fa_IR.toml` (+3 -0) 📝 `web/translation/translate.id_ID.toml` (+3 -0) 📝 `web/translation/translate.ja_JP.toml` (+3 -0) 📝 `web/translation/translate.pt_BR.toml` (+3 -0) 📝 `web/translation/translate.ru_RU.toml` (+3 -0) 📝 `web/translation/translate.tr_TR.toml` (+3 -0) _...and 4 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5271
No description provided.