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

Add collapse option to dynamic zone #20418

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

louieheaton
Copy link

@louieheaton louieheaton commented Jun 1, 2024

What does it do?

  • Adds an options to the Dynamic Zone to have a collapse by default option

Why is it needed?

  • Lots of content inside of components and lots of components inside a dynamic zone makes it difficult to add/move components. Many discussions been raised about this

#16737
https://forum.strapi.io/t/strapi-v4-dynamic-zono-components-to-be-closed-by-default/25661
#15655

How to test it?

  • Add a dynamic zone to a content type
  • Go into Advanced Settings
  • Select the new option for Collapsed by Default
  • Add a component field
  • Create a new entry
  • Add a couple of the new components
  • Save the page
  • Refresh and confirm that the items are collapsed by default

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

#16737
#15655

Copy link

vercel bot commented Jun 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ❌ Failed (Inspect) Jun 3, 2024 8:39am

@strapi-cla
Copy link

strapi-cla commented Jun 1, 2024

CLA assistant check
All committers have signed the CLA.

@louieheaton louieheaton marked this pull request as ready for review June 1, 2024 14:41
@louieheaton louieheaton changed the title feat: add dynamic component Add collapse option to dynamic zone Jun 1, 2024
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.

None yet

2 participants