Fixes #2601 Error when selecting "Link Data To Simulations"#2602
Fixes #2601 Error when selecting "Link Data To Simulations"#2602
Conversation
| /// Returns all selected <see cref="DataColumnDTO"/> and their descendants. | ||
| /// </summary> | ||
| IReadOnlyList<DataColumnDTO> SelectedDescendantColumns { get; } |
There was a problem hiding this comment.
I removed this option because I think we want the group rows to function as a multi select. In other words, if I select the 'Simulation' group and then I set the Used checkbox, all simulation outputs should be added. Selecting the group is the same as selecting all the rows of the group.
There was a problem hiding this comment.
what if you have multiple grouping? Does that work?
There was a problem hiding this comment.
yep. Group rows have negative row indexes. The extension method takes care of it all.
|
@benjaperez1983 can you revert the changes you pushed to this branch and create a new PR for the color changes |
src/OSPSuite.Presentation/Presenters/Charts/DataBrowserPresenter.cs
Outdated
Show resolved
Hide resolved
tests/OSPSuite.Presentation.Tests/Presentation/ChartEditorPresenterSpecs.cs
Outdated
Show resolved
Hide resolved
msevestre
left a comment
There was a problem hiding this comment.
Unclear to me where the code fixes the issusue 2601. There is lots of noise around setting colors etc but the actual "Sequence" not found is not seen at first glance
Naming is hard..isLinkedDataToSimulation remains a mystery.
Does it mean that oberved data is llink to simuatlion results?
I asked Ben to reverse his color changes from this pr |
|
I think the color matching should go into v13 rather than 12.1. Difference is that's a new feature where this original report is a crash fix. |
Fixes #2601
Description
Some order and selection issues when we are trying to update
Usedstate for a linked observation column as we select/deselect the matching calculation column.Type of change
Please mark relevant options with an
xin the brackets.How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Reviewer checklist
Mark everything that needs to be checked before merging the PR.
This change requires a documentation updateabove is selectedScreenshots (if appropriate):
Questions (if appropriate):