Repository navigation
Launcher lists recently opened apps, desk fills the gap - #1373
Merged
Merged
Conversation
The launcher's empty query used to list the sidebar's desk (Projects, newest-added first). It now lists the recently opened apps, newest open first, with the desk's remaining rows filling any gap below them. The recency clock is the one Home's strip already reads: the three "opened" stores GET /render writes (workspace app_recents.json, linked apps' openedAt, opened .fused files), merged by the new routers.apps.recent_apps, which api_home_apps now calls too. Rows carry a `recent` flag beside `pinned`; a search tie resolves recent-first since ties keep registry order. The global <modifier>+N shortcuts still open the Nth desk app: a stable target that only reorders by hand. In the panel the digits follow the rows shown, as before. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
<modifier>+1–9 pressed outside the panel now opens the Nth row of the launcher's empty-query list (recently opened first, then the desk) instead of the Nth desk app, so the digit means the same app whether or not the panel is up — one list by design (owner, 2026-10-03). Resolved at press time through the cached registry. Preferences copy and docstrings follow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 launcher (⌥Space) with an empty query used to list the sidebar's Projects desk, newest-added first. It now lists the recently opened apps, newest open first; desk apps not yet listed fill the remaining rows (up to 9), so a fresh machine with no opens still shows something.
The global
<modifier>+1–9shortcuts follow the same list: pressed anywhere, they open the Nth row the panel would show before typing. One list by design.How
routers/apps.py: the merge-and-sort of the three "opened" stores (workspaceapp_recents.json, linked apps'openedAt, opened.fusedfiles, all stamped byGET /renderper D301) moves out ofapi_home_appsintorecent_apps(limit). Home calls it; the launcher calls it. One clock for "recently opened".launcher.py:recent_rows()shapes those into launcher rows with a newrecentflag (pinnedstill means "on the desk"). The registry is now recents → desk → workspace/linked → exported;search("")returnsrecent or pinned. Ties in a typed search keep registry order, so a recent app outranks a never-opened one with the same match.nth_pinnedresolves the global digit through the samesearch("")at press time.launcher.html: empty-state copy "Nothing opened yet".Preferences.tsx: shortcut copy describes the one list.🤖 Generated with Claude Code
Note
Medium Risk
Changes global hotkey targets and launcher ordering at press time; behavior is covered by updated tests but affects a macOS user-facing shortcut path.
Overview
The macOS launcher’s empty-query list no longer mirrors only the sidebar Projects desk (newest-added first). It now leads with recently opened apps (newest open first), then fills remaining slots with desk apps that aren’t already listed—so global ⌥1–9 and the panel show the same ordering before you type.
recent_apps(limit)inrouters/apps.pycentralizes the merge of workspace recents, linked apps’openedAt, and opened.fusedfiles; Home’s strip and the launcher both call it so “recent” has one clock.launcher.pyaddsrecent_rows(), arecentrow flag, registry ordering recents → desk → workspace/linked → exported, emptysearchasrecent or pinned, andnth_pinnedresolved through that empty-query list at press time. Copy updates in Preferences andlauncher.html(“Nothing opened yet”).Reviewed by Cursor Bugbot for commit bc794ef. Bugbot is set up for automated code reviews on this repo. Configure here.