Docs Reorder

Drag-and-drop ordering for collection documents, with a sort field for queries

Community 336 31/wk MIT v1.2.2

Installation

pnpm add @payload-enchants/docs-reorder

About

Docs Reorder lets editors set a custom order for documents in a collection by dragging them into place in the admin panel. The order is saved on each document, so the front end can pull documents in the same sequence the editors chose. This suits pages, guides, or any list where the default date or title sort does not match how the content should read. The order can be fetched through the REST API, the Local API, and GraphQL by sorting on the saved order field. Only the collections you enable get the ordering controls, and you can restrict who may save changes.

Package info

Package name
@payload-enchants/docs-reorder
Latest version
1.2.2
Unpacked size
61 kB
License
MIT
Weekly downloads
31
Last publish
Jul 16, 2024

More from r1tsuu

View profile

Fills localized Payload content in other locales with Google, OpenAI or copy resolvers

Typed REST client for Payload with the same query syntax as the Local API

Lets API requests pick which fields come back, like GraphQL field selection

Caches local Payload reads for pages and clears them on content changes

Lets each collection compute its admin document title from a custom function

Adds SEO meta fields to collections with OpenAI-generated titles and descriptions

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other