Skip to content

feat(studio): searchable, live, draft-badged collection panes#421

Open
ignmandagaran wants to merge 2 commits into
ignmandagaran/pagebuilder-feature-planfrom
ignmandagaran/pagebuilder-page-tree-pane
Open

feat(studio): searchable, live, draft-badged collection panes#421
ignmandagaran wants to merge 2 commits into
ignmandagaran/pagebuilder-feature-planfrom
ignmandagaran/pagebuilder-page-tree-pane

Conversation

@ignmandagaran

@ignmandagaran ignmandagaran commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

Stacked on #419 (merge that first).

Replaces the default document lists for the Content, Company and
Careers collections with a custom CollectionPane that adds: filter/search,
live updates (client.listen + debounced refetch), a Draft badge for docs
with unpublished edits, and a slug/role/client subtitle. Create new and
document editing are preserved via menuItems + canHandleIntent. Singletons
and 3D Config are untouched.

Adds @sanity/ui as a direct dep (already transitive via sanity).

Verification

  • tsc clean on changed files; eslint + prettier clean.
  • /studio compiles and boots with zero console errors.
  • Once on the desk, confirm: list filters live; edits refresh within ~300ms; a
    doc with unpublished edits shows the Draft badge; "Create new" works;
    clicking a row opens + highlights it.

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).
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website-2k25 Ready Ready Preview, Comment Jun 26, 2026 12:31am

- 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 ignmandagaran changed the title feat(studio): searchable, live, draft-badged collection panes (Phase 2) feat(studio): searchable, live, draft-badged collection panes Jun 26, 2026
@ignmandagaran ignmandagaran marked this pull request as ready for review June 26, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant