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

Fix syntax issue in schema for email-signup-banner section #3664

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

Roi-Arthur
Copy link
Contributor

PR Summary:

Fixes syntax error in email-signup-banner section.
While it currently "works", "templates": ["password"] should be invalid if not nested into "enabled_on" or "disabled_on", as shown by Theme check

Why are these changes introduced?

Fixes invalid schema syntax.

Visual impact on existing themes

No impact on theme

Testing steps/scenarios

  • Install dawn
  • Check that the Email signup banner section can be added on the password template
  • Check that the Email signup banner section cannot be added on other templates (e.g. index)

@Roi-Arthur Roi-Arthur merged commit e803aaa into main Nov 6, 2024
8 checks passed
@Roi-Arthur Roi-Arthur deleted the fix-email-banner-schema branch November 6, 2024 17:28
NathanScheele pushed a commit to Misha-Puff/dawn that referenced this pull request Nov 26, 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.

3 participants