feat(studio): Sanity Studio UX — publish confirm, desk icons, slug uniqueness, collection panes#419
Open
ignmandagaran wants to merge 3 commits into
Open
feat(studio): Sanity Studio UX — publish confirm, desk icons, slug uniqueness, collection panes#419ignmandagaran wants to merge 3 commits into
ignmandagaran wants to merge 3 commits into
Conversation
… uniqueness - Wrap the Publish action in a production-only critical confirm dialog so changes can't go live by accident (sanity/studio/confirm-publish-action.ts). - Disable the Releases navbar tab (releases.enabled: false). - Add Phosphor icons to every desk group/item. - Enforce per-type slug uniqueness on post, project and openPosition via a shared isUnique helper (sanity/schemas/utils/unique-slug.ts).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
releases.enabled: false hides Content Releases but not the separate Scheduled Drafts tool; disable that too with scheduledDrafts.enabled: false.
ignmandagaran
marked this pull request as ready for review
June 25, 2026 19:27
…adges (#421) * feat(studio): searchable, live, draft-badged collection panes Phase 2 of the page-builder port, adapted to this project's flat content model (no page/pageFolder hierarchy). Replaces the default documentTypeListItem for the Content, Company and Careers collections with a custom CollectionPane that adds: - inline filter/search, - live updates (client.listen + debounced refetch), - a 'Draft' badge for documents with unpublished edits, - a slug/role/client subtitle line. 'Create new' and document-edit intents are preserved via the structure component's menuItems + canHandleIntent. Adds @sanity/ui as a direct dep (already used transitively by sanity). * feat(studio): hero thumbnail and slash-prefixed slug in collection rows - Show a mini thumbnail (heroImage/cover/image/logo/avatar) on the left of each row, falling back to the collection's icon when there's no image. - Render the slug subtitle as a path (/my-slug).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports Sanity Studio editor-experience features from the
basement-clipage-builder template, adapted to this project's flat content model.
Changes
post,project,openPositionlive-updating
CollectionPane— Draft badge, thumbnail,/slugsubtitleChecklist
pnpm lintpasses