All Projects → ricokahler → sanity-super-pane

ricokahler / sanity-super-pane

Licence: MIT license
The Sanity Desk Tool Pane with Super Powers

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to sanity-super-pane

snio.dev
The source code of my personal portfolio available on: https://snio.dev.
Stars: ✭ 35 (-61.11%)
Mutual labels:  sanity-io, sanity-studio
sanity-portfolio-studio
A Sanity.io instance that powers a Gatsby portfolio site. Watch it get built live:
Stars: ✭ 14 (-84.44%)
Mutual labels:  sanity-io
sanity-gatsby-portfolio
A Gatsby portfolio site powered by Sanity.io. Watch it get built live:
Stars: ✭ 16 (-82.22%)
Mutual labels:  sanity-io
React-Commenting-System
Commenting System built with NextJS and Sanity
Stars: ✭ 28 (-68.89%)
Mutual labels:  sanity-io
sanity-template-commercelayer
A multi-country ecommerce template built with Commerce Layer, Next.js, Sanity studio, and deployed to Netlify.
Stars: ✭ 76 (-15.56%)
Mutual labels:  sanity-studio
groq-cli
Run GROQ in your command line
Stars: ✭ 139 (+54.44%)
Mutual labels:  sanity-io
nuxt-sanity
Easily integrate Sanity in your Nuxt.js project.
Stars: ✭ 14 (-84.44%)
Mutual labels:  sanity-io
sanity-codegen
Generate TypeScript types from your Sanity.io schemas
Stars: ✭ 181 (+101.11%)
Mutual labels:  sanity-io
nextjs-sanity-template
Starter Sanity + Next.js
Stars: ✭ 22 (-75.56%)
Mutual labels:  sanity-io
sanity-mobile-preview
An NPM package written in React used to preview mobile devices. Especially helpful when used in combination with a CMS like sanity.
Stars: ✭ 19 (-78.89%)
Mutual labels:  sanity-studio

SUPER Pane

The Sanity Desk Tool Pane with Super Powers

CleanShot 2021-03-25 at 09 00 11

Status: ⚠️ MVP/EARLY ALPHA. There is much more (eventually) planned for this thing. Stay tuned/Watch Releases to be notifed with updates.

Please report bugs!

What

Super Pane aims to replace the traditional document type list pane in the Sanity Studio for certain documents that need more editing power. The goal of Super Pane is to enable more bulk editing and quick scanning while not losing any of the live-edit/reactivity of Sanity.

Super Pane aims to feel Sanity-y via @sanity/ui other integrations.

Installation

# note: the alpha tag is needed at this time
yarn add sanity-super-pane@alpha

Then integrate Super Pane using the structure builder:

import S from '@sanity/desk-tool/structure-builder';
import { createSuperPane } from 'sanity-super-pane';

export default () =>
  S.list()
    .title('Base')
    .items([
      S.listItem().title('Normal List').child(createSuperPane('movie', S)),
    ]);

Local development

Here is the first time setup for this lib:

Install

First, clone the repo (or a fork), and then install with npm

Note: installing with npm instead of yarn is required.

npm i

Create a sample project with the movie dataset

The login into the sanity CLI

npx sanity login

Then create a temporary project via the CLI. We'll use this create project entry in your Sanity account with the example movie dataset.

npx sanity init -y \
  --create-project "super-pane-dev" \
  --dataset production \
  --visibility private \
  --template moviedb \
  --output-path ./temp-movie-project

After this is done grab the project ID:

cat ./temp-movie-project/sanity.json | grep projectId

Then you create a .env.development file for development:

echo SANITY_STUDIO_API_PROJECT_ID="ENTER_PROJECT_ID" > .env.development

Finally delete the temp-movie-project folder.

Start the dev server

npm start

Contributing

  1. Open an issue first so we can quickly align on the what and how.
  2. Fork this repo to your own Github account or org.
  3. Create a new branch (e.g. feat/new-feature, fix/the-bug, etc) and commit following the Angular Commit Message Conventions. This is important because this repo is managed via semantic-release. Semantic-release parses these messages to determine version numbers.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].