Disabling beta features and reporting a bug in the latest version of the studio.

14 replies
Last updated: Mar 28, 2024
Hey team, we just updated our studio to the latest version (3.35.2) and I was wondering if we had any control on the beta features. For example, we could like to disable for now comments as well as the tasks as we're getting weird behaviour with it (see my screenshot showing duplicated tasks menu). Thanks.
AI Update

You absolutely have control over comments and tasks in Sanity Studio 3.35.2! Here's how to disable them in your sanity.config.ts or sanity.config.js file:

Disabling Comments

To disable comments, add this to your studio configuration:

// sanity.config.ts
import {defineConfig} from 'sanity'

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

Disabling Tasks

To disable tasks, add this to your studio configuration:

// sanity.config.ts
import {defineConfig} from 'sanity'

export default defineConfig({
  // ... rest of your config
  tasks: {
    enabled: false
  }
})

Putting It Together

If you want to disable both features, your config would look like this:

// sanity.config.ts
import {defineConfig} from 'sanity'

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

About the Duplicated Tasks Menu Issue

The duplicate tasks menu you're seeing is likely a bug in version 3.35.2. After disabling these features:

  1. Restart your Studio development server
  2. If deployed, redeploy your Studio

Important note: Disabling comments hides them in the studio, but existing comments persist in the add-on comment dataset. The same applies to tasks. You can re-enable these features at any time by setting enabled: true or removing the configuration entirely (they're enabled by default for paid plans).

Both comments and tasks are available for all paid plans (Growth plan and above), and they're no longer in beta—they're fully supported features as of 2024.

About disabling comments, I found this article but it didn't help as the
unstable_comments.enabled
doesn't seem to do anything
_Edit_: I made it work, but what about Tasks and duplicated panels?
Hello David.You can disable it by adding this into the
defineConfig
function.
defineConfig({
  ...restOfConfig,
  unstable_tasks: {
    enabled: false,
  },
})
Amazing thanks, let me give it a try 🙂
What's your current setup for the studio? Is it an embebed studio?Are you inserting multiple
structure
plugins?
I do have multiple structures yes, actually have 4, just like I see 4 tasks panels
Got it, yes that's the reason why you see 4 tasks panels.
Makes sense I guess, although they all behave as one and when clicking one of them it opens them all
Yes, they are using the same context to handle the navigation inside tasks.
We will need to fix it internally, I don't think it can be fixed from your side.
That's alright, I will deactivate the feature for now, I don't think we had a use for it yet anyways. Thanks for your help
user N
🙂
Thanks for reporting
user A
! Will let you know as soon as it's fixed.
A fix has been pushed for this just now. https://github.com/sanity-io/sanity/releases/tag/v3.36.1
Amazing, super quick turn around thank you
user N
. Also since you are here, what’s the best way to report another bug potentially related to multiple desk structures? This channel?
To report bugs I would recommend doing it through the github issues https://github.com/sanity-io/sanity/issues

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?