Bug/UI netlist transportmedium #454
Merged
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.
Problem Description
When sorting through platforms on the netlist page, (when you click the transport medium dropdown), it was not sorting properly. It was improperly identifying the transport medium, making it difficult to save the netlist properly.
Fixes #453
Transport medium selection was not working properly. Now the user can properly select transport medium, as well as identify properly when there is a mismatch.
Solution
Added data-elements and divs to the field in the datatable, and identifying them with jquery selectors, rather than lookin at the straight html text.
how you tested the change
manually tested several permutations, going from goes to all three goes variants, as well as going from iridium to goes and goes to iridium with the different transport medium types selected.
Describe what was done to test the change. This section can be left blank
if automated tests demonstrating usage are provided in the PR.
Where the following done:
(Formerly called regression tests.)
If you aren't sure leave unchecked and we will help guide you to want needs changing where.