Skip to content

fix(run-info): add PERIODTYPE to hardware info dropdown#330

Open
64johnlee wants to merge 1 commit into
ISISComputingGroup:mainfrom
64johnlee:fix/periodtype-missing-329
Open

fix(run-info): add PERIODTYPE to hardware info dropdown#330
64johnlee wants to merge 1 commit into
ISISComputingGroup:mainfrom
64johnlee:fix/periodtype-missing-329

Conversation

@64johnlee

Copy link
Copy Markdown

Summary

PERIODTYPE (DAE:PERIODTYPE) was missing from the runInfoPVs map in Instrument.ts, which populates the show/hide all hardware info dropdown in the TopBar. This adds it alongside the other period-related PVs so it is subscribed via websocket and displayed in the dropdown in the same way as all other run information variables.

Closes #329

Changes

  • app/components/Instrument.ts — added DAE:PERIODTYPE / "Period Type" entry to runInfoPVs after PERIODSEQ
  • app/components/__snapshots__/TopBar.test.ts.snap — updated snapshot to include new "Period Type" row

Test plan

  • npm test passes (84 tests, 1 snapshot updated)
  • "Period Type" appears in the hardware info dropdown after the fix

PERIODTYPE (DAE:PERIODTYPE) was missing from the runInfoPVs map that
populates the show/hide hardware info dropdown in TopBar. Added it
alongside the other period-related PVs (PERIOD, PERIODSEQ, etc.) so
it is subscribed via websocket and displayed in the dropdown the same
way as all other run information variables.

Closes ISISComputingGroup#329
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.

run information: period type missing

1 participant