italodr

payload plugin tree list

by italodr
Admin customization
v3
3.0.1
MIT

Overview

Summary generated from the README

Adds a collapsible tree view to the admin list of selected collections. It is configured through a plugin function that takes the target collections and relies on the Payload Nested Docs plugin for the parent relationship. It targets Payload 3.x.

Features

  • Collapsible tree view in the collection list
  • Per-collection configuration through a collections option
  • Uses the parent field from the Nested Docs plugin
  • Built for Payload 3.x

Use cases

  • Browse hierarchical pages in the admin as an expandable tree
  • Review parent and child documents of a nested collection at a glance

From the author

A plugin for Payload CMS that adds a collapsible Tree list view.

Installation

npm i payload-plugin-tree-list

50

Stars

6

Forks

3

Open Issues

1 years ago

Last Updated

17

Weekly Downloads

v1.0.0

npm Version

41.3 KB

Unpacked Size

6

Dependencies

GitHub stars

500 since Sep 7

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 202650
Dec 5, 202650
Dec 4, 202650
Dec 3, 202650
Dec 2, 202650
Dec 1, 202650
Nov 30, 202650
Nov 29, 202650
Nov 28, 202650
Nov 27, 202650
Nov 26, 202650
Nov 25, 202650
Nov 24, 202650
Nov 23, 202650
Nov 22, 202650
Nov 21, 202650
Nov 20, 202650
Nov 19, 202650
Nov 18, 202650
Nov 17, 202650
Nov 16, 202650
Nov 15, 202650
Nov 14, 202650
Nov 13, 202650
Nov 12, 202650
Nov 11, 202650
Nov 10, 202650
Nov 9, 202650
Nov 8, 202650
Nov 7, 202650
Nov 6, 202650
Nov 5, 202650
Nov 4, 202650
Nov 3, 202650
Nov 2, 202650
Nov 1, 202650
Oct 31, 202650
Oct 30, 202650
Oct 29, 202650
Oct 28, 202650
Oct 27, 202650
Oct 26, 202650
Oct 25, 202650
Oct 24, 202650
Oct 23, 202650
Oct 22, 202650
Oct 21, 202650
Oct 20, 202650
Oct 19, 202650
Oct 18, 202650
Oct 17, 202650
Oct 16, 202650
Oct 15, 202650
Oct 14, 202650
Oct 13, 202650
Oct 12, 202650
Oct 11, 202650
Oct 10, 202650
Oct 9, 202650
Oct 8, 202650
Oct 7, 202650
Oct 6, 202650
Oct 5, 202650
Oct 4, 202650
Oct 3, 202650
Oct 2, 202650
Oct 1, 202650
Sep 30, 202650
Sep 29, 202650
Sep 28, 202650
Sep 27, 202650
Sep 26, 202650
Sep 25, 202650
Sep 24, 202650
Sep 23, 202650
Sep 22, 202650
Sep 21, 202650
Sep 20, 202650
Sep 19, 202650
Sep 18, 202650
Sep 17, 202650
Sep 16, 202650
Sep 15, 202650
Sep 14, 202650
Sep 13, 202650
Sep 12, 202650
Sep 11, 202650
Sep 10, 202650
Sep 9, 202650
Sep 8, 202650
Sep 7, 202650
npm weekly downloads

17+7 since Sep 7

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 6, 202617
Dec 5, 202618
Dec 4, 20263
Dec 3, 20264
Dec 2, 20264
Dec 1, 20266
Nov 30, 20268
Nov 29, 202611
Nov 28, 202612
Nov 27, 202613
Nov 26, 202612
Nov 25, 202614
Nov 24, 202612
Nov 23, 202610
Nov 22, 20268
Nov 21, 20268
Nov 20, 20267
Nov 19, 20269
Nov 18, 20267
Nov 17, 20268
Nov 16, 20269
Nov 15, 202634
Nov 14, 202632
Nov 13, 202641
Nov 12, 202644
Nov 11, 202644
Nov 10, 202644
Nov 9, 202643
Nov 8, 202617
Nov 7, 202617
Nov 6, 20267
Nov 5, 20262
Nov 4, 20264
Nov 3, 20263
Nov 2, 20264
Nov 1, 20268
Oct 31, 202610
Oct 30, 202615
Oct 29, 202615
Oct 28, 202613
Oct 27, 202614
Oct 26, 202618
Oct 25, 202613
Oct 24, 202612
Oct 23, 20267
Oct 22, 202612
Oct 21, 202613
Oct 20, 202612
Oct 19, 20269
Oct 18, 202610
Oct 17, 202614
Oct 16, 202615
Oct 15, 202613
Oct 14, 202616
Oct 13, 202618
Oct 12, 202618
Oct 11, 202619
Oct 10, 202614
Oct 9, 202616
Oct 8, 202615
Oct 7, 202611
Oct 6, 20269
Oct 5, 20267
Oct 4, 20268
Oct 3, 202610
Oct 2, 20267
Oct 1, 20265
Sep 30, 20269
Sep 29, 202613
Sep 28, 202613
Sep 27, 202612
Sep 26, 202613
Sep 25, 202613
Sep 24, 202615
Sep 23, 202611
Sep 22, 202611
Sep 21, 202611
Sep 20, 202611
Sep 19, 20268
Sep 18, 20268
Sep 17, 20267
Sep 16, 20268
Sep 15, 20265
Sep 14, 20267
Sep 13, 20266
Sep 12, 20267
Sep 11, 20267
Sep 10, 20267
Sep 9, 20268
Sep 8, 20268
Sep 7, 202610

Each point is npm's rolling 7-day download count.

Health Score

38/100Fair

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/885406090-root.svg)](https://payloaddirectory.dev/plugins/885406090-root)
HTML
<a href="https://payloaddirectory.dev/plugins/885406090-root"><img src="https://payloaddirectory.dev/badge/885406090-root.svg" alt="Payload Directory"></a>
Updated Nov 6, 2025Created Nov 8, 2024Published Jan 27, 2025

README

Payload Tree List Plugin

[!CAUTION] This repository is obsolete and is no longer actively maintained due to changes implemented by PayloadCMS since version 3.


A plugin for Payload CMS that adds a collapsible Tree list view. This plugin depends on the Payload Nested Docs Plugin for its parent implementation.

This plugin is compatible only with Payload CMS version 3.x.

Payload Tree List Plugin Example with some items open and other closed

Installation / How to use

Minimum required payload version: 3.x

Install the plugin using yarn add @payloadcms/plugin-nested-docs payload-plugin-tree-list. Then, add the plugin to your Payload configuration file:

payload.config.ts:

import { buildConfig } from "payload";
import { nestedDocsPlugin } from "@payloadcms/plugin-nested-docs";
import { treeListPlugin } from "payload-plugin-tree-list";


export default buildConfig({
  ...
  plugins: [
    nestedDocsPlugin({ collections: ["posts"] }),
    treeListPlugin({ collections: ["posts"] }),
  ],
  ...
});

Testing locally

This project use yarn workspaces. Install all dependencies from root and build the plugin

yarn i
yarn build

To start the postgres database and the development server, run the following commands:

cd dev
cp .env.example .env
sh start-database.sh
yarn generate:importmap
yarn dev

Access http://localhost:3000/admin

The plugin is configured for pages collection

Similar plugins