Repository navigation
RepeaterBook search: make "select all" visibly work (#167) - #179
Merged
Merged
Conversation
Select-all took only the repeaters not yet imported. When those sat below the fold, under rows already in the library, the header box ticked and every row on screen stayed blank, so it looked like nothing happened. - After select-all, the first row it took is scrolled into view. - When every row is already imported, select-all takes them to refresh instead of sitting disabled while the rows themselves stay tickable. - Already-imported rows are never mixed into a select-all of new ones: re-importing overwrites RepeaterBook-owned fields (offset, duplex, mode), so that would lose hand edits unasked. - Select-all works off unique ids, and a search keeps one row per repeaterbook_id (filter_records), so a repeated id can no longer stop the box from reading as checked or being cleared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #167.
Cause (from a screenshot of the dev app): select-all took only the repeaters not yet imported. In a Michigan search those sat below the fold, under rows already in the library, so the header box ticked while every row on screen stayed blank.
Changes (
RepeaterBookDialog.tsx,rb_api.rs)repeaterbook_id. A repeated id stopped the box from ever reading as checked or being cleared. It's not known whether RepeaterBook actually sends duplicates; this is defensive. There's a new Rust test for it.Verified
npm run cipasses locally.No release for this one.
🤖 Generated with Claude Code