feat(studio): searchable collection panes with thumbnails and draft badges#421
Merged
ignmandagaran merged 2 commits intoJul 16, 2026
Conversation
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).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 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).
ignmandagaran
marked this pull request as ready for review
June 26, 2026 15:23
ignmandagaran
merged commit Jul 16, 2026
fcc0510
into
ignmandagaran/pagebuilder-feature-plan
3 checks passed
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.
Stacked on #419 (merge that first).
Replaces the default document lists for Content, Company and
Careers with a
CollectionPane: filter/search, live updates, a Draftbadge for unpublished edits, a thumbnail (hero/cover/image/logo/avatar, falls
back to the type icon), and a
/slugsubtitle.Create newand documentediting still work via
menuItems+canHandleIntent.Adds
@sanity/ui(already transitive viasanity).Verification
tsc/eslint/prettierclean;/studioboots with no console errors.thumbnails render, "Create new" works.