Skip to content

Conversation

@jaserNo1
Copy link

@jaserNo1 jaserNo1 commented Nov 4, 2025

Description

Adds a shared visibility component that allows hiding dynamic zone components in the Strapi backend.

Changes

  • Added shared/visibility component with isVisible boolean field
  • Updated all dynamic zone components to include the visibility component
  • Modified frontend manager.tsx to filter out components with isVisible=false

Use Case

Content editors can now hide specific dynamic zone sections without deleting them, useful for:

  • A/B testing
  • Seasonal content
  • Draft sections
  • Temporary content removal

Testing

  1. Add a dynamic zone component in Strapi
  2. Set visibility to hidden
  3. Verify component doesn't render on frontend

…d.visibility component with isVisible boolean field- Added visibility field to all 12 dynamic zone components- Allows hiding sections in Strapi admin without losing content- Default value is true (visible)
…isibility field to DynamicZoneComponent interface- Filter out components with isVisible=false in frontend rendering- Enables hiding dynamic zone components via Strapi backend
@vercel
Copy link

vercel bot commented Nov 4, 2025

@jaserNo1 is attempting to deploy a commit to the Strapi Marketing Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant