Skip to content

Use the shared ArchiveBox search editor on Android - #24

Merged
pirate merged 5 commits into
mainfrom
codex/shared-search-editor
Nov 23, 2026
Merged

pirate merged 5 commits into
mainfrom
codex/shared-search-editor

Conversation

@pirate

@pirate pirate commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

In a library view, Android’s Search tab focuses that page’s own search field. The page retains its folder, tag, domain, sort, and filters when the query runs. The Archive home screen and pages without a search field open the signed-in server’s standalone editor. The server supplies operator suggestions, badge editing, and streamed results. The authenticated WebView preserves the submitted Snapshot results URL through activity recreation. The shared field and interpreter are in ArchiveBox/ArchiveBox#1993.

The Pixel 6 screenshots below show the previous native mode picker, a collection tag suggested below a wrapped query with Gboard open, and the two snapshots returned by tags:solar AND (title:"Solar Panel" OR title:Atlas).

Previous Search on main Shared editor and tag suggestions Submitted search and matching snapshots
Previous Android search with the mode picker open Android editing a quoted title and a tag with scoped suggestions Android Snapshot admin showing results for the grouped search

On Android API 37, title:"a & b/日本語" survived submission and Activity recreation. Switching between two independent collections opened a fresh search with the selected server’s credentials. The same device test passed on released ArchiveBox 0.9.78rc419, where the missing editor endpoint falls back to the existing Snapshot search. Search deep links continue to open results directly.

Search within an active library view

On the Pixel, the selected tag remained in the results URL through submission and activity recreation. Searching title:solar within the *.example.org domain kept the domain filter. In the Smart Folder shown below, the same search returned only Solar Panel Field Guide.

Android searching title:solar in a Smart Folder with one matching snapshot

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 11 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 5 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 5 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@pirate
pirate merged commit 3c5ce29 into main Nov 23, 2026
11 checks 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.

1 participant