You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
People with many sessions can find one by typing part of its title, instead of scrolling the Home list.
Split out of #869 (keyboard and mouse support), which lists ⌘F / Ctrl+F "search sessions" as an app shortcut. Neither app has a session search today, so the shortcut has nothing to open.
Acceptance
Home has a session search on iOS and Android, following the design-system component-first workflow.
It filters the sessions Home shows by title, within the current project scope.
With a hardware keyboard, ⌘F on iPad and Ctrl+F on Android open and focus it. The shortcut is listed in the iPad menu bar and hold-⌘ overlay, and in the Android Keyboard Shortcuts Helper, with the same gating as the other Keyboard and mouse support #869 app shortcuts.
Settled with the Home ⋯ menu prototype (shared with #833). One design for both apps.
Entry points
Home's top-bar ⋯ menu gets Search sessions as its first entry (the menu itself lands separately; search is wired into it once it is on main).
⌘F on iPad, Ctrl+F on Android open search and focus the field. Listed with the other app shortcuts (iPad menu bar and hold-⌘ overlay, Android Keyboard Shortcuts Helper) and gated the same way.
Screen
Search covers Home's pane, field focused with the keyboard up. A back button sits left of the field; the placeholder names the scope ("Search in All projects").
A scope chip under the field starts at Home's current project scope (a worktree scope searches its project) and opens a menu of All projects plus each project, so the scope changes without leaving search.
Before typing: only a short hint ("Matches session titles in ."). No recent searches.
Results: an "N results" header, then Home's normal session row (either row style) with the matched part of the title highlighted. A spinner shows in the field while a server request runs. Tapping a result opens the session; Back returns to search with query and scope kept. On split layouts the session opens beside search.
No match: "No sessions match “q”" in , with a Search all projects button only when another project has a match.
Server or local search? Both. v2 GET /api/session takes search (title, case-insensitive LIKE), and v1 GET /session takes search and roots (opencode 1.x since Feb 2026). Results from Home's loaded rows show on every keystroke; the server search runs 250 ms after the last keystroke (at once on a scope change), one request per listed path in scope, and also finds sessions Home has not loaded. The reply is filtered locally again (roots, not archived, title match), so an older v1 server that ignores search still gives correct results. Home's copy of a session wins over the server's, since it carries live status. If the server request fails, the local results stay.
Archived sessions? Not in this change. An "Include archived" chip (hidden on servers without archive support, archived matches in their own section) follows once archived listing lands with Restore archived sessions and remove worktrees #833.
Activity
#869 Tier 2: Power-user shortcuts and mouse basics
#869 Tier 2: Power-user shortcuts and mouse basics
#869 Tier 2: Power-user shortcuts and mouse basics
#869 Keyboard and mouse support (#928)
ivanfenenko commentedon Nov 3, 2026
Settled design
Settled with the Home ⋯ menu prototype (shared with #833). One design for both apps.
Entry points
main).Screen
Open questions, answered
GET /api/sessiontakessearch(title, case-insensitiveLIKE), and v1GET /sessiontakessearchandroots(opencode 1.x since Feb 2026). Results from Home's loaded rows show on every keystroke; the server search runs 250 ms after the last keystroke (at once on a scope change), one request per listed path in scope, and also finds sessions Home has not loaded. The reply is filtered locally again (roots, not archived, title match), so an older v1 server that ignoressearchstill gives correct results. Home's copy of a session wins over the server's, since it carries live status. If the server request fails, the local results stay.#929 Search sessions as the first Home menu entry
#929 Android: Include archived in session search
#929 iOS: Include archived in session search
#929 Search: keep server matches through failures, typing and Home ch…
#929 Keep the Android overflow menu at its content width with a divider
#929 Android: show the search chips' titles
#929 #833 Home top-bar overflow menu (#976)
#929 iOS: search the v1 worktrees Home folds into a project