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

Framework: fix AllSites selection flow via site-selector. #1738

Merged
merged 1 commit into from
Dec 17, 2015

Conversation

mtias
Copy link
Member

@mtias mtias commented Dec 17, 2015

We weren't triggering the whole function, which means <Picker> wasn't properly changing the layout-focus and you could end up stuck with the picker open when trying to switch to all-sites.

cc @rralian @aduth

By the way, I think there may be some optimizations to be done here in the order and computations done. Switching a site seems a bit slower than what it should be for me.

We weren't triggering the whole function, which means <Picker>
wasn't properly changing the layout-focus and you could end up
stuck with the picker opened.
@mtias mtias added [Type] Bug When a feature is broken and / or not performing as intended Site Picker Framework [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Dec 17, 2015
@mtias
Copy link
Member Author

mtias commented Dec 17, 2015

By the way, I think this sort of worked before because in general you started from a different url, so the url change forced a layout-focus change. But if you start in an all sites view like /posts/my, click on picker, and choose "All sites" again you'd be stuck since the url remains the same.

@rralian
Copy link
Contributor

rralian commented Dec 17, 2015

Nice catch and fix! :shipit:

@rralian rralian 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 17, 2015
mtias added a commit that referenced this pull request Dec 17, 2015
Framework: fix AllSites selection flow via site-selector.
@mtias mtias merged commit 8666566 into master Dec 17, 2015
@mtias mtias deleted the fix/all-sites-picker-action branch December 17, 2015 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Site Picker [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants