Skip to content

Name the spectrometer generically where any model can be meant - #6

Merged
berameric merged 1 commit into
mainfrom
fix/generic-instrument-wording
Nov 25, 2026
Merged

berameric merged 1 commit into
mainfrom
fix/generic-instrument-wording

Conversation

@berameric

Copy link
Copy Markdown
Owner

What and why

The driver recognises several Ocean Insight models through the profile table, but the interface still said HDX everywhere.

  • Connect button (was Connect HDX), disconnect tooltip, empty-plot note and first guide step: spectrometer. The bar already shows the connected model.
  • CSV titles: Spektra — spectrum / detected peaks (the # device: line names the model).
  • ?diag and system-check messages: spectrometer.
  • Setup notes keep the HDX facts, labelled: USB product ID 2003 for the HDX; on Linux, use another model's product ID or drop ATTR{idProduct}; the HDX runs on its own power supply.
  • README and CONTRIBUTING: press Connect.

Unchanged on purpose: page title and meta description (HDX is the only verified model), the simulated HDX, the 65 535-count example.

How it was tested

  • npm test passes
  • Simulated HDX in headless Chrome: button reads Connect, connects, bar shows HDX; no console errors
  • Real instrument: text only, no driver change

Checklist

🤖 Generated with Claude Code

The driver recognises several Ocean Insight models, but buttons, the guide,
messages, export headers and the setup notes still said HDX. They now say
"spectrometer" or show the connected model; HDX-specific facts (its USB IDs,
its own power supply) are kept and labelled as such. The page title and
description still name the HDX, the only verified model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@berameric berameric closed this Nov 25, 2026
@berameric
berameric deleted the fix/generic-instrument-wording branch November 25, 2026 16:18
@berameric
berameric restored the fix/generic-instrument-wording branch November 25, 2026 16:18
@berameric berameric reopened this Nov 25, 2026
@berameric
berameric merged commit fbf5b80 into main Nov 25, 2026
2 checks passed
@berameric
berameric deleted the fix/generic-instrument-wording branch November 25, 2026 16:29
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.

1 participant