Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Separate UI drawing logic from specific execution logic #10

Open
Bli-AIk opened this issue Dec 30, 2024 · 1 comment
Open
Labels
Challenging This issue requires advanced skills, deeper understanding, or significant effort to resolve. Refactoring This issue involves improving the code structure or design without changing its external behavior.

Comments

@Bli-AIk
Copy link
Owner

Bli-AIk commented Dec 30, 2024

Relates to #11

refactor: Separate UI drawing logic from specific execution logic

Is your functional requirement related to a problem? Please describe
Currently, the drawing logic and specific execution logic of all UI interfaces in the project are not separated, but written in the same script.
This is not convenient for UI expansion, and it is impossible to develop a custom UI and UI manager on the existing basis.
This work is related to Issue #11 .

Describe the solution you want
Separate the UI drawing logic and specific execution logic of UI interfaces such as MENU interface, setting interface and OW archive interface.
Given that there are many interfaces that need to be modified, it is recommended to discuss under this issue before anyone accepts it, and then create a new issue for the specific UI interface to be accepted, and accept it in the new issue.

Describe the alternatives you have considered
None.

Other related information
None.


refactor: 分离 UI 绘制逻辑与具体执行逻辑

您的功能需求是否与某个问题相关?请描述
目前项目中的所有UI界面的绘制逻辑与具体执行逻辑并没有分离,而是写在同一个脚本内。
这不便于对UI进行拓展,也无法在现有基础上开发自定义 UI 和 UI 管理器。
这项工作与 Issue #11 存在关联。

描述您希望的解决方案
分离 MENU 界面、设置界面 与 OW 存档界面等 UI 界面的 UI 绘制逻辑与具体执行逻辑。
鉴于需要修改的界面较多,在任何人受理前,建议先在本Issue下进行讨论,然后针对具体受理的UI界面建立新Issue,在新Issue中进行受理。

描述您考虑过的替代方案
暂无。

其他相关信息
暂无。

@Bli-AIk Bli-AIk added Challenging This issue requires advanced skills, deeper understanding, or significant effort to resolve. Refactoring This issue involves improving the code structure or design without changing its external behavior. labels Dec 30, 2024
@Bli-AIk Bli-AIk moved this to Todo in UCT-General-Plan Dec 30, 2024
@Bli-AIk
Copy link
Owner Author

Bli-AIk commented Feb 25, 2025

也许可以考虑MVVM模式...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Challenging This issue requires advanced skills, deeper understanding, or significant effort to resolve. Refactoring This issue involves improving the code structure or design without changing its external behavior.
Projects
Status: Todo
Development

No branches or pull requests

1 participant