-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Offer UI feedback when config.yml incorrect, and other issue...? #17
Comments
You’re right, I haven’t implemented comprehensive validation in Sveltia CMS. I think having a config editor is rather a must because hand-written config files are very problematic, but the CMS still needs a validator to catch any issue. In the meantime, please use Decap as a validator 🤣 |
And yeah, I think your error is unrelated to |
It’s a mystery at a glance. I thought it might be a browser compatibility issue because |
Agreed 👍🏻 that's the dream. One things i've wished for with Netlify/Decap (which diverges from a validation + editor) is that configs could be split into multiple files:
This increases number of requests on load, but the collections could be lazy loaded so it's not too bad. This would progressively enhance, while being backwards compatible, yet allow a dev to wrangle the hundreds of lines of YAML a bit better. |
I ran into another bug. After successfully doing the oauth dance, logging in, seeing request return
200
Sveltia UI updates and says
Loading Site Data...
but errors with following:When switching to
decap-cms / netlify-cms.js
I see the following error:After fixing a few bugs in my config and properly loading the content in Decap, I still see above error in Sveltia.
What is also interesting is the config works fine when using localhost version.
The text was updated successfully, but these errors were encountered: