-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: show sync wave in ui #8902
feat: show sync wave in ui #8902
Conversation
7cebca6
to
c58fea3
Compare
Codecov Report
@@ Coverage Diff @@
## master #8902 +/- ##
==========================================
- Coverage 45.80% 45.79% -0.01%
==========================================
Files 219 219
Lines 25864 25864
==========================================
- Hits 11846 11845 -1
- Misses 12372 12373 +1
Partials 1646 1646
Continue to review full report at Codecov.
|
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
65e7252
to
31b3936
Compare
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
7444ab5
to
6cef024
Compare
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
6f881ee
to
a785dca
Compare
99f4842
to
325de3d
Compare
Hi @rbreeze , could you take a look at this PR? Thanks! |
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, just one small request
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
1831305
to
7cc812c
Compare
40fcedc
to
a532713
Compare
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/application-details/application-details.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/application-details/application-details.tsx
Outdated
Show resolved
Hide resolved
Hi @pasha-codefresh , thanks for the detailed feedback. I learned a lot from it. Regarding this observation, previously I got a feedback that it looked weird when there was a Reference: |
2fb1c72
to
3d8f86a
Compare
Regarding the inconsistency in showing or not showing the column from page to page, I agree with @pasha-codefresh. If we always show it, then perhaps instead of having the column value blank, maybe show a dash/hyphen '-' ? On the other hand, if we don't show the column if none of the resources have the sync waves/order, what will happen if a sync order is added to one of the resources, while you are on one of the pages? If you refresh, then the column will be added? Is that expected? |
@keithchong Thanks for the suggestion. I agree it's better to keep it consistent, even when none of the resources has Sync Order information, we should keep the column just to make it consistent everywhere and every time the user opens the list view. I updated the code with displaying hyphen on empty Sync Order value. @pasha-codefresh How do you think about this solution?
|
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
Signed-off-by: ciiay <yicai@redhat.com>
e402950
to
c0f26c0
Compare
…8598-show-sync-wave-in-ui
…8598-show-sync-wave-in-ui
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.
LGTM too, and Yi addressed the outstanding review comments.
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.
Great job
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.
LGTM!
Signed off: yicai@redhat.com
Closes: #8598
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Screenshot(updated):