feat: add "Clear recent projects" menu entry (#11401) - #11413
Closed
BenJule wants to merge 1 commit into
Closed
Conversation
There was no way to clear the recent projects list from the UI. The only workaround was deleting config files by hand. Add a "Clear recent projects" item to the File menu, next to the Recent projects submenu. It empties both the in-memory FileHistory and the persisted recent_projects config and saves, and is disabled when the list is already empty. Closes bambulab#11401
Contributor
Author
tonghao-bbl
removed their request for review
August 7, 2026 10:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Closes #11401. Adds a "Clear recent projects" entry to the File menu so the recent projects list can be cleared from the UI. Until now the only way was to delete config files by hand.
Change
The new item sits next to the existing "Recent projects" submenu. When clicked it removes every entry from the in-memory FileHistory, clears the persisted recent_projects config and saves. It is disabled when the list is already empty, using the same condition as the submenu.
Note
No GUI build here, so I have not clicked it in a running build. CI covers compilation. It reuses existing, already-used APIs (FileHistory::RemoveFileFromHistory, AppConfig::set_recent_projects and save), so the risk is low. Happy to move it inside the submenu instead if you prefer that placement.