-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add simple UI to show Overwrite-Falg in SEI-Editor #186
Conversation
Should work after this action completed and deployed on core-integration: |
Codecov Report
@@ Coverage Diff @@
## integration #186 +/- ##
==============================================
Coverage 87.73% 87.73%
Complexity 514 514
==============================================
Files 74 74
Lines 1737 1737
Branches 211 211
==============================================
Hits 1524 1524
Misses 141 141
Partials 72 72 |
I updated the UI so that the column is the most right column to not disturb engineers and added the hint Also i moved the calculator symbol to the property value. This way it might be more clear why you cannot change this value... Although it doesn't look that hamonic anymore... What do you think of the icons? Do you have opinions on that? @dellerDLR @pchrszon-dlr |
I like the idea of having the calculated icons in the Value column. Sure, the alignment of the numbers is off, but I don't mind it that much. I don't know if this is possible, but it might help to have the numbers in the Value column aligned on the right, instead of on the left. Regarding the icons in the Override column: I immediately understood the one for 'false', but I would have to guess what the 'true' one means. Is it a crossed-out link? Maybe the Override column would be easier to understand, if the possible entries would be "inherited", "overridden", and "calculated". For "true" and "false", you always have to read the entries with respect to the column header, which is (at least for me) not as intuitive. |
I like the last option better than the previous one. It is somewhat similar to what we had before (with the icons in the Name column), but now the icons are closer to the actual values. I think in connection with the Override column, which explicitly states that some values are calculated, it is quite clear (to me) what can be edited and what can't be. |
I think I also prefer to have the icons on the value column. |
That looks quite nice! I think it would also be an option to use the grey foreground for inherited values instead of calculated values. But this depends on which property (inheritance/calculated) we want to emphasize. |
I actually prefer calculated as the color somewhat implies that the row is 'disabled' and thus read-only. Which is not the case for inherited values. |
Yes, that's true. It would be fine with me to use the grey color for the calculated values then. |
I would agree to make the calculated rows grey since, as tobi said, you can't change them. |
@dellerDLR @pchrszon-dlr I'm done with this PR now. Did some code quality improvements and now made sure that mode parameters can only be edited if it makes sense (before you could always change them). Also make sure mode parameters are highlighted correctly (override / inherited / calculated) and for that implemented a method that evaluates if mode values are calculated or not... Do you want to have another look at this PR? |
I checked the two recent commits and see no issues. You still have my approval. |
I tested the UI and everything seems to work. |
Show Override-State in SEI-Editor.
Requiers following small change in core:
virtualsatellite/VirtualSatellite4-Core@8327baa
Editor:
For calculated properties, editor cannot be opened...