performance improvement of getting devfile registries#2495
performance improvement of getting devfile registries#2495dgolovin merged 12 commits intoredhat-developer:mainfrom
Conversation
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
…pdate on the devfile registries Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
dgolovin
left a comment
There was a problem hiding this comment.
Please set indentation to 4 spaces.
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
yes I have the same settings only |
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
dgolovin
left a comment
There was a problem hiding this comment.
Better, but still need some work in several places.
- I agree we can keep component descriptors array in ComponentTypesView class instance.
- Your implementation works, but it is not easy to understand and I don't think it is good idea to use subscriber to send events from member function to the same class instance when you can just use this.
You have ComponentTypesView instance and RegistryViewLoader instance. I would suggest to get rid of rxjs and use EventEmitter to nodify ComponentTypesView clients (RegistryViewer in this case) about component description update and the need to refresh.
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
As discussed using subject for only sending notification on refresh the screen. |
|
LGTM wrt to the UI part of it with loader and icon. Once @dgolovin is fine with the code workflow, we can merge. |
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
dgolovin
left a comment
There was a problem hiding this comment.
One last change is needed.
Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
Codecov Report
@@ Coverage Diff @@
## main #2495 +/- ##
==========================================
+ Coverage 66.58% 67.15% +0.57%
==========================================
Files 55 55
Lines 3585 3626 +41
Branches 649 659 +10
==========================================
+ Hits 2387 2435 +48
+ Misses 1198 1191 -7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: msivasubramaniaan msivasub@redhat.com
Fix #2496