-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat(ui): integrate Progressive Sync feature #22781
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
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
First APP healthy, app3 progressing and app4 waiting app1 app3 app4
This matches what you're seeing in the UI:
|
POV after all apps become healthy and PROGRESSIVE SYNC completed
app1-dev app3-staging app4-prod |
c830700
to
10c7392
Compare
e3930df
to
84332d0
Compare
ui/src/app/applications/components/application-status-panel/application-status-panel.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/application-status-panel/application-status-panel.tsx
Show resolved
Hide resolved
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.
Hi @aali309 , just one comment.
ui/src/app/applications/components/application-status-panel/application-status-panel.tsx
Show resolved
Hide resolved
if (!appSetRef) { | ||
return false; | ||
} | ||
const appSet = await services.applications.getApplicationSet(appSetRef.name, application.metadata.namespace); |
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 return null right away in the original implementation which is probably ok but it looks like it will wait for that API call.
I wonder if you could consider refactoring the code in such a way that this API call could also be made within the (same or another) DataLoader, so the call is done asynchronously, so if this first step fails or there is no owner reference, we don't show anything.
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.
@keithchong, PTAL
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. You're calling getApplicationSet
once now.
Signed-off-by: Atif Ali <atali@redhat.com> fix formatting Signed-off-by: Atif Ali <atali@redhat.com> clean up Signed-off-by: Atif Ali <atali@redhat.com> restore original imports structure Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com>
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-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com> Signed-off-by: Lyheng <lyhengtep@gmail.com>
Signed-off-by: Atif Ali <atali@redhat.com> Signed-off-by: Kanika Rana <krana@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com> Signed-off-by: Oliver Gondža <ogondza@gmail.com>
Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com>
Signed-off-by: Atif Ali <atali@redhat.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Signed-off-by: Atif Ali <atali@redhat.com> Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
Fixes: #14463
This PR integrates ProgressiveSync feature in UI
SEE: #10048
Checklist: