Skip to content

Conversation

@rchlfryn
Copy link
Collaborator

Description

The column selector experience for content blocks is a bad UI & UX. This PR updates the column selector to automatically pick valid layout based on number of columns added. It will also hide any irrelevant column selections.

Related Issues

Fixes #701

Key Changes

  • Adds useEffect to listen for change in number of columns to automatically selects the first valid column layout when a column is added
  • Hides any irrelevant/not valid column layouts that were previously displayed

How to test

  • Add a content block to a page
  • Add/ remove columns and watch the column picker update

Screenshots / Demo video

@github-actions
Copy link

Preview deployment: https://update-column-picker.preview.avy-fx.org

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.

Blocks - content column picker is annoying

2 participants