-
Notifications
You must be signed in to change notification settings - Fork 30
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
Event date block and functionality refactor #820
Conversation
…ime endpoint many times on save rather than just once.
@mauteri Do not miss to checkout the work at WordPress/gutenberg#60971, which seems closely related to GatherPress' needs for a close-to-core event date block. |
Yup, saw this but it's still in the design phase. If this makes it into core we can definitely swap out the picker. |
…stener functionality.
… custom table in meta action.
Preview changes with PlaygroundYou can preview the least recent changes for PR#820 by following one of the links below: |
Description of the Change
This change updates the Event Date block to look and feel more like the WordPress core date block in terms of styling. In this PR we also introduce meta data that is available in core post REST API for datetime start, end, and timezone. We also use meta data hook to update the custom event table for datetimes. This means we no longer need the datetime REST endpoint which was a bit clunky and required an additional call. That endpoint has now been removed. In addition, WP core stores powered by redux were introduced to start replacing the Broadcaster/Listener code that was custom written. This works a LOT better, and soon more things will get stores to replace Broadcaster/Listener functionality.
Closes #803 #684
How to test the Change
Changelog Entry
Credits
Props @mauteri
Checklist: