Skip to content
Docs Portfolio

sanity-cms

2 posts with the tag “sanity-cms”

Building a Chat Conversation Component for Sanity Studio (iMessage-Style Bubbles)

Ever wanted to embed a conversation or chat screenshot in your blog post, but pasting an image felt too static? What if you could recreate chat bubbles—complete with sender names, timestamps, and multiple visual styles—as structured content?

That’s what I built for my Astro + Sanity blog. And thanks to the documentation system I built, it only took 90 minutes from concept to production.

Here’s how it works, what design decisions went into it, and the complete implementation guide.

Self-Documenting Your Dev Workflow: How Writing Guides Made Me 3x Faster

There’s a moment in every developer’s journey when you finally realize: “I should have documented this the first time.”

Mine came after spending two hours debugging why my Sanity Studio components weren’t showing up in production—even though they worked perfectly on localhost. The problem? I had forgotten that my blog actually consists of two separate applications that need independent deployments.

This is the story of how writing documentation for “future me” accidentally made my development process 3x faster.