Repository navigation
feat(launcher): let Store-installed apps be hidden in Settings > Launcher - #289
wearewatchingyouclosely wants to merge 1 commit into
Conversation
…cher - desktop_app_loader / DynamicAppRegistration: Store-installed desktop apps are configurable like preinstalled ones instead of always-on; a missing switch still means shown, so nothing changes until the user hides an app - settings_launcher_model: list Store-installed apps in Settings > Launcher - tests: update the settings model, registry and loader-contract expectations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
To add some context and a Chinese summary for this PR: the goal is to let apps installed from the Store be hidden from the home carousel, like preinstalled apps already can. Today the launcher treats every Store-installed This PR is a small change that gives Store-installed apps the same configurable switch as preinstalled ones. A missing switch still means shown, so nothing changes for anyone until they hide something. Tests are updated, and I've run the same change on a CardputerZero. I'm happy to adjust it to whatever approach you prefer. 中文(机器翻译) 为本 PR 补充一些背景和中文说明:目标是让从商店安装的应用也能从主屏轮播中隐藏,就像预装应用现在已经可以做到的那样。 目前启动器把所有从商店安装的 本 PR 是一个很小的改动,让商店安装的应用与预装应用一样拥有可配置的开关。没有开关时仍然表示显示,所以在用户主动隐藏之前,任何人的使用体验都不会改变。测试已同步更新,我也在 CardputerZero 实机上运行过同样的改动。如果你们更倾向于其他实现方式,我很乐意调整。 |
Why
Apps installed from the Store can't be removed from the home carousel without uninstalling them: the launcher
marks every Store-installed
.desktopapp as always-on, ignores itsapp_desktop_*switch, and leaves it out ofSettings > Launcher. Preinstalled apps and built-in pages can already be hidden. Once a few apps are installed,
the carousel gets long, and there's no way to keep an app installed but off the home screen.
What changes
desktop_app_loader.cppandmodel/dynamic_app_registry.hpp: Store-installed apps get the sameconfigurable = true, always_on = falsedescriptor as preinstalled ones.settings/settings_launcher_model.hpp:is_launcher_settings_origin()also acceptsStoreInstalled, sothose apps appear in Settings > Launcher with a switch.
test_settings_models.cpp,test_dynamic_app_registry.cpp, including theloader source contract).
What doesn't change
app_desktop_<file>_<fnv1a>ones.Testing
sh projects/APPLaunch/tests/run_tests.shpasses.launcher-v0.6.105(applaunch 0.6.105): a Store apphidden via its switch disappears from the carousel after the launcher reloads, and comes back when shown again.
Context
Found while building All Apps, a Store app that lists every
launcher app, runs hidden ones and toggles their switches. Today it can hide built-ins and preinstalled apps but
has to tell users that Store apps can't be hidden.
🤖 Generated with Claude Code