Skip to content
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

Update feature list #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update feature list #11

wants to merge 3 commits into from

Conversation

kmelve
Copy link

@kmelve kmelve commented Feb 7, 2019

Not all categories are directly applicable, e.g. due to GROQ, our REST APIs are much more powerful compared to most RESTful APIs.

Not all categories are directly applicable, e.g. due to GROQ, our REST APIs are much more powerful compared to most RESTful APIs.
@Jotschi
Copy link
Contributor

Jotschi commented Feb 7, 2019

@kmelve Thanks for your PR can you please provide links to the changed features so that I can confirm that the changes are correct?

sanity.json Outdated Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Outdated Show resolved Hide resolved
"Docker Support": "NA",
"Backup Feature": "No",
"Backup Feature": "Yes",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes/patches to content are backed up, also API endpoints for full exports of datasets.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is the backup feature documented? I could not find it in the docs.

sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Outdated Show resolved Hide resolved
"GDPR Statement": "",
"GDPR API": "No",
"Editing Conflict Detection": "",
"Content Trees": "Yes",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fully customizeable with Structure Builder. https://www.sanity.io/docs/content-studio/structure-builder

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this also limited to 20 levels?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's theoretically unlimited

sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Show resolved Hide resolved
sanity.json Outdated Show resolved Hide resolved
"Nesting of Fields": "Yes",
"GDPR Statement": "Yes",
"GDPR API": "Yes",
"Editing Conflict Detection": "Yes",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backend is real-time, every patch get a revision ID

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when a content is updated with two different requests? Will the second request override the updated data of the first request?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is transactional, so if the transaction includes the revision id of the document, it will fail if the document has been changed meanwhile (and tell the client). If not, it will update the document.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmelve Very nice. Is this documented somewhere? What is the error code in those cases? 409? 400?

"Versioning": "Yes",
"Content Scheduling": "No",
"Content Scheduling": "Yes",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this applies. Is it possible to schedule the publication of a specific content? Is it possible to define a timeframe in which the content is online?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, on any document type you can add a date field (or more). You can then set the access rules to "make this available for a said group (everyone, and/or certain roles) when the date on the document is less than what time is now", and vice-versa if you want to unpublish it.

sanity.json Show resolved Hide resolved
@kmelve
Copy link
Author

kmelve commented Mar 11, 2019

Done @Jotschi!

@Jotschi
Copy link
Contributor

Jotschi commented Mar 17, 2019

I have merged the already checked and solved fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants