Sanity Studio v3.74.0: UI improvements for switching between draft and published perspectives in Sanity Studio

✨ Highlights

UI improvements in studio and structure

1. Switch between drafts and published perspectives in the editor

Previously, your drafted changes to an already published document would always be present when viewing that document in the studio, and there was no simple way of viewing the document in its published state. As of this release, the studio editor pane supports switching between the published and drafts perspectives, to quickly eyeball what’s changed.

2. Browse your studio in published perspective

The default mode in the studio is unchanged - all existing drafts appear alongside published documents. When working on a single document, you’ll see your drafted changes rather than the last published version. This is the drafts perspective.

Switching to the published perspective (via the perspective switcher at the top of the editor pane) updates the studio’s top navigation bar to green, indicating that you are now viewing only published documents in their last published state. Please note that while the published perspective is active, your documents will be in read-only mode, unless they are configured to be live-editable.

You can continue navigating the studio in this mode, ensuring you see only content that is currently live, or switch back to the default drafts perspective to see all pending changes.

3. Global perspective switcher

You can also change between the published or drafts perspective from the switcher at the right side of the studio top navigation bar.

This will also be used by Presentation when previewing content inside the studio, the built in picker has been removed

4. Click document footer status bar to open history pane

The document History pane has always been available by accessing the ellipsis menu at the top of the document editor pane. From now on, you can also access this view by clicking the document status in the footer of the editor pane.

5 Perspective-aware History pane

The History pane now adapts to show information about the relevant document in the currently selected perspective. While in published mode, any changes since the last published state are omitted.

To see all pending changes in the History pane, toggle back to the drafts perspective.

📓 Full changelog

Author | Message | Commit ------------ | ------------- | ------------- Jordan Lawrence, Rita Dias, Pedro Bonamin, Ash Stevens, Cody Olsen, Robin Neatherway, Marius Lundgård, Bjørge Næss | feat: content releases (#8454) | e485525cbc renovate[bot] | chore(deps): update dependency turbo to ^2.4.0 (#8500) | 2d2df51cc6 Pedro Bonamin | fix(core): show accurate history for live-edit documents (#8497) | ccb2a4f9b3