-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Domains: Cleanup Domain Management data components #1235
Conversation
01003ce
to
3ace0b6
Compare
context={ context } | ||
productsList={ productsList } | ||
sites={ sites }> | ||
<DomainManagement.AddGoogleApps | ||
productsList={ productsList } |
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.
productsList
is now no longer passed to AddGoogleApps
- but it seems that it does not need it. So all good, but it got me worried for a while
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.
Yes, that's true. Looks like copy and paste issue.
Code looks good and I did not find any bugs while I clicked through domain management. 👍 |
3ace0b6
to
3e6e22d
Compare
…ts-cleanup Domains: Cleanup Domain Management data components
This PR makes cleanup in Domain Management data components. It makes sure there is only one way to pass child component to data component. It also moves user dependency from controller to data component.
Initially I wanted also to move
productList
andsites
from controller to data components, but there is legacyobserve
mixin logic involved. I'm leaving it for further refactoring.Testing
There is really nothing special to test it. All Domain Management pages should work without any visible changes.
/cc @stephanethomas - we talked about those kind of changes a few weeks ago :)