Skip to content

Conversation

@alexandcote
Copy link
Contributor

@alexandcote alexandcote commented Oct 9, 2024

PR Summary:

  1. Shopify attributes were not rendered when the section contained only one block
  2. The attributes were rendered multiple times per block when the section contained multiple blocks

Why are these changes introduced?

Improving the Theme Editor experience.

Testing steps/scenarios

  1. Open the theme editor
  2. Add the slideshow section with one block
  3. Hover the block in the sidebar, be sure the power preview outlines the block properly.
  4. Add another block to the section
  5. Hover the first block, be sure the power preview outlines the block properly.

Checklist

@alexandcote alexandcote self-assigned this Oct 9, 2024
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes!

cc: @Roi-Arthur mind reviewing that one as well ?

Copy link
Contributor

@Roi-Arthur Roi-Arthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me
Got thrown by the step to "Add the slideshow section" for a second 😅

@ludoboludo ludoboludo merged commit d4a42ca into main Jan 24, 2025
@ludoboludo ludoboludo deleted the alexandcote/fixing-block-attributes-announcement-bar branch January 24, 2025 19:45
francescomaione1992 added a commit to Pakos-Devs/dawn that referenced this pull request Jan 25, 2025
[AnnouncementBar] Fixing an issue with block attributes (Shopify#3646)
NathanScheele pushed a commit to Misha-Puff/dawn that referenced this pull request Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants