Fix small-screen profile picker navigation#751
Conversation
|
We require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please contact @jniebuhr (mdwasp) on Discord to get yourself added. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughRebuilds the profile ID list by merging favorites with all profiles, initializes currentProfileIdx to 0, reloads profiles before switching screens, and adds defensive bounds checks to navigation and profile-screen rendering. ChangesProfile picker navigation and rendering safety
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
…lection Build the picker list in stable profile order (favorites first, then all profiles) and position the cursor on the currently selected profile instead of always resetting to index 0. Fixes jniebuhr#701. Co-authored-by: Cursor <cursoragent@cursor.com>
9eca2c1 to
a0fd5a6
Compare
|



Summary
Fixes #701
Test plan
pio run -e displaySummary by CodeRabbit
New Features
Bug Fixes