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

Domains: Cleanup Domain Management data components #1235

Merged
merged 2 commits into from
Dec 10, 2015

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Dec 3, 2015

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 and sites from controller to data components, but there is legacy observe 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 :)

@gziolo gziolo added [Status] In Progress [Feature Group] Emails & Domains Features related to email integrations and domain management. labels Dec 3, 2015
@gziolo gziolo self-assigned this Dec 3, 2015
@gziolo gziolo force-pushed the update/domains-data-components-cleanup branch from 01003ce to 3ace0b6 Compare December 7, 2015 08:25
@gziolo gziolo added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Type] Task [Type] Enhancement and removed [Status] In Progress [Type] Task labels Dec 7, 2015
context={ context }
productsList={ productsList }
sites={ sites }>
<DomainManagement.AddGoogleApps
productsList={ productsList }
Copy link
Contributor

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

Copy link
Member Author

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.

@janm6k
Copy link
Contributor

janm6k commented Dec 10, 2015

Code looks good and I did not find any bugs while I clicked through domain management. 👍

@janm6k janm6k added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Dec 10, 2015
@gziolo gziolo force-pushed the update/domains-data-components-cleanup branch from 3ace0b6 to 3e6e22d Compare December 10, 2015 12:25
gziolo added a commit that referenced this pull request Dec 10, 2015
…ts-cleanup

Domains: Cleanup Domain Management data components
@gziolo gziolo merged commit cd92d4c into master Dec 10, 2015
@gziolo gziolo deleted the update/domains-data-components-cleanup branch December 10, 2015 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Emails & Domains Features related to email integrations and domain management. [Type] Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants