feat: add minimumColumnWidth attribute to default grid block - #103
Merged
Conversation
YvetteNikolov
requested review from
FreakyWizard,
JasperS20,
Rovasch,
ShunLuk,
SimonvanWijhe,
WybeBosch,
Yannicvanveen,
dtakken,
ictbeheer,
laravdiemen,
mvdhoek1 and
rivanuff
September 9, 2026 14:21
There was a problem hiding this comment.
🟢 Approval recommended
The change is small, localized, and the source and generated build artifacts are consistent with each other.
Pull request overview
Adds a minimumColumnWidth setting to the default “core/group” grid variation so the 3-column grid has a constrained minimum column size by default, and updates generated build artifacts accordingly.
Changes:
- Set
layout.minimumColumnWidthto325pxfor the default 3-column gridcore/groupvariation. - Regenerate build outputs (
build/hooks.js,build/hooks.asset.php) to reflect the source change. - Update
package-lock.jsonmetadata version to1.8.0(aligned withpackage.json/readme.txt).
File summaries
| File | Description |
|---|---|
| src/Hooks/resources/js/default-block-variations.js | Adds minimumColumnWidth: '325px' to the default grid layout variation. |
| build/hooks.js | Rebuilt minified hooks bundle to include the new grid layout attribute. |
| build/hooks.asset.php | Updates the build asset version hash for the rebuilt hooks bundle. |
| package-lock.json | Updates root package version metadata to 1.8.0. |
Review details
Files not reviewed (1)
- build/hooks.js: Generated file
- Files reviewed: 2/4 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or 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
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.
No description provided.