Conversation
There was a problem hiding this comment.
Pull request overview
This pull request migrates the equal heights row pattern and component from the legacy 12-column grid system (4/6/12) to the new 8-column grid system (4/4/8). The changes update grid class names, SCSS grid variables, and refactor the template logic to use a new shared macro for better code reusability.
- Migrated from legacy grid classes (
.row,.col) to new grid classes (.grid-row,.grid-col) - Updated SCSS to use 8-column grid variables (
$grid-8-columns) instead of legacy 12-column variables - Extracted equal heights block rendering into a reusable shared macro
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
templates/_macros/vf_equal-heights.jinja |
Updated grid class names from legacy to 8-column grid, changed quote styles, and refactored to use new shared macro |
templates/_macros/shared/vf_equal-heights-block.jinja |
New shared macro containing extracted equal heights block rendering logic for reusability |
scss/_patterns_equal-height-row.scss |
Migrated grid variables from 12-column to 8-column system, updated calculations, added support for both new and legacy grid class selectors |
releases.yml |
Added release notes for version 4.40.0 documenting the grid migration |
package.json |
Bumped version from 4.39.0 to 4.40.0 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
petesfrench
left a comment
There was a problem hiding this comment.
QA'd on some different pages and looks good. Just left some minor comments in the code.
|
Thanks for adding linked title @immortalcodes , I'm adding +1! |
There was a problem hiding this comment.
Thanks for working on this! Just a few comments:
- I found a visual regression with data spotlight pattern's 2-block variant. It is using equal heights row component under the hood.
- Please refactor
title_linktotitle_link_attrsobject instead of an href string, for consistency with the object forwarding pattern we have been using in other patterns. - Revert version to 4.39.0 in package.json and releases.yml (it hasn't been released yet - we can release after this PR)
- Some docs cleanup suggestions
- Prettier needs to be run
jmuzina
left a comment
There was a problem hiding this comment.
A small comment to keep docs up-to-date, then lgtm
|
Sorry for jumping late on this. It looks good to me. |
Done
Fixes [list issues/bugs if needed]
#5587
https://warthogs.atlassian.net/browse/WD-32254
QA
Check if PR is ready for release
If this PR contains Vanilla SCSS or macro code changes, it should contain the following changes to make sure it's ready for the release:
Feature 🎁,Breaking Change 💣,Bug 🐛,Documentation 📝,Maintenance 🔨.package.jsonshould be updated relative to the most recent release, following semver conventionScreenshots
[if relevant, include a screenshot or screen capture]