Skip to content

Switch custom descriptions to block type#2411

Draft
0xAurelius wants to merge 2 commits into
stagingfrom
migrate-text-to-block
Draft

Switch custom descriptions to block type#2411
0xAurelius wants to merge 2 commits into
stagingfrom
migrate-text-to-block

Conversation

@0xAurelius
Copy link
Copy Markdown
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
@vercel
Copy link
Copy Markdown

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