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

Allow for marking blueprints in custom namespaces as "Hidden" #1175

Closed
duncanmcclean opened this issue Jun 6, 2024 · 1 comment · Fixed by statamic/cms#10617
Closed

Allow for marking blueprints in custom namespaces as "Hidden" #1175

duncanmcclean opened this issue Jun 6, 2024 · 1 comment · Fixed by statamic/cms#10617

Comments

@duncanmcclean
Copy link
Member

On most blueprints, like those for collections & taxonomies, there's an option on the edit page to mark the blueprint as "Hidden".

CleanShot 2024-06-06 at 16 36 16

However, the hidden toggle isn't shown for "custom namespaces" (eg. those registered with Blueprint::addNamespace();.

In my case, with Runway, it would be nice to show this option since hiding a resource's blueprint now correlates to whether the "Create" button is displayed or not (ref: statamic-rad-pack/runway#508).

Just leaving this here as a reminder to come back to.

@mefenlon
Copy link

I have been using the hidden: true in my blueprints from #508. I have noticed that if the blueprint is editied in cp, the hidden: true line is removed.

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 a pull request may close this issue.

2 participants