Repository navigation
Fix: the device tool's Part RELOAD and SAVE reach PART's actions in the two-column Part menu - #2601
Merged
Merged
Conversation
…he base's two-column Part menu With a module's Part Edit row (ot_part_menu) the base opens two columns and remembers the cursor, so the tool's keys landed on the module's row instead of RELOAD or SAVE. LEFT, UP past every row and RIGHT put the cursor on PART's actions first; stock's one-column menu ignores LEFT and RIGHT. Moved out of Bounce In Place's release (#2548), where @seniorspiz wrote and checked it on an MKII on 3 Dec 2026. Co-Authored-By: seniorspiz <137111931+seniorspiz@users.noreply.github.com> 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.
What was wrong: with a module's row in the Part menu (
ot_part_menu, as Bounce In Place adds), the base opens the Part menu in two columns and remembers the cursor. The device tool'sreloadandsavepartsteps assumed stock's one-column menu, so their keys could land on the module's row instead of RELOAD or SAVE.What this changes:
partMenu()inscripts/device.mjspresses LEFT, UP past every row the table can hold (PART and up to eight modules) and RIGHT before its steps, so the cursor starts on PART's actions. Stock's one-column menu ignores LEFT and RIGHT, and the extra UPs stop at RENAME, where the existing steps already start. Written and checked by @seniorspiz for Bounce In Place (#2548) and moved here so the module release carries only the module.How I checked it:
npm run pr:readypassed on this commit. No test drivespartMenu; the key sequence was checked on a unit as below.Tested on a unit: reported by @seniorspiz on 3 Dec 2026: Part RELOAD and SAVE through the tool on an Octatrack MKII with Bounce In Place's Part Edit row installed (development twin
4813a3e5in RAM, never kept). Not run on an MKI; the MKI path is unchanged.Edge cases
What the guides lacked or got wrong: nothing.
🤖 Generated with Claude Code