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

[AnnouncementBar] Fixing an issue with block attributes #3646

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexandcote
Copy link

@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 😅

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