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

Bugfix: Hide template input when there are no allowed templates #2484

Conversation

madsrasmussen
Copy link
Contributor

Description

This PR hides the template input on a document info view when there are no configured allowed templates. We do this to prevent an experience where the editor opens an empty template picker or a template picker with only disabled items in it. The same UX will be useful when the CMS is fully headless and there are no templates.

Here is a screenshot of something that is not there 😄

Screenshot 2024-10-24 at 23 39 23

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out, works as expected! 🚀

@leekelleher leekelleher merged commit b3ba6de into release/15.0 Oct 28, 2024
9 checks passed
@leekelleher leekelleher deleted the v15/hotfix/hide-document-template-input-when-not-needed branch October 28, 2024 10:35
nielslyngsoe pushed a commit that referenced this pull request Nov 4, 2024
hide template input when there are no allowed templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants