fix(stage3): prevent instlist device index from passing as chartread -c comm port (fixes #111) #120

Merged
gronod merged 3 commits from fix/chartread-comm-port into development 2026-08-28 18:51:27 +01:00
Owner

Resolves #111

  • Changes Stage 3 instrument dropdown default and detection entries to omit the instlist ordinal index from being passed to chartread -c.
  • Tightens the instlist regex parser in src/js/chartread.js to match known instrument tokens (i1, ColorMunki, Spyder, spectro, Display, Huey, DTP, SpectroScan, Smile, Klein) or on '<port>' clauses.
  • Updates UI copy in src/index.html from 'Instrument / Hardware Port' to 'Communication Port' and 'Auto (First available port)'.
  • Adds unit tests in src-tauri/src/commands.rs verifying empty/auto port arguments.
Resolves #111 - Changes Stage 3 instrument dropdown default and detection entries to omit the instlist ordinal index from being passed to `chartread -c`. - Tightens the `instlist` regex parser in `src/js/chartread.js` to match known instrument tokens (`i1`, `ColorMunki`, `Spyder`, `spectro`, `Display`, `Huey`, `DTP`, `SpectroScan`, `Smile`, `Klein`) or `on '<port>'` clauses. - Updates UI copy in `src/index.html` from 'Instrument / Hardware Port' to 'Communication Port' and 'Auto (First available port)'. - Adds unit tests in `src-tauri/src/commands.rs` verifying empty/auto port arguments.
gronod added 3 commits 2026-08-28 18:51:23 +01:00
gronod merged commit b33362e656 into development 2026-08-28 18:51:27 +01:00
gronod deleted branch fix/chartread-comm-port 2026-08-28 18:51:28 +01:00
Sign in to join this conversation.