Use the server search field on iPhone, iPad, and Mac

Merged
PI
13h ago
+190-218

Tapping Search archive in the sidebar opens the server's Snapshot search field with the keyboard focused. Opening Search from a filtered Snapshot list or grid keeps the same WebKit page, draft, and active filters. The server provides operator badges, scoped suggestions, and streamed results. The plain field on older servers still receives focus. ArchiveBox server change

Shortcuts and Spotlight send the query through the existing snapshots REST endpoint. The server can interpret operators such as deep: because the client no longer forces metadata-only search.

On an iPhone 17 Pro simulator running iOS 26.5, submitting tags:"solar-research" AND title:"Solar Panel Field Guide" returned one matching snapshot from four. The screenshots show the native field on main (683bf5b), then the editor and its result on this branch (042896a).

Sidebar field on mainOperator field with keyboardSubmitted query
Plain iPhone sidebar search field with its keyboard openTwo query operators and title suggestions above the iPhone keyboardSolar Panel Field Guide returned as the single matching snapshot

Summary by cubic

The sidebar's native search field is replaced with a button that opens and focuses the server's own Snapshot search editor on iPhone, iPad, Mac, and web.

  • The server supplies autocomplete, operator suggestions, badge editing, and streamed results; older servers with the plain Django input still receive focus.
  • Returning to search when the Snapshots list is displayed reuses that page's authenticated session, draft, and current folder, tag, domain, or filter selections.
  • Removed the hardcoded search_mode=meta from the REST search path and client API so the connected server interprets operators like deep:.
  • Each focus request is consumed once the page is ready, so a later tap can retry if the field was unavailable.