Joint session with Vercel: How to build intelligent storefronts (May 15th)

Sanity Draft Review Plugin V3

This plugin allows content editors to quickly view, approve and reject all the documents in draft mode.

By Gustavo Bremm

Install command

npm i sanity-plugin-draft-review-v3

v2 install command (deprecated)

yarn add sanity-plugin-draft-review-v3@1.0.1

sanity-plugin-draft-review-v3

This is a Sanity Studio v3 plugin.

v2 version here

This plugin allows content editors to quickly view, approve and reject all the documents in draft mode.

Whats New!

  • Sanity Preview Support
  • New Grid Layout
  • Dark Mode Support
  • User Presence Support
  • Live updates
  • Validation errors

Screenshot

Installation

npm install sanity-plugin-draft-review-v3

Usage

Add it as a plugin in sanity.config.ts (or .js):

import {defineConfig} from 'sanity'
import {draftReviewPluginV3} from 'sanity-plugin-draft-review-v3'

export default defineConfig({
  //...
  plugins: [draftReviewPluginV3({})],
})

License

MIT © Gustavo Bremm

Develop & test

This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.

See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.