Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 完善日志系统,增加并完善一个api * 完善ci,新建启动器,优化用户体验 * 嘗試讓他能作爲pip包 * 重構配置部分 * 更新工作流 * 修正一個錯誤 * feat: 初步實現GUI * fix: 優化import * fix: 修正若干問題,添加加載pip模塊的功能 * docs: 創建文檔 * 更新CI * fix:修正UI的幾個錯誤 * build: 修正構建時建制UI的相關問題 * fix:修改了輸出兩次《宇宙安全生命》(X)的bug * docs: 起草文檔而已 * feat: 完成插件列表功能 * feat(設置頁面的初始化): * feat: 添加自動跟蹤功能 * feat(設置頁面的初始化): * fix:修復一些小問題 * feat(config-registrar): add ConfigTree and improve ConfigKey - Implement new ConfigTree class for managing configuration hierarchies. - Refactor ConfigKey class to support default values and options. - Add utility functions for obtaining default values of various types. - Update ConfigRegistrar to utilize the new ConfigTree and ConfigKey features. - Modify GUI_main to handle configuration items as ConfigKey or ConfigTree. - Resolve conflicts in GUI_main.py during merge from origin/dev. BREAKING CHANGE: The configuration management system has been overhauled, introducing new classes and changing the behavior of existing ones. Update your code to use ConfigTree and the refactored ConfigKey. * feat(config-registrar): add has_option method and improve GUI handling - Add a new method `has_option` in the config_registrar.ConfigKey class.- Refactor GUI_main to improve item widget handling and data setting. - Resolve conflicts and adjust the layout in the main.ui file. - Update Ui_MainWindow to reflect layout and widget changes. - The configuration editor now correctly handles editable items and displays options as comboboxes where appropriate. BREAKING CHANGE: The configuration handling has been modified, which might affect users depending on the previous implementation. * feat(config-registrar): add merge functionality and improve type handling - Implement new merge method in ConfigKey to combine configurations. - Refactor set method to improve type checking and value assignment. - Add get_type method to retrieve the type of the stored value. - Modify ConfigTree constructor to support new argument 'allow'.- Simplify list and dict construction within ConfigTree. - Remove unused code and resolve conflicts in GUI_main and Ildm.yaml. * 修改CI * feat(config-registrar): implement to_list method and improve type handling - Add a new to_list method in ConfigTree to convert tree structure to a list.- Refactor to_dict method to improve the conversion of tree content to a dictionary. - Extend merge method to handle the combination of two configuration trees. - Add debugging statements and TODO comments for future development. - Remove outdated TODO comments and clean up the code structure. * fix: 修復配置合并的問題,但是本次修復并不充分,仍然需要繼續測試和修復 * feat(config-registrar): add comprehensive tests for ConfigKey and ConfigTree Implement new tests to ensure proper functionality and edge case handling for ConfigKey and ConfigTree classes. This includes testing initialization,value setting, type conversion, option handling, and merge capabilities. Additionally, refactor some code in config_registrar.py for better clarity and fix a bug where None was an invalid value for ConfigKey. * feat(config-registrar): add comprehensive tests for ConfigKey and ConfigTree Implement new tests to ensure proper functionality and edge case handling for ConfigKey and ConfigTree classes. This includes testing initialization,value setting, type conversion, option handling, and merge capabilities. Additionally, refactor some code in config_registrar.py for better clarity and fix a bug where None was an invalid value for ConfigKey. * build(將不再支持python3.9以下): * feat(config-registrar): add schema validation for configuration trees Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic. * feat(config-registrar): add schema validation for configuration trees Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic. * feat(config-registrar): add schema validation for configuration trees Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic. * docs(readme): optimize image size and correct script execution command - Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command. * docs(readme): optimize image size and correct script execution command - Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command. * docs(readme): optimize image size and correct script execution command - Reduce the size of the icon image in the README to improve page loading times. - Correct the spelling error in the Python module name for starting the ictye-live-dm project to ensure users can successfully execute the startup command. feat(config-registrar): add schema validation for configuration trees Introduce a new ConfigSchema class to perform validation of configuration trees against predefined schemas. This enhancement allows for stricter validation of configuration data, ensuring that it adheres to the expected structure and types. The schema validation system is designed to be extendable, allowing for custom schema classes to be defined for more complex validation logic.
- Loading branch information