Sanity Studio v4.17.0: Enhanced object navigation and full-screen editor view

✨ Highlights

Enhanced object dialog

The enhanced object dialog is now switched on by default.

In order to opt out: Change / add the property beta.form.enhancedObjectDialog.enabled in your studio configuration (usually found in sanity.config.ts) and set it to false.

{
// ...
beta: {
form: {
enhancedObjectDialog: {
enabled: false,
},
},
},
}

Full-screen editor view

You can now maximize the editor pane! By pressing the button on the header you now have a cleaner single pane experience for any document!

Unknown block type "muxVideo", specify a component for it in the `components.types` option

Other features

The onComplete callback for DocumentActionComponent hooks are deprecated and considered harmful for performance. Use local state instead, for example call setDialogOpen(false) in dialog onCancel attributes instead of onComplete.

scheduledPublishing.showReleasesBanner is now deprecated. When both Scheduled Publishing Plugin and Scheduled Drafts are enabled, Scheduled Drafts will default to being used for scheduling.

🐛 Notable bugfixes

Creating a scheduled draft will now discard the existing draft version after scheduling has been created

Removed errant scheduled draft existence warning banner

Fixed issue causing object array items to sometimes be invisible

Optimizes rendering of document actions so they're only rendered once, instead of 3x