How to set default view/tab when Sanity Studio loads?
I understand the frustration! Unfortunately, I wasn't able to find explicit documentation about how to control which tool/tab becomes the default view when Studio loads.
First, let me clarify something important: the Mux plugin typically provides a custom input component for video fields in your schema - it doesn't usually add a separate navigation tool/tab to your Studio. If you're seeing a dedicated "Mux plugin tab" as the default view, this might be:
- A custom tool that was added to your Studio configuration
- Another plugin (like Vision tool) that's displaying Mux-related content
- A custom view someone on your team created
What You Can Try
Since there's no documented way to explicitly set a default tool, here are some troubleshooting approaches:
1. Check your plugins array order
While I couldn't find documentation confirming this behavior, it's worth experimenting with the order of plugins in your sanity.config.js:
import { defineConfig } from 'sanity'
import { structureTool } from 'sanity/structure'
import { muxInput } from 'sanity-plugin-mux-input'
export default defineConfig({
plugins: [
structureTool(), // Try putting this first
muxInput(),
// ... other plugins
],
})2. Check for URL routing
Sometimes the issue is simpler - your browser might be remembering the last tool you visited. Try:
- Clearing your browser cache and local storage
- Accessing your Studio at the root URL (e.g.,
yoursite.com/studio) - Bookmarking the structure tool directly (usually at
/studio/structure)
3. Look for custom routing configuration
Check your config file for any custom basePath settings or routing configurations that might be directing the Studio to a specific tool on load.
Getting More Help
Since this behavior isn't clearly documented, I'd recommend reaching out to the Sanity Slack community or Sanity support. If you can share your full sanity.config.js file (with sensitive info removed), the community might spot what's causing the Mux view to load by default.
Show original thread2 replies
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.