Skip to content

Suku version workflow#1436

Merged
SukuWc merged 5 commits intointechstudio:SUKU-version-workflowfrom
angellinares:SUKU-version-workflow
Mar 6, 2026
Merged

Suku version workflow#1436
SukuWc merged 5 commits intointechstudio:SUKU-version-workflowfrom
angellinares:SUKU-version-workflow

Conversation

@angellinares
Copy link

Enhances parsing logic and error handling in MIDI configuration blocks, specifically for NRPN and 14-bit MIDI messages & Prevents config block state bleed

  • Prevents runtime errors when parsing incomplete or malformed scripts in MidiNRPN and MidiFourteenBitFace components by adding explicit checks and safe fallbacks.
  • Ensures element name parsing in Configuration component gracefully handles scripts that do not match the expected pattern, avoiding crashes.
  • Centralizes state resetting in MidiNRPN for cleaner error recovery.
  • Ensures ElementName and MidiNRPN components correctly manage their internal state by resetting local variables when the associated action type changes. This prevents stale data from being displayed or dispatched when switching between different configuration actions.
  • Adds safety checks to ElementName to prevent dispatching updates for non-ElementName actions and to avoid creating empty ElementName actions in the configuration panel.
  • Refines 14-bit resolution handling in MidiNRPN for more immediate updates.

(*) These series of changes are stable over the current 1.6.5 release, in case that you guys want to use them.

SukuWc and others added 5 commits January 30, 2026 14:05
…orkflow

SUKU version bump and version check logic added to release workflow
Ensures `ElementName` and `MidiNRPN` components correctly manage their internal state by resetting local variables when the associated action type changes. This prevents stale data from being displayed or dispatched when switching between different configuration actions.

Adds safety checks to `ElementName` to prevent dispatching updates for non-`ElementName` actions and to avoid creating empty `ElementName` actions in the configuration panel.

Refines 14-bit resolution handling in `MidiNRPN` for more immediate updates.

Fixes intechstudio#1430
Enhances parsing logic and error handling in MIDI configuration blocks, specifically for NRPN and 14-bit MIDI messages.

- Prevents runtime errors when parsing incomplete or malformed scripts in `MidiNRPN` and `MidiFourteenBitFace` components by adding explicit checks and safe fallbacks.
- Ensures element name parsing in `Configuration` component gracefully handles scripts that do not match the expected pattern, avoiding crashes.
- Centralizes state resetting in `MidiNRPN` for cleaner error recovery.
Fixes MIDI Parsing Issues and Prevents Component State Bleed
- Remove all console.log debug statements left in from development
- Move isActiveForCurrentAction = true into handleActionChange so the
  flag is correctly set when loading from script, not only on user input

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@SukuWc SukuWc merged commit 802274e into intechstudio:SUKU-version-workflow Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants