-
Notifications
You must be signed in to change notification settings - Fork 799
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
Related Posts Block: make the block available even when the module is disabled #32930
Commits on Sep 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3b2ea48 - Browse repository at this point
Copy the full SHA 3b2ea48View commit details -
Move the block registration to a file that's loaded with the block
Whether the module is active or not, we'll register the Related Posts block.
Configuration menu - View commit details
-
Copy full SHA for e2fcf05 - Browse repository at this point
Copy the full SHA e2fcf05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f77c60 - Browse repository at this point
Copy the full SHA 4f77c60View commit details -
Display a placeholder when the module is disabled
- The placeholder includes a button inviting you to activate the module. - While the module status loads, we display placeholder block contents.
Configuration menu - View commit details
-
Copy full SHA for edf4a71 - Browse repository at this point
Copy the full SHA edf4a71View commit details
Commits on Sep 8, 2023
-
Update test to take new RelatedPostsEdit into account
- Include module status check - Move to function component - Mock additional functions
Configuration menu - View commit details
-
Copy full SHA for eeda671 - Browse repository at this point
Copy the full SHA eeda671View commit details -
Take WordPress.com into account as well
Modules behave differently there
Configuration menu - View commit details
-
Copy full SHA for 74ba77b - Browse repository at this point
Copy the full SHA 74ba77bView commit details
Commits on Sep 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c3f663c - Browse repository at this point
Copy the full SHA c3f663cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0625b7c - Browse repository at this point
Copy the full SHA 0625b7cView commit details -
Add new endpoints to fetch/update related posts status from option
One can also disable Related Posts (while the module is active) via a toggle in Settings > Reading in Calypso. Let's add: - 2 new endpoints to fetch and update that info. - a new hook to handle this new status info in the block editor. - hook the new hook into the Related Posts' block in the editor.
Configuration menu - View commit details
-
Copy full SHA for c48c066 - Browse repository at this point
Copy the full SHA c48c066View commit details
Commits on Sep 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d46b362 - Browse repository at this point
Copy the full SHA d46b362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ef5cc - Browse repository at this point
Copy the full SHA 53ef5ccView commit details
Commits on Sep 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 83a114d - Browse repository at this point
Copy the full SHA 83a114dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 189a0e5 - Browse repository at this point
Copy the full SHA 189a0e5View commit details
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ad77b19 - Browse repository at this point
Copy the full SHA ad77b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fda28d - Browse repository at this point
Copy the full SHA 4fda28dView commit details