Skip to content
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

[Upgrade Assistant] Support completion state on overview page #26

Conversation

sabarasaba
Copy link

Heya!

This PR adds some of the remaining work for elastic#110737 in order to support for step completion for fix_logs and fix_issues steps, along with their respective tests. It's missing tests for cloud step since it seems there was a conflict along the way after your previous PR got merged.

I ended up removing the setIsCompleted from all the useEffects because when invoked the overview component gets re-rendered and the .bind functions passed to the steps definitions have a new fn instance. We either will have to memoize them or simply recur to ignore the setIsCompleted from the dependencies array.

@cjcenizal cjcenizal merged commit 554bcdc into cjcenizal:ua/7.x/step-completion-state Sep 7, 2021
@cjcenizal
Copy link
Owner

Builds upon elastic#111243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants