-
Notifications
You must be signed in to change notification settings - Fork 6.4k
fix: Rollback multi-source apps; 2nd follow-up to PR 14124 #20566
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
fix: Rollback multi-source apps; 2nd follow-up to PR 14124 #20566
Conversation
Signed-off-by: Keith Chong <kykchong@redhat.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Hi @pasha-codefresh , @reggie-k , because you reviewed #16871 , could you please review this PR change? This PR will remove the Show/Hide button. Here is an example multi-source app for test purposes.
|
Sure @keithchong , we will allocate time and will review it |
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.
Overall change looks good to me!!
Thanks @keithchong for addressing this.
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 looks like UI lint is still failing. Can you take a look at that?
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.
Just the lint fix
...cations/components/application-deployment-history/application-deployment-history-details.tsx
Outdated
Show resolved
Hide resolved
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍(Review updated until commit d67b7a9)Here are some key observations to aid the review process:
|
I have checked manually, change looks good |
...cations/components/application-deployment-history/application-deployment-history-details.tsx
Outdated
Show resolved
Hide resolved
Persistent review updated to latest commit d67b7a9 |
1 similar comment
Persistent review updated to latest commit d67b7a9 |
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.
Thanks a lot for this fix, @keithchong!
I have tested manually and this panel looks much better than the button and better integrates with the ArgoCD UI overall.
One thing I liked about the button was that I could press on exactly the same location on the screen to both show and hide, while with the new panel I could click anywhere on the panel it to expand it, but can only click on the arrow to collapse, and I also think that the arrow needs to be a bit more visible in dark mode.
WDYT?
Here is the reason why I have the expand/collapse behaviour this way.
The arrows are currently the same colour in dark mode as those arrows in the Settings page. i agree that it can be brighter, so I made the changes: |
Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: Keith Chong <kykchong@redhat.com>
Signed-off-by: Keith Chong <kykchong@redhat.com>
@pasha-codefresh , @reggie-k - updated and rebased. Thanks for your time again. |
Thanks for the making the arrow look better in dark mode, Keith. |
Thanks @reggie-k , I'll leave it for now, and if people complain about how it works, we can revisit it in another PR. |
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.
@todaywasawesome any concerns with merging the PR?
Comment was resolved. Dan is on PTO
…20566) * fix: Rollback multi-source apps; 2nd follow-up to PR 14124 Signed-off-by: Keith Chong <kykchong@redhat.com> * Pull out styles changes; Make arrows more pronounced Signed-off-by: Keith Chong <kykchong@redhat.com> * Lint issue again Signed-off-by: Keith Chong <kykchong@redhat.com> * More lint errors. (Need to update my linter) Signed-off-by: Keith Chong <kykchong@redhat.com> * Simplify code Signed-off-by: Keith Chong <kykchong@redhat.com> --------- Signed-off-by: Keith Chong <kykchong@redhat.com> Signed-off-by: Adrian Aneci <aneci@adobe.com>
A bit of history:
Second follow-up change for: #18615
Original change: #14124 (See my PR review comments, which led to PR 18615)
The rollback and history page is not user-friendly for multiple sources (at least at the time of the original implementation earlier this year). A lot of scrolling is needed. In fact, a similar usability issue was brought up even for single-source apps, which was addressed by #16871, by adding a Show/Hide button. It however has an issue where for multi-source apps, the single button would show or hide all the source parameter sections, and it should actually show/hide each section individually. This PR fixes that problem and also makes it look a bit more consistent with the Sources tab for multi-source apps, by using collapsible sections.
There is no Issue opened for this.
See screenshots and animated gif below.
Checklist:
Updated to Rollback and History panel, showing multi-source app history:
The current Sources Tab for a multi-source app which has collapsible sections, for comparison:
Single Source collapsed (no Show/Hide button), to be consistent with multi-source case:
Single Source expanded:
Error loading, when expanding section:
Demo animated gif showing the changes for a multi-source app: