Repository navigation
feat(apps-menu): add a setting to choose the view shown when opening - #1884
Merged
Merged
Conversation
The start menu always resets to the favorites view on open. Add a `defaultView` widget setting (favorites | all apps) so users can open straight into the full app list. Defaults to favorites, so the current behavior is unchanged.
Contributor
|
eythaann
approved these changes
Oct 8, 2026
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
The start menu always opens on the favorites view:
onTriggeredresetsglobalState.viewtoStartView.Favoritesevery time it is shown. People who prefer the full app list have to click "All apps" on every open.This adds a widget setting to choose the view shown when the menu opens:
How
src/static/widgets/apps-menu/metadata.yml: newselectsettingdefaultView(favorites|all),defaultValue: favorites, same pattern as the settings of@seelen/flyoutsand@seelen/task-switcher.state/mod.svelte.ts:globalState.defaultViewreads it withsettings.value.getCurrentWidgetConfig(). Any value other thanallfalls back to favorites.state/positioning.svelte.ts:onTriggeredsetsglobalState.view = globalState.defaultViewinstead of the hardcoded favorites. The "All apps" / "Back" button and the search (which still jumps to all apps) work as before.i18n/settings/default-view*.yml, translated with the repo'sGoogleTranslator.Tested
Local debug build on Windows 11:
byWidget["@seelen/apps-menu"].defaultView = "all": the menu opens directly on the full app list, with the "Back" button.Not tested: changing the option from the Settings UI (only by editing
settings.json).deno fmt --check,deno lint,tsc --noEmit,svelte-checkandcargo testpass, and the CI passed on my fork.🤖 Generated with Claude Code