-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Make Netlify CMS a Progressive Web App (PWA)! #1502
Comments
👍🏻
I don't think we should implement this feature of offline functionality, as NetlifyCMS fetches the data from What else could be done? There should be an option in the pwa: true This way a user don't have to deal with the PWA stuff and enjoy using NetlifyCMS on mobile. Once the user enabled PWA in this config file, the users should be able to add this website (/admin) to home screen, where he/she can have directly edit. |
Isn’t this the case with any other interaction with the git repo? When I'm writing a blog on my text editor, commiting local changes, I'm effectively working "offline". Only when I It is interesting, as I don't know how NetlifyCMS handles git conflicts in the normal course of things. |
Exactly. There is no way to deal with conflicts in NetlifyCMS interface and to deal with such problem we have to use Terminal, Editor or GitHub/GitLab/BitBucket. With the help of NetlifyCMS, non-technical people like: writer or editor can edit or write new posts and they might don't even know how to resolve problems like pull request conflicts. So, it good before hand not to add the option of saving changes locally when offline. |
Disabling the functionality to save changes locally when offline doesn't prevent conflict in changes. Therefore I don't see the value of an option to enable or disable such functionality. I don't think PWA is an option you can enable, it's more like a development strategy / requirement / spec. Just like responsiveness is (which is actually part of googles PWA checklist: https://developers.google.com/web/progressive-web-apps/checklist) |
I know, but once you are back online and then NetlifyCMS will try to commit those changes and what if someone else has already made some changes in that case there will be a conflict.
Yes, but you can control weather to register a service worker or not. |
That can happen when you're online as well, so it's not actually a problem caused by offline functionality. I understand how not registering a service worker is a possibility, I just don't see why you'd want to do that. It's not a functionality that requires the user to think or behave differently, like the editorial workflow for example. |
As I have mentioned in my first comment #1502 (comment), I am referring to two different things.
But still saving edits when offline is not a good idea, apart from that offline functionality can used for checking the dashboard, editorial workflow...
Not all organizations want to use PWA, that's why adding an toggle option would make sense. Apart from that PWA requires an HTTPS connection to work and if someone is not sure HTTPS in that case he/she can disable PWA.
It's kinda functionality only, as PWA brings lots of things:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am very interested in this functionality. I'm not interested in the offline functionality so much as the other features @mittalyashu mentioned. Adding to home screen, removing browser chrome, etc. I'd like the experience to be as close to a native app as possible. |
Same here. A few things leave me reluctant to use Netlify CMS for future projects:
I see great potential for Netlify CMS, especially for Netlify as a company to push more users. I will continue to follow and use it, may it be for very small and simple projects. It was a pleasure to get to know it! |
Hi @matiyin, in your second bullet do you mean reorder entries in a collection or ordering collections in the UI? By re-order issue do you mean #475? |
Hi @erezrokah , thanks for responding!
Yes I mean #475, so for example when I have a collection of products, the client can order them by drag&drop. I now have a manual order number field in there. I'm using Nuxt so custom code.
Yes I'm already using #54 to be able to order on the custom order number field :) But setting those numbers manually is not the best UX.
Wow those new UI ideas look great! Would indeed be a big step towards mobile use. Looking forward to see those changes released at some point and to test them. Again, I will probably continue to use the CMS for smaller projects that need less custom work on the CMS part. |
Thanks for the feedback and clarifications it is very helpful. |
- Do you want to request a feature or report a bug?
Feature
- What is the current behavior?
When I go offline, Netlify CMS goes offline too 😞
- What is the expected behavior?
It would be great to make Netlify CMS a Progressive Web App, allowing for offline functionality. This means that the user could create content without an internet connection, without fearing of losing it.
A PWA would also greatly increase the market share of Netlify CMS, as people could start using it on mobile devices, as in devices connected to mobile data network (although do see #441 Make the CMS work for mobile).
The text was updated successfully, but these errors were encountered: