-
Notifications
You must be signed in to change notification settings - Fork 18
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
refactor(cc-addon-admin)!: rework properties to avoid impossible states #1044
base: master
Are you sure you want to change the base?
Conversation
491be83
to
e68f177
Compare
🔎 A preview has been automatically published : https://clever-components-preview.cellar-c2.services.clever-cloud.com/cc-addon-admin/state-migration/index.html. This preview will be deleted once this PR is closed. |
fb95c39
to
2bde9af
Compare
b6a99dd
to
ad70a26
Compare
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.
Hey @florian-sanders-cc and @HeleneAmouzou, thank you for this 🎉
I added a few comments. I wanted to suggest to inline the subrender method but looking at its size and the number of variables it computes, I guess the current code is better.
Well done!
2d323d0
to
6695d8d
Compare
BREAKING CHANGE: the properties have changed - `state`: new property containing the whole state - `addon`: property has been deleted as it is now part of the state - `error`: property has been deleted as it is now part of the state - `saving`: property has been deleted as it is now part of the state
6110b3a
to
d6bea0b
Compare
What does this PR do?
cc-addon-admin
component to implement our new state structure,cc-addon-admin
component and its stories,How to review?