Skip to content

feat(studio): searchable collection panes with thumbnails and draft badges#421

Merged
ignmandagaran merged 2 commits into
ignmandagaran/pagebuilder-feature-planfrom
ignmandagaran/pagebuilder-page-tree-pane
Jul 16, 2026
Merged

feat(studio): searchable collection panes with thumbnails and draft badges#421
ignmandagaran merged 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

Stacked on #419 (merge that first).

Replaces the default document lists for Content, Company and
Careers with a CollectionPane: filter/search, live updates, a Draft
badge for unpublished edits, a thumbnail (hero/cover/image/logo/avatar, falls
back to the type icon), and a /slug subtitle. Create new and document
editing still work via menuItems + canHandleIntent.

Adds @sanity/ui (already transitive via sanity).

Verification

  • tsc/eslint/prettier clean; /studio boots with no console errors.
  • On the desk: list filters live, edits refresh in ~300ms, Draft badge shows,
    thumbnails render, "Create new" works.

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
@ignmandagaran ignmandagaran changed the title feat(studio): searchable, live, draft-badged collection panes feat(studio): searchable collection panes with thumbnails and draft badges Jul 16, 2026
@ignmandagaran
ignmandagaran merged commit fcc0510 into ignmandagaran/pagebuilder-feature-plan Jul 16, 2026
3 checks passed
@ignmandagaran
ignmandagaran deleted the ignmandagaran/pagebuilder-page-tree-pane branch July 16, 2026 15:16
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