Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch custom descriptions to block type #2411

Draft
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

0xAurelius
Copy link
Contributor

WARNING! DO NOT MERGE UNTIL MIGRATION SCRIPT HAS BEEN TESTED AND FRONTEND/API KNOWS HOW TO PARSE THE NEW BLOCK TYPE DESCRIPTIONS!

Description

In order to facilitate rich formatting of the custom descriptions with Markdown or HTML, we need to migrate from the simple text type to the "array of blocks" structure that unlocks Sanity's PortableText format support: https://www.sanity.io/docs/block-type

This format will make it easy for the frontend to display Markdown or HTML formatted code

@0xAurelius 0xAurelius self-assigned this Dec 27, 2024
Copy link

vercel bot commented Dec 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
base ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2024 11:00pm
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2024 11:00pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
carbon ⬜️ Ignored (Inspect) Visit Preview Dec 30, 2024 11:00pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant