Sanity Studio v5.23.0: Improved workspace warnings, ask-to-edit toggle option, and multiple UX fixes

This release brings improved workspace configuration warnings and a number of UX fixes.

Disable “Ask to edit”

Adds a new document.askToEdit.enabled config option to allow hiding the Ask to edit option which is displayed when a user lacks the required permissions to edit a document.

import {defineConfig} from 'sanity'

export default defineConfig({
// ...rest of config
document: {
askToEdit: {enabled: false},
},
})

🐛 Notable bugfixes and improvements

Studios will now warn when multiple workspaces sharing the same project ID have conflicting auth configurations.

Fixes a bug in Dashboard-embedded Studio where the user menu was still accessible on mobile even though it was hidden on desktop. Mobile now matches desktop behavior.

When using Review changes, properties that are not defined on the schema now show as a raw JSON.

Fixes an error that prevented reverting a live-edit document to an earlier revision.

Fixes a UI glitch where setting disableNew: true on an image or file field moved the Select button from the right side to the left. The button now stays on the right consistently.

Updates styling for Open in New Tab from the reference input menu actions.

Polishes the Content Releases activity panel: Avatars align with text, activity entries use sentence case, the “immediately” label is now “As soon as possible” to match the release type picker, and each entry now shows an absolute timestamp with relative time on hover.

Fixes a bug where clicking the overflow menu (⋯) on a field scrolled the document to the top.

Fixes a bug where duplicate inline diff segments could occur in Portable Text.