Repository navigation
feat(prompts): move the arrow to the edge of the page before the list scrolls - #254
Merged
Merged
Conversation
… scrolls inquirer's paginator held the arrow in the middle of the page and slid the list under it, then let the arrow move again over the last rows, so the arrow seemed stuck and the options jumped. Every list, checklist and the org and project pickers now page through pageScroller: the page stays still while the arrow moves to its top or bottom row, then scrolls one row at a time with the arrow kept on that row, and stops at both ends. launchPaginated gives each list and checkbox prompt its own scroller (it remembers the first row shown), which also prints "(Use ↑/↓ to see more options)", so the upstream hint no longer needs rewriting. #claude_code# 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Harshi Shah <harshi.shah@contentstack.com> Co-Authored-By: Claude <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
Harshi-Shah-CS
approved these changes
Oct 26, 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.
What
Ticket: CL-7168. Follow-up to #251.
#251 made every list show seven options and scroll. inquirer's own paginator held the arrow in the middle of the page and slid the list under it, then let the arrow move again over the last few rows. So the arrow seemed stuck while the options jumped up and down.
Every list, checklist and the organization and project pickers now page through
pageScrollerinsrc/core/search-list.ts:launchPaginatedgives eachlist/checkboxprompt its own scroller, since it remembers which row the page starts at. That scroller also prints(Use ↑/↓ to see more options), so the upstream hint no longer needs rewriting. The org and project pickers use the same scroller. AGENTS.md is updated to match.Tests
npm test: 139 suites, 2435 tests pass. ThepageScrollertests cover:#claude_code#
🤖 Generated with Claude Code