-
Notifications
You must be signed in to change notification settings - Fork 212
Bug/target table perfomance #105
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
Bug/target table perfomance #105
Conversation
Signed-off-by: SirWayne <[email protected]>
by the ui. fix the performance issue. Issue was the selection of targets. The table needs very long to calculate the scroll position. Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
| * | ||
| * @return the provider bean | ||
| */ | ||
| @Bean |
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.
Why we adding the bean into the AutoConfiguration if you create the HawkbitEventProvider by our own with new in the constructor of the example app? I guess we don't need to provide the autoconfiguration for this, do we? Or otherwise we should annotate it with @ConditionalMissingBean
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.
You're right. thanks
Maybe if somone would like to extend the UI, it's simpler to add a own provider with new events. For this reason i create a bean into the AutoConfiguration.
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
Signed-off-by: SirWayne <[email protected]>
|
please resolve the conflicts so the branch can be merged with the master, thanks. |
|
|
||
| private static final Set<Class<? extends Event>> SINGLE_EVENTS = new HashSet<>(); | ||
|
|
||
| static { |
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.
1 static block
fix hashset size
- Use 1 static block Signed-off-by: SirWayne <[email protected]>
…ERFOMANCE # Conflicts: # hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/push/DelayedEventBusPush Strategy.java
|
I have taken the liberty to merge this for you. |
needs very long to calculate the scroll position. After deletion of a target the table row the scroll postion is not set anymore.