0.134.0

Released Sep 26th 2018

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Structure Builder!

So, after a beta period we're shipping our most requested feature. You can now structure how document collections are displayed as you see fit. The configuration is done in code so it opens up a long list of possibilities for fine grained customization:

  • Restrict a type to one single document with a given id (typically some global configuration)
  • Create hierarchies of documents based on queries
  • Easily navigate to a specific document in the root of the navigation structure (think “featured items” in an app or on a website, for instance)
  • Create workflow-focused navigation structures (think “needs review”, “awaiting publication” and similar)
  • Display a certain document type in a custom way instead of in the default editor
  • Use an external API to control how documents are structured in the studio (for example setting up a newsroom where different “modes” of the studios can be determined remotely and in real time)

Check out the documentation and let us know on the community Slack should you see room for improvement.

📓 Full changelog

AuthorMessageCommit
Espen Hovlandsdaldesk-tool Introduce structure392443242...43614e4bf
Bjørge Næsschore Upgrade lerna (#970)cba49212d
Espen Hovlandsdaldesk-tool Prefer assigned titles over document titles when both exist (#971)5086d7526
Espen Hovlandsdalcomponents Pass action item to menu action handler (#972)f7f76c0c8
Bjørge Næssclient Warn about using a token with listeners in the browser (#973)ece4739a2
Bjørge Næssdesk-tool Make sure DocumentPaneItemPreview listens on correct draft/published ids (#974)856f13ba1
Bjørge Næssbase Make settings store observable + integrate with DocumentsListPane (#977)fc110c6eb
Espen Hovlandsdalstructure Disallow document type lists to show editor for different type (#975)b5d1452a8
Espen Hovlandsdaldesk-tool Handle generic edit intents without type name (#976)eb70198fa