Repository navigation
docs(test): correct switch_picker comments about skim's on-screen counters - #2733
Merged
Merged
Conversation
…nters Two comment-only fixes following #2729: - `is_skim_ready` no longer claims skim "displays item count like 1/3" — the picker uses `no_info(true)`, so it doesn't. - The snapshot filter that normalizes the trailing `N/M` on the preview pane's first line now correctly attributes it to skim's previewer vertical-scroll indicator (`{vscroll_offset}/{content.len()}`, reverse video, right-aligned), not the matcher's matched/total counter. The filter itself is unchanged. Co-Authored-By: Claude <[email protected]>
worktrunk-bot
approved these changes
May 12, 2026
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.
Two comment-only fixes following #2729 — no behavioral change, no snapshot change.
is_skim_readyno longer claims skim "displays item count like 1/3"; the picker usesno_info(true), so it doesn't render that.N/Mon the preview pane's first line now correctly attributes it to skim's previewer vertical-scroll indicator ({vscroll_offset}/{content.len()}, drawn in reverse video at the right edge — seeskim::previewer::Previewer::draw), rather than the matcher's matched/total counter. The earlier comment's misattribution is what led test(switch_picker): gate stability on matcher/display consistency #2345's stability check to parse the wrong thing; fix(test): gate switch_picker stability on matcher row count, not preview vscroll #2729 fixed the check, this fixes the comment so the misunderstanding doesn't resurface. The filter regex and replacement string are untouched.