sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
726 stars 33 forks source link

Local backend breaks and gets notification when remote backend "is experiencing a major incident" #175

Closed josineto closed 4 days ago

josineto commented 4 days ago

As I write this issue, GitLab (my remote backend) has a specific problem, and thus Sveltia CMS warns me that "GitLab is experiencing a major incident" (which is very nice, by the way). As I'm working on a local server, Sveltia CMS offered me to use local or remote backend (as of v0.35.0). But when I connect to local, the same notification appears: "Local Repository is experiencing (...)", with a link to about:blank. Worse: I can't edit any item of any collection, be it file or folder collection (although I can change between collections, trying to enter the editor does nothing, and JS Console is empty).

Screen with wrong notification

josineto commented 4 days ago

(Sorry, I was eager to test v0.35.0, but (perhaps luckily) faced this problem...)

kyoshino commented 4 days ago

Thanks for catching this. Will fix.

kyoshino commented 4 days ago

Worse: I can't edit any item of any collection, be it file or folder collection (although I can change between collections, trying to enter the editor does nothing, and JS Console is empty).

Hmm, I’m not able to reproduce the problem. Sveltia CMS could disable editing functionality in case of a major incident, but I haven’t implement it; instead, it just shows a notification as you see. Not sure why this happens 🤔

kyoshino commented 4 days ago

The incident notification is now hidden with the local backend as of v0.35.1. Let me know if the editing issue still happens.

josineto commented 3 days ago

The editing issue has gone as well. Sorry for not having more evidences of it, the console was empty when it happened. Anyway, thank you for the fast correction!

kyoshino commented 3 days ago

No worries, thanks for verifying the fix!