-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2.0 #1280
Comments
I would love to see Media Library folders as discussed here. Right now it is a bit painful to maintain all images in a single folder. |
Looking forward to bitbucket support! |
I have been searching for a data-driven CMS and thought Gatsby hit it close, but the OpenGL requirement is a limiter. Hugo also comes close (but doesn't quite hit the mark). Many static sites are simply database views (in the traditional sense) rendered statically. Building a data-driven component into the core of the CMS without any specific dependency would be ideal. I might suggest support for everything from FADB (filesystem as database) approaches (JSON, TOML, INI organized into directories) to a modular method to plugin data view renderers (or fetchers) as attempted with Gatsby. A clean data module system would allow plugging in data sources. The pattern and approach isn't new, it just currently has not been integrated cleanly into any static CMS that I am aware of. |
@robmuh Netlify CMS can edit data files (TOML, JSON, and YAML currently). What specifically is missing to fulfill your requirements? Sounds like it's still going to come down to your SSG since Netlify CMS simply edits source data and does not behave as a source itself (it's literally just a React app). |
Ok, that helps me understand better. When I hear CMS I usually interpret that to mean something with site generation included (or no ssg like wordpress). |
Is #1032 going to make it into this release? |
Could #1267 Be Added To Version 2.0 |
Note: I added a blurb in the summary above about voting - comments that get a lot of thumbs up will have the best chance of being prioritized. |
Casting my vote for a configuration generator/validator (#1167) |
How about supporting Facebook as one of the OAuth platforms to log in to Netlify CMS since it's one of the biggest social network. |
I oppose doing anything with Facebook, at all. |
Are we considering the mono-repo setup within 2.0? I believe this needs to be done sooner than later. @erquhart After our long discussion in chat about how the starter should be setup, I went and did some extensive heads down testing on a mono-repo starter for those wanting to do a pure React driven build of the CMS. Also, the concerns with globals (#1292) needing to be exposed to create widgets also brings this to the forefront. Initial Findings: (Some opinionated)
I made a valiant attempt (failed) at moving the CMS to a mono-repo using Lerna and Yarn workspaces. I will keep on this to at least have a discussion WIP branch if possible. This is a MAJOR restructure of the folder structure in the cms and would be hard to keep rebased on master. I also attempted and succeeded at creating a mono-repo for the cms starter. The biggest issue is the dependencies being duplicated in the bundles due to a lack of externals and/or peer dependencies. This is what warrants me to suggest we take a hard look at creating a mono-repo sooner than later. |
I think it should be in cli netlify widget create <name> and all netlify widgets in the netlify cms mono repo created by that. |
I also would like to see the advanced(minimal) and easy(full) version, where the easy version is only need to include a js and a css(just like 1.x) and advanced version is;
|
It would be great if we allow different orderings of the file lists, such as by last modified or date added. Right now, the ordering of the posts whatnot in a collection appear to be random. |
@talves great thoughts on the monorepo setup, definitely a 2.0 goal, need to add it to the summary. |
Would love to see nested fields in the name parameter (issue 595). From a UI/UX perspective, not being able to nest makes it pretty ugly and cumbersome to the user and developer very quickly. |
@robmuh
Given that Netlify CMS is written in React, that might be a problem! 🤣 |
Being able to define the field name to use for the slug. At the moment it uses "title", which means you have to have a field called title in a collection, even if it doesn't make sense for the collection content. (For example, in an Authors collection, you have to use "title" as the field name for the field labelled "Author Name". Related: #445 (in that it calls out the same core issue: 'With no field named "title", entries currently fail to save.'), but doesn't address the need to be able to determine the source field for the slug. Slug editing as proposed shouldn't be a pre-req to addressing the core issue. |
Being able to define sub-selects / sub-relations. For example, in Posts, I have a "section" field with a relation to "Sections", so can select "News", "Sport", etc. as the post type. For a sub-select (or relation), this would restrict the available options based on the prior selection, for example "Local News", "US News", "World News" if News is selected, but "Football", "Hockey" etc if sport is selected. One select / relation set of choices is dependent on the value of another. Edit: Discussed in #1267 |
Ability to select which field to display in a relation widget, as distinct from which field is the Related: #1063 (but doesn't call out the need to be able to define the field to display in the dropdown) |
@mbrookes can you link issues to those comments? |
I saw that Forestry.io just released a 'blocks' feature that lets you choose and order includes with their own sets of properties. Essentially they're "mini templates" inside a content section. I'd love to see something along these lines. I'm trying to figure out how I could achieve something similar now - perhaps using the List widget.. but all the fields would then be identical? |
@liquidvisual didn't know about the Forestry feature, but there is a widget in the works that fits what you're describing: #1169 |
@erquhart Wow, that's awesome - I'll keep a close eye on it. Thanks! |
@erquhart I've found and linked a couple of related issues. Shall I add comments to those, or is the link sufficient? For the parent / child select / relation suggestion (for want of a better description), I don't think there's a relevant issue to link to. Should I create a new one? |
Ability to use a separate Git repo for assets (images, video, strings). Main repo would be for app code and the Content repo would be linked, but not actually part of the App repo. |
@emveeoh, ...or maybe separate branch |
I would love to see more options on how to store the data, I want the option of storing the data in the file system, or in a database. the CMS should separate the concerns of where it stores the data. |
@david-genger you have the ability to register a backend today. You can write a backend for your needs and This example has a backend that writes to the file-system during development. |
I want a backend that writes to a Database @talves |
@david-genger Right. This is something someone could do outside the CMS. A backend to write to a specific database would be maintained by the community and not be part of the CMS in most cases. I have written a backend myself to write to firebase/firestore for a project (currently private). |
@talves why shouldn't this be part of the CMS? |
More than one reason for the NetlifyCMS project NOT maintain a database backend:
Discussion: in gitter |
Heads up media library aficionados: a new Image Handling section has been added to the 2.0 checklist by popular demand. Thanks to everyone for voting and commenting, keep it up! Special thanks to @haileypate for pulling together the image handling umbrella issue! |
Not sure if this is in scope, but for 'documentation' type sites, the option to create 'versions' of the site would be super helpful. e.g: see: https://docusaurus.io/docs/en/versioning.html |
@keybits You could take advantage of Netlify's branch-deploy feature. It's how we intend to version the Material-UI docs site - pushing a new branch per version, so branch v1.0.0 will be served as https://v1.0.0.material-ui.com (not live at this moment). |
@mbrookes aha - that's a great idea. Thanks! |
Also, the list of versions shown on the versions page will be pulled from a JSON file in the github repo, so that the versions page is kept up-to-date even for earlier versions of the docs. The v1.0.0 versions page will display a link to the v1.1.0 docs (when it's released), and so on. (Commented out code here.) |
More plugable/extensible/widgets creator friendly or what ever, as seen here and here #1292. one more issue i found, ref #328 |
Jekyll support. |
@ethancalvo Netlify CMS already works with Jekyll. Check out the |
Global settings would be great. Somewhere to store prefs that can be accessed globally (by the SSG) but more importantly by the widgets. I just created a youtube widget that would be greatly enhanced by being able to hook into a general setting for an API Key. As it stands, the key is passed through a field in the widget in |
@hennessyevan the Widget API is being reworked under 2.0, and part of that will include allowing widgets to accept a config object at registration, so you'll be able to accept the API key there. |
One more feature. @hennessyevan maybe you want to try my starter to your next widgets. I extracted that starter from my mono repo widgets here |
UpdateTop 5 community voted features as of 5/23:
@growdigital is digging into that last one! Anyone interested in owning or contributing to any of these efforts, please comment. |
UpdateWe now have a project board for tracking status of all 2.0 issues. |
Also: release date is now set for July 24th. |
@erquhart will the release date be respected ? |
I have utmost respect for the release date. Missed it while trying to get some small changes merged in, but will release soon. |
Heads up: 3 of the top 5 requested features for 2.0 can be solved with this PR: #1602 |
Closing - current priorities can be tracked here: https://github.com/netlify/netlify-cms/projects/7 |
Overview
View Issues
It's 2.0 time, people! 🔥🔥🔥
This issue serves as an all-purpose tracking center for the 2.0 release. It is the source of truth for dates, release strategy, goals, and relevant issues, and all of these things will shift (especially early on) based on the discussions that take place in the issue.
Tracking
Track the status of all 2.0 issues on the 2.0 project board.
Voting
If you're hoping to see something in 2.0 that isn't currently listed below, you have two options:
Comments receiving a high volume of thumbs up will improve the chances of the feature being prioritized.
Note: we can't guarantee that every item added to the checklists below will make it into 2.0 - only that they will be considered a very high priority. Netlify CMS is a community project, and the more folks pitch in, the closer we'll all get to seeing 100% of our 2.0 goals complete. Let's make it happen!
Timing
The release date for Netlify CMS 2.0 is July 24th.
Release Strategy
Moving forward, 2.0 work will occur on the master branch, and a dedicated release branch will be used for 1.x maintenance releases.
Goals
We've been saying for months that the themes of 2.0 are extensibility and growth. Here's what that's come to mean:
Extensibility
Netlify CMS was created to be extended - editor controls, backends, previews and more can be customized through a minimally restrictive JavaScript API. For 2.0, we want to improve that story by lowering the barrier to entry for extension authoring. Here are the stories for extensibility (checklists TBA):
Improve extension authoring docs
Provide extension starter packages
Rework extension API's
Improve community authored extension discoverability
Growth
The community around Netlify CMS is the reason for it's success. A whole lot of folks have doubled down on the JAMstack as the path forward for development on the web, and thousands of websites have been deployed using Netlify CMS for content management. The more developers use Netlify CMS, the more developers invest in the project, the more the entire community benefits.
For the growth epic, we want to address issues that are expected to have high impact on adoption for Netlify CMS. Stories include (checklists TBA):
Improve implementation docs
Improve SSG and service compatibility
Provide assistive tooling for CMS implementation
Image Handling (see umbrella issue #1321)
The text was updated successfully, but these errors were encountered: