aritrakrbasu

payload kanban board

by aritrakrbasu
Admin customization
v2
^2.0.0

Overview

Summary generated from the README

Adds a kanban board to the Payload admin for selected collections. It introduces a kanbanStatus field on each enabled collection and shows documents as cards in columns by status. Statuses, default status and a toggle for the no-status column are configured per collection in the plugin options. Version 1.0.3 supports Payload below 3.0, while newer releases require Payload 3.

Features

  • Per-collection kanban board with configurable status columns
  • Adds a kanbanStatus field that is separate from Payload's draft/publish system
  • Optional dropValidation callback to block moves into a column
  • Default status and option to hide the column for documents without a status
  • Cards display the document title and creation date
  • Field access and admin options for the status field in the older Payload 2 API

Use cases

  • Track editorial progress of posts from draft to published on a visual board
  • Manage tasks or requests stored in a collection by moving cards between status columns
  • Restrict which users can move documents into review or published columns

From the author

A kanban board plugin for Payload CMS

Installation

npm i payload-kanban-board

42

Stars

2

Forks

2

Open Issues

1 years ago

Last Updated

101

Weekly Downloads

v3.0.24

npm Version

147.1 KB

Unpacked Size

4

Dependencies

GitHub stars

420 since Sep 6

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

103−15 since Sep 6

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 5, 2026103
Dec 4, 202635
Dec 3, 202635
Dec 2, 202629
Dec 1, 202630
Nov 30, 202630
Nov 29, 202674
Nov 28, 202691
Nov 27, 2026112
Nov 26, 2026122
Nov 25, 2026117
Nov 24, 2026119
Nov 23, 2026117
Nov 22, 202675
Nov 21, 202660
Nov 20, 202643
Nov 19, 202643
Nov 18, 202684
Nov 17, 202685
Nov 16, 2026102
Nov 15, 2026107
Nov 14, 2026111
Nov 13, 2026115
Nov 12, 2026144
Nov 11, 2026125
Nov 10, 2026120
Nov 9, 2026102
Nov 8, 2026100
Nov 7, 2026107
Nov 6, 2026109
Nov 5, 202680
Nov 4, 202658
Nov 3, 202660
Nov 2, 202681
Nov 1, 2026218
Oct 31, 2026252
Oct 30, 2026252
Oct 29, 2026239
Oct 28, 2026236
Oct 27, 2026239
Oct 26, 2026226
Oct 25, 202696
Oct 24, 202657
Oct 23, 202642
Oct 22, 202651
Oct 21, 202698
Oct 20, 2026102
Oct 19, 2026103
Oct 18, 2026100
Oct 17, 2026108
Oct 16, 2026130
Oct 15, 2026133
Oct 14, 2026127
Oct 13, 2026124
Oct 12, 2026122
Oct 11, 2026114
Oct 10, 2026105
Oct 9, 202688
Oct 8, 202690
Oct 7, 202666
Oct 6, 202667
Oct 5, 202663
Oct 4, 202659
Oct 3, 202660
Oct 2, 202659
Oct 1, 202649
Sep 30, 202638
Sep 29, 202677
Sep 28, 202675
Sep 27, 202677
Sep 26, 202676
Sep 25, 202677
Sep 24, 202679
Sep 23, 202681
Sep 22, 202680
Sep 21, 202691
Sep 20, 2026108
Sep 19, 2026106
Sep 18, 2026113
Sep 17, 2026117
Sep 16, 2026125
Sep 15, 2026119
Sep 14, 2026141
Sep 13, 2026146
Sep 12, 2026149
Sep 11, 2026149
Sep 10, 2026150
Sep 9, 2026141
Sep 8, 2026146
Sep 7, 2026134
Sep 6, 2026118

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/793097783-root.svg)](https://payloaddirectory.dev/plugins/793097783-root)
HTML
<a href="https://payloaddirectory.dev/plugins/793097783-root"><img src="https://payloaddirectory.dev/badge/793097783-root.svg" alt="Payload Directory"></a>
Updated Mar 23, 2025Created Apr 28, 2024Published Mar 23, 2025

README

Payload kanban plugin

Note This plugin is currently under active development and still in an early stage. Check the roadmap below in this readme for more details / upcoming features.

Shows an image illustrating the payload-kanban-board plugin

Installation

The most recent version of payload-kanban-board currently only supports Payload 3.0 and up.

$ yarn add payload-kanban-board
$ npm i payload-kanban-board

To use it on payload version < 3.0

$ yarn add [email protected]
$ npm i [email protected]

Basic usage

import { payloadKanbanBoard } from 'payload-kanban-board';

const config = buildConfig({
  collections: [ ... ],
  plugins: [
    payloadKanbanBoard({
      collections: {
        posts: {
          enabled: true,
          config: {
            statuses: [
              {
                value: 'draft',
                label: 'Draft',
              },
              { value: 'in-progress', label: 'In Progress' },
              {
                value: 'ready-for-review',
                label: 'Ready for review',
                dropValidation: ({ user, data }) => {
                  return { dropAble: false }
                  //<dropValidation key is optional>
                },
              },
              { value: 'published', label: 'Published' },
            ],

            defaultStatus: 'todo',
            hideNoStatusColumn: true,
          },
        },
      },
    })
  ],
});

To use it on payload version < 3.0

import { payloadKanbanBoard } from 'payload-kanban-board';

const config = buildConfig({
  collections: [ ... ],
  plugins: [
    payloadKanbanBoard({
      'my-collection-slug': {
        statuses: [
          {value: 'draft', label: 'Draft', dropValidation:({user,data})=>return true}, //<dropValidation key is optional>
          {value: 'in-progress', label: 'In Progress'},
          {value: 'ready-for-review', label: 'Ready for review'},
          {value: 'published', label: 'Published'},
        ],
        defaultStatus: 'draft',
        hideNoStatusColumn: false,
        fieldAccess:{
          // <These fields are optional>
          update:() => true,
          create:() => false,
          read:() => false,
        },
        fieldAdmin: {
          // <These fields are optional>
          hidden:true
          // Any admin props for a normal field in payload cms
        },

      }
    })
  ],
});

Differences with the draft/publish system of Payload.

The kanban plugin introduces a new field called kanbanStatus. This field does not interact with the draft/publish system of Payload.

You can "integrate" the kanban status with the draft/publish system of Payload yourself by using Payloads hooks.

For example: Automatically publish the document when the kanbanStatus has been changed to published.

Roadmap

Upcoming Features / Ideas. Have a suggestion for the plugin? Feel free to open an issue or contribute!
  • Payload 2.0 support
  • Payload 3.0 support
  • Customize card properties (currently displays title and createdAt)
  • Edit relationships directly from the card (e.g., assigning users to a document)
  • Toggleable column for posts without a kanban status (Currently, documents lacking kanbanStatus aren't visible on the board)
  • Lazy loading of column contents when scrolling (Currently, board only shows defaultLimit amount of cards)
  • Validation for changing statuses
  • Allowed transitions between statuses
  • Integration with the draft/publish system of Payload (?)

Similar plugins