-
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
Themes: Remove Flux stores #1363
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ockham
added
[Feature Group] Appearance & Themes
Features related to the appearance of sites.
[Status] In Progress
labels
Dec 8, 2015
ockham
force-pushed
the
remove/themes-flux-stores
branch
2 times, most recently
from
December 8, 2015 13:35
c22f768
to
bd080bf
Compare
2 tasks
ockham
force-pushed
the
remove/themes-flux-stores
branch
2 times, most recently
from
December 10, 2015 21:42
5e40a47
to
515b418
Compare
Note from the latest commit:
|
ockham
force-pushed
the
remove/themes-flux-stores
branch
from
December 10, 2015 22:25
a3af562
to
dbe49e4
Compare
This was referenced Dec 15, 2015
ockham
force-pushed
the
remove/themes-flux-stores
branch
from
December 15, 2015 14:13
dbe49e4
to
a03745f
Compare
This was referenced Dec 15, 2015
* `reducers/themes-last-query`: Remove Flux dispatcher `waitFor` * `reducers/themes-list`: Use `isJetpack()` from selectors instead of `ThemeLastQueryStore`'s * Kill `shared/lib/themes/stores` * Remove obsolete helper functions from reducers, now that they are in `selectors/` * Default-export reducers, don't export initialStates anymore * Update README.md * Rewrite tests in `shared/lib/themes` to directly test reducers instead of stores Note that in test/themes-list-store, the Jetpack test is removed since filtering is no longer done in the reducer but in the themes-list-fetcher data component (using the getFilteredThemes()) now.
ockham
force-pushed
the
remove/themes-flux-stores
branch
from
December 16, 2015 17:12
a03745f
to
51b1aef
Compare
ockham
added
[Status] Needs Review
The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.
and removed
[Status] In Progress
labels
Dec 16, 2015
Code-wise, looks good! |
Feels good to slash code. |
scruffian
removed
the
[Status] Needs Review
The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.
label
Dec 16, 2015
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To test:
calypso.localhost:3000/design
) works as before.make test
insideshared/lib/themes
Changes:
reducers/themes-last-query
: Remove Flux dispatcherwaitFor
reducers/themes-list
: UseisJetpack()
from selectors instead ofThemeLastQueryStore
'sshared/lib/themes/stores
selectors/
shared/lib/themes
to directly test reducers instead of storesNote that in test/themes-list-store, the Jetpack test is removed since filtering
is no longer done in the reducer but in the themes-list-fetcher data component
(using the getFilteredThemes()) now.