Skip to content

feat(apps-menu): add a setting to choose the view shown when opening - #1884

Merged
eythaann merged 1 commit into
eythaann:masterfrom
z1pp090:feat/apps-menu-default-view
Oct 8, 2026
Merged

eythaann merged 1 commit into
eythaann:masterfrom
z1pp090:feat/apps-menu-default-view

Conversation

@z1pp090

@z1pp090 z1pp090 commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

What

The start menu always opens on the favorites view: onTriggered resets globalState.view to StartView.Favorites every 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:

  • Favorites (default, current behavior)
  • All apps

How

  • src/static/widgets/apps-menu/metadata.yml: new select setting defaultView (favorites | all), defaultValue: favorites, same pattern as the settings of @seelen/flyouts and @seelen/task-switcher.
  • state/mod.svelte.ts: globalState.defaultView reads it with settings.value.getCurrentWidgetConfig(). Any value other than all falls back to favorites.
  • state/positioning.svelte.ts: onTriggered sets globalState.view = globalState.defaultView instead of the hardcoded favorites. The "All apps" / "Back" button and the search (which still jumps to all apps) work as before.
  • Labels in i18n/settings/default-view*.yml, translated with the repo's GoogleTranslator.

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.
  • Without the setting: the menu opens on favorites, as before.

Not tested: changing the option from the Settings UI (only by editing settings.json).

deno fmt --check, deno lint, tsc --noEmit, svelte-check and cargo test pass, and the CI passed on my fork.

🤖 Generated with Claude Code

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.
@greptile-apps

greptile-apps Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Apps menu adds a user-settable default view option.

The PR appears safe to merge.

Summary

The PR adds a Favorites or All apps opening-view preference to the apps menu, with Favorites retained as the default.

  • Adds a widget setting and translated labels.
  • Applies the selected view each time the menu opens.

Reviews (1) · Last reviewed commit: "feat(apps-menu): add a setting to choose..."

@eythaann
eythaann merged commit 936b8c6 into eythaann:master Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants