-
Notifications
You must be signed in to change notification settings - Fork 41
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
refactor(ied/da-container,do-container): code improvements #464
Conversation
Way better! Using standard components instead of your own implementation is always better. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but during testing is see that the icon isn't changing when toggling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, the same toggle principle can be added to the ln-container :)
This was on purpose from my side (see #461). My opinion is that we need some other mechanism here. Do you agree? Do I miss something? |
This is bug of this component that only is present in debug mode. Just for you to compare, see the buttons in the log. |
Then it's fine, hope it will be fixed soon! |
Why would this functionality be different for a LN container compared to DO/DA containers? |
Because rendering the data model for a complicated IED does take some seconds which in my opinion is not a good user experience. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to implement a solution for all three the containers, should not be a problem :)
@JakobVogelsang (or anyone else) please review :) |
LGTM @Flurb |
@Flurb as you did not like the toggle function I tried to refactor. What do you think.
I do get snapshot updates that I cannot interpret. Maybe you can have a look.