Urgent.News

What's breaking now, across thousands of outlets.

Tech

Sanity CMS public dataset: why my codename desk needed a review queue

I manage codenames. Not for any organization that would pay me — just for myself, and now for whoever else lands on the page. Cryptonym Desk started as a private CSV that grew into something I wanted to share as a static site. The problem was that a static site that accepts submissions isn't really static anymore. Here's how I rebuilt it on Astro with a public Sanity dataset, where the review…

The author manages codenames for personal use, initially storing them in a private CSV file. As the project grew, they wanted to share it as a static site. However, a static site that accepts submissions is no longer static, requiring a review workflow. The author rebuilt the site using Astro and Sanity, creating a public Sanity dataset for the review workflow.

The review gap arose when someone wanted to submit a codename. A static site lacks a form handler, and using an unauthenticated webhook for submissions introduces security risks. The author wanted a pending state visible only to them, with the ability to approve or reject submissions. Sanity's draft and published states per document were almost the ideal workflow, but the submitter still needed a token to create a draft.

To solve this, the author kept submissions as a separate document type, "wordProposal," and built a minimal review interface in a Sanity Studio dashboard. The App SDK allowed them to add a queue view that listed proposals, displayed the proposed word and submission reason (if provided), and let the editor promote it to a published codename document or delete it.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Stopped Uploading Videos to Online Editors — Here's the Browser-Native Alternative

Every time you drag a video into a typical "free online editor," the same thing happens: your file uploads to someone's server, gets processed there, and you download the result.

  • Client-side video processing eliminates server round-trips
  • Private Video Tools offers compression, trim, crop, and more
  • Browser capabilities now support client-side video transcoding

Software Statement of Work (SOW) Template and Guide

A software statement of work (SOW) describes what will be built, what will be delivered, how each delivery is accepted, when it happens and how changes are handled.

  • Software SOW outlines project scope, deliverables, and change management
  • Twelve-section template covers parties, objectives, scope, and schedule
  • Legal consultation recommended for compliance and risk protection

I compressed a signed PDF with five tools. Every signature broke or vanished

A lot of e-contract pipelines sign first and compress later. The signed file often carries scans or photos, so shrinking it right before archiving feels natural.

  • Compressing signed PDFs breaks or removes signatures
  • Every compression tool restructured the entire file
  • Ghostscript and iLovePDF removed signature fields entirely

More from Sunday 18 October →