Automatically add hub/device tabs when selected in the editor #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds full functionality for tabs to be added when selected in the editor. This means that settings can be modified prior to the hardware being connected to the plugin.
A major portion of this PR relates to the logic associated with mismatches between the hardware that is selected from the editor, and the hardware that is found to be connected. To ensure that the logic is fully fleshed out, integration testing will need to include plugging in different kinds of hardware in different ports to test it. A full list of combinations to test will be provided.
Note: For now, this is a draft PR since it will need to have full functionality for multiple headstages to properly test the logic, and only Neuropixels 1.0f has this functionality as of right now. Testing was performed using a dummy headstage, but to complete the integration testing will need to wait until after at least one other headstage is added to the list.