This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Implement the Block Hooks API to automatically inject the Mini-Cart block #11745
Merged
Commits on Dec 4, 2023
-
Change the default for Mini Cart block
The Block Hooks API currently doesn’t allow for setting the default state of the block injected into content so this ensures the mini-cart block has a better default state for injection. The current default (displaying total value in cart) takes up more width increasing the risk of poor layout.
Configuration menu - View commit details
-
Copy full SHA for eb0c5e2 - Browse repository at this point
Copy the full SHA eb0c5e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507fc49 - Browse repository at this point
Copy the full SHA 507fc49View commit details -
Configuration menu - View commit details
-
Copy full SHA for c778c6f - Browse repository at this point
Copy the full SHA c778c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6411878 - Browse repository at this point
Copy the full SHA 6411878View commit details -
On thinking about this, I don’t think these need to be experimental. They are intentionally provided as escape hatches for hosts/themes that want to opt-in/out so we’ll have to support them when this is shipped (at least until its no longer needed!)
Configuration menu - View commit details
-
Copy full SHA for a1bc678 - Browse repository at this point
Copy the full SHA a1bc678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2170971 - Browse repository at this point
Copy the full SHA 2170971View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f64bae - Browse repository at this point
Copy the full SHA 7f64baeView commit details -
remove another incorrect text expectation
Defaults for the block affect this expectation.
Configuration menu - View commit details
-
Copy full SHA for 7accebc - Browse repository at this point
Copy the full SHA 7accebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for bef0c1d - Browse repository at this point
Copy the full SHA bef0c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5237a81 - Browse repository at this point
Copy the full SHA 5237a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3038db6 - Browse repository at this point
Copy the full SHA 3038db6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c71aa6a - Browse repository at this point
Copy the full SHA c71aa6aView 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.