Repository navigation
Use the shared ArchiveBox search editor on Android - #24
Merged
Merged
Conversation
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
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.
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).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:solarwithin the*.example.orgdomain kept the domain filter. In the Smart Folder shown below, the same search returned only Solar Panel Field Guide.