-
Notifications
You must be signed in to change notification settings - Fork 69
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: [project] Optimize project tree icon loading and parsing #1013
Conversation
Refactored project tree icon loading mechanism and parsing process to improve performance and maintainability: - Moved icon loading from individual items to ProjectModel data() method - Added ProjectItemRole enum for icon name and file path roles - Replaced direct icon setting with role-based data storage - Implemented stop mechanism for cmake async parsing - Moved cmake parser to separate thread for better responsiveness - Unified parsing state role usage across project types - Removed redundant icon loading code from various parsers - Added sorting capability to project tree Log: Optimize project tree icon loading and parsing mechanism
deepin pr auto review代码审查意见:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deepin-mozart, Kakueeen, LiHua000 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Refactored project tree icon loading mechanism and parsing process to improve
performance and maintainability:
Log: Optimize project tree icon loading and parsing mechanism