-
-
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
Feat: nested collections #3716
Feat: nested collections #3716
Conversation
3b66511
to
47fed70
Compare
This is looking great Erez, just some quick feedback:
|
The preview was an oversight on my behalf and it is now fixed. |
dispatch(entryPersisted(collection, serializedEntry, slug)); | ||
if (serializedEntry.get('newRecord')) return dispatch(loadEntry(collection, slug)); | ||
dispatch(entryPersisted(collection, serializedEntry, newSlug)); | ||
if (collection.has('nested')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to editorial workflow, we need to re-load all entries after publish and navigate to the new slug if it had changed
206f3fc
to
d87d60f
Compare
Now that decaporg/decap-cms#3716 is merged - seeing if this works
Congrats on merging this @erezrokah, Amazing work! |
I just tested with docusaurus v2 ... but i'm failed to show nested file. I do like your direction. I have no idea. |
Okay,this my detail
|
Hi @simrspersahabatan, can you open a new issue for this and use the issue template. That will make it easier to collect all the relevant information regarding the problem you're experiencing |
Fixes #3227
Initial support for having a folder structure in the CMS and moving entries.
Used GitLab handbook as a reference.
Example config:
Example UI:
Assumptions
index_file
Path
input controls the directory of the entry (filename cannot be modified)Notes
backend.js
from the individual backends, so we can identify which content file to read based on the extension. This should also make it easier to handle multiple content files (e.g. multi language files).TODO
path
is a valid directory, error when overwriting an existing path)