-
Notifications
You must be signed in to change notification settings - Fork 87
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
Create wp.data store for retrieving/tracking events #332
Merged
nerrad
merged 17 commits into
Gutenberg/master
from
Gutenberg/create-wp.data-store-for-retrieving-events
May 1, 2018
Merged
Create wp.data store for retrieving/tracking events #332
nerrad
merged 17 commits into
Gutenberg/master
from
Gutenberg/create-wp.data-store-for-retrieving-events
May 1, 2018
Commits on Apr 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2fbab6d - Browse repository at this point
Copy the full SHA 2fbab6dView commit details -
First pass of js side of things for the list wp.data implementation
`src/data/model/endpoints` expose: - `getEndpoint` (default) for getting the endpoint for a model name (via the server side generated endpoints array exposed on the `eejs.data` global. - `endpoints` : the full endpoints array. - `applyQueryString`: which receives a model name and a query string and applies the query string to the endpoint corresponding to that model name and returns the final assembled endpoint. `src/data/ee-lists/…` - selectors for entities attached to a specified model and cached by query string - reducers for updating the store state for lists cached by query string - resolvers for the initial api query to retrieve entities matching the query string - actions describing the various actions that can be dispatched to update the store state.
Configuration menu - View commit details
-
Copy full SHA for 011b377 - Browse repository at this point
Copy the full SHA 011b377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c50120 - Browse repository at this point
Copy the full SHA 7c50120View commit details -
Add more dependencies and update config
- adds babel plugin transform for async generator functions. - adds core-js library (used with jest tests for async generaotr related tests).
Configuration menu - View commit details
-
Copy full SHA for 92966d2 - Browse repository at this point
Copy the full SHA 92966d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c3ea41 - Browse repository at this point
Copy the full SHA 4c3ea41View commit details -
“deep-freeze” is an implementation of the Object.freeze javascript spec. This is used in various js unit-tests to preserve an object is not mutated and not interacted with in various assertions (especially in redux like code where state is not mutated but preserved across history)
Configuration menu - View commit details
-
Copy full SHA for 7d94cb0 - Browse repository at this point
Copy the full SHA 7d94cb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c44c125 - Browse repository at this point
Copy the full SHA c44c125View commit details -
Configuration menu - View commit details
-
Copy full SHA for e48a152 - Browse repository at this point
Copy the full SHA e48a152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a106fa - Browse repository at this point
Copy the full SHA 5a106faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48358e3 - Browse repository at this point
Copy the full SHA 48358e3View commit details -
Install gutenberg as a devDependeny
The goal here is to be able to do jest tests for things requiring gutenberg dependencies.
Configuration menu - View commit details
-
Copy full SHA for 8ea3e48 - Browse repository at this point
Copy the full SHA 8ea3e48View commit details -
Add initial test for EventSelect component
This was a fun one to do because I basically had to figure out how I could load in gutenberg components that were composed in the component I wanted to test!
Configuration menu - View commit details
-
Copy full SHA for 3420132 - Browse repository at this point
Copy the full SHA 3420132View commit details -
This is taken care of globally so don’t need it in this file specifically.
Configuration menu - View commit details
-
Copy full SHA for 6e160b9 - Browse repository at this point
Copy the full SHA 6e160b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e8642 - Browse repository at this point
Copy the full SHA d3e8642View commit details -
Configuration menu - View commit details
-
Copy full SHA for b08ad45 - Browse repository at this point
Copy the full SHA b08ad45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 773fb65 - Browse repository at this point
Copy the full SHA 773fb65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29e303f - Browse repository at this point
Copy the full SHA 29e303fView commit details
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.