-
Notifications
You must be signed in to change notification settings - Fork 6
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
Netlify cms #224
Netlify cms #224
Conversation
✅ Deploy Preview for veda-ui ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
To run CMS on local:
|
7a0a947
to
05a1340
Compare
While looking at how to customize the editor widget on Netlify CMS (to show how the data will look to users), @slesaad gave this great idea to directly link the preview page from the editor. It turned out, Netlify CMS already offers this functionality from v2.4 (We were on 2.0 before, I updated Netlify CMS to 2.10) Workflow
This requires a user some additional clicks and wait time for the preview build. However, the user can see exactly how the data will get rendered. Also, it is a very low effort on our side. I think it is worth at least testing. I would love your opinion @danielfdsilva @aboydnw @nerik (We can go over this feature sometime next week.) Some caveats make me think we still need to look into customizing Netlify Widgets.
|
I'll let others weigh in, just wanted to put out there that I'd feel comfortable accompanying documentation with a POC like this. I think IMPACT and scientists would see it as an improvement and would be willing to read documentation for things like conditional fields or less-than-optimal workflows. Would allow us to get feedback on whether something like this is useful and then we can go from there. |
Automatically generated. Merged on Netlify CMS.
✅ Deploy Preview for veda-ui ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
We decided to move forward with this approach. But this change needs to go in config repo, not here. I will close this PR for now but will open one in config repo. |
Reopening for demo purpose |
related to: NASA-IMPACT/veda-config#87
cms ui is deployed to: https://deploy-preview-224--veda-ui.netlify.app/admin/index.html
The page should show up login window like this:
After registration, the page will show the dashboard like below. A user can access to netlify cms editor by clicking 'new dataset' button.
This is how the editor looks like. We can pre-embed options that a user can choose through dropdown. We can use our api endpoints to show what collections are available too.
This is a dataset file generated through this process: https://github.com/NASA-IMPACT/delta-ui/blob/6785319f70974b2e2877ba2e536b52f07e5d71b7/mock/datasets/see-image.data.mdx