Repository navigation
Find similar: show a spinner on the file being searched - #217
Merged
Merged
Conversation
A search that takes more than a quarter second (a long video) darkens the tile it was started from with a spinner and "Finding similar...", and the header's file count reads "Finding files similar to #N...", so the click visibly did something. The list view gets a smaller spinner in the row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Right-click → Find similar images on a large video can take a second or two, and until now nothing on screen changed in that time, so the click looked like it had done nothing.
Now, when a search takes more than a quarter second, the tile it was started from darkens and shows a spinner with "Finding similar…", and the header's file count reads "Finding files similar to #N…". The list view gets a smaller spinner in the row. Both clear when the results arrive, or when the search fails. Searches faster than a quarter second show nothing, so they don't flicker.
Front end only (
app.js,index.html); the search itself is unchanged. Checked: the JavaScript parses (node --check), and the related tests pass. The examiner is trying it in a local build.🤖 Generated with Claude Code