-
Notifications
You must be signed in to change notification settings - Fork 867
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
chore(deps): bump argo-ui and fix browser console errors #3212
Conversation
Signed-off-by: Mayursinh Sarvaiya <[email protected]>
> allow allowSyntheticDefaultImports Signed-off-by: Mayursinh Sarvaiya <[email protected]>
Signed-off-by: Mayursinh Sarvaiya <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3212 +/- ##
=======================================
Coverage 81.80% 81.80%
=======================================
Files 134 134
Lines 20576 20576
=======================================
Hits 16832 16832
Misses 2875 2875
Partials 869 869 ☔ View full report in Codecov by Sentry. |
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 to make sure there will be no merge conflicts and have clean git history, can you please revert changes in go.mod and go.sum?
Kudos, SonarCloud Quality Gate passed! |
@alexmt done |
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.
Thank you!
* feat: update argo-ui package Signed-off-by: Mayursinh Sarvaiya <[email protected]> * chore: revert back moment package import > allow allowSyntheticDefaultImports Signed-off-by: Mayursinh Sarvaiya <[email protected]> * fix: browser console errors Signed-off-by: Mayursinh Sarvaiya <[email protected]> --------- Signed-off-by: Mayursinh Sarvaiya <[email protected]> Signed-off-by: ashutosh16 <[email protected]>
When I was looking into rollout extension issue - argoproj-labs/rollout-extension#21, I observed that rollout extension depends on this repo rollout ui, and this repo depends on argo-ui. Argo UI is being updated but the latest versions isn't updated in this repo - https://github.com/argoproj/argo-rollouts/blob/master/ui/yarn.lock#L2702C57-L2702C97. The current repo's argo-ui point directly to the year 2021's commit of argo-ui.
That means old react-toastify which is picked up by rollout-extension and when installed in argo-cd, overrides the react-toastify and notification doesn't look good argoproj-labs/rollout-extension#21 in argocd.
This PR aims to fix that plus update
argo-ui
dependency plus fix the errors in the browser console - which are breaking extension (i.e. argoproj-labs/rollout-extension#59)Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.