CharlesQueiroz opened a new pull request, #7900: URL: https://github.com/apache/cloudstack/pull/7900
### Description Issue: https://github.com/apache/cloudstack/issues/7181 Added a new getter 'allProjects' and mutation 'RELOAD_ALL_PROJECTS' to centralize the tracking of available projects in the state. This eliminates direct manipulation of the Project list in separate components and improves data consistency across the application. A watcher in ProjectMenu.vue has been implemented to handle changes to the 'allProjects' getter. The 'RELOAD_ALL_PROJECTS' mutation was also added where necessary to ensure the projects list is updated in the state whenever changes occur. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [x] Minor - [ ] Trivial ### How Has This Been Tested? Before fix: https://github.com/apache/cloudstack/assets/2192264/65c7d88b-21ba-409c-aae6-bd1b667afe05 After Fix: https://github.com/apache/cloudstack/assets/2192264/b7ac990d-abd0-454e-b3e2-9c12efc50cb4 https://youtu.be/Ba63mpnie28 <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
