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: remove requirement on :stylesheet_urls from Layout schema #271

Merged

Conversation

polvalente
Copy link
Contributor

closes #150

It turns out that the stylesheets were already optional as the changeset was configured.

An additional validation through either validate_change or a combination of get_field/get_change and add_error must be done if an array field is to be considered invalid on an empty list, but this is not a concern in any of the other schemas which I found in the code.

@@ -35,6 +35,7 @@ beacon-*.tar
/assets/node_modules
# tailwind.install
/assets/css/app.css
/assets/tailwind.config.js
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file was added during the setup it seems, and I'd accidentally commited it

docker-compose.yml Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
@leandrocp
Copy link
Contributor

Thanks!

@leandrocp leandrocp merged commit d0e2036 into BeaconCMS:main Jun 29, 2023
@polvalente polvalente deleted the pv-fix/remove-stylesheet-requirement branch June 29, 2023 15:46
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.

Core -> Components and Pages: Make stylesheets optional
2 participants