Skip to content
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

Masonry: Revamp Dynamic Heights #3890

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

bryamrrr
Copy link
Contributor

Summary

What changed?

  • Added different ways to define how much an item needs to move when another item resizes
  • Added more unit tests for DynamicHeightsUtils

Why?

There are several bugs because (See videos below and new tests written) of unsupported behaviors from the initial implementations in DynamicHeights. This PR aims to address most of these issues.

## Some bugs found

two-items-change-above-module-dynamicheights-bug.1.mov
module.moving.too.much.1.mov
dynamic-heights-failing-on-desktop.1.mov
resize-down.item.above.n-column.module.mov

Tests confirming now it's working

revamped-dynamic-heights.1.mov

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for gestalt ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit b58d887
🔍 Latest deploy log https://app.netlify.com/sites/gestalt/deploys/673fadc0ab964f000868cff4
😎 Deploy Preview https://deploy-preview-3890--gestalt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bryamrrr bryamrrr marked this pull request as ready for review November 21, 2024 19:31
@bryamrrr bryamrrr requested a review from a team as a code owner November 21, 2024 19:31
@manvoid manvoid added the patch release Patch release label Nov 21, 2024
@manvoid manvoid merged commit ad9e92a into pinterest:master Nov 22, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch release Patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants