Skip to content

Conversation

@bparks13
Copy link
Member

This PR is to facilitate #515, as the original implementation of the Rhs2116 design files did not work well with the additions created there. Specifically, when adding a property grid to the Rhs2116 dialogs, the object that was available was the Rhs2116StimulusSequencePair, and not the ConfigureRhs2116Trigger.

This PR updates the Rhs2116 design files to match the convention of the other design files, where the entire Configure node is passed to the Design library and then individual properties are accessed from there, instead of passing individual properties. By passing the entire configure node, the addition in #515 of a property grid will show the entire ConfigureRhs2116Trigger object in the pane, instead of just the stimulus sequence object.

@bparks13 bparks13 added this to the 0.7.0 milestone Oct 29, 2025
@bparks13 bparks13 requested a review from jonnew October 29, 2025 15:17
@bparks13 bparks13 self-assigned this Oct 29, 2025
@bparks13 bparks13 requested review from aacuevas and removed request for jonnew October 30, 2025 19:48
Copy link
Collaborator

@aacuevas aacuevas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any problems.
My only suggestion is that, instead of repeating
var sequence = Trigger.StimulusSequence; on every method, cache this on the Trigger set as a private variable, to avoid so much repetition, since it is something apparently needed everywhere.

- Utilize the main library classes directly instead of passing individual properties to the design library
@bparks13 bparks13 force-pushed the refactor-rhs2116-design branch from 7eae139 to 8787216 Compare November 3, 2025 19:25
@bparks13 bparks13 merged commit a37e982 into main Nov 3, 2025
8 checks passed
@bparks13 bparks13 deleted the refactor-rhs2116-design branch November 3, 2025 19:54
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.

3 participants