MCPcopy Index your code
hub / github.com/benjypng/logseq-kanban-plugin

github.com/benjypng/logseq-kanban-plugin @v3.8.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.8.1 ↗ · + Follow
40 symbols 102 edges 28 files 0 documented · 0% updated 22mo agov3.8.1 · 2024-07-21★ 1409 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

:gift_heart: Sponsor this project on Github or :coffee: Get me a coffee if you like this plugin!

New

Use /Kanban (DND) if you want to create a Kanban board with drag and drop functionality. When you drag and drop, the blocks are automatically updated. I am still considering merging the functions below but am concerned about breaking people's graphs.

Overview

Draw kanban board based on your blocks. Type /Kanban to start. Images, linkes, block references, etc. are supported. There are 3 ways to do so:

Normal

Use your parent blocks as headers. For example, the below blocks will give you 3 columns in your kanban respectively: Column 1, Column 2, Column 3

- {{renderer :kanban_651a3832-a06f-4dee-8c77-bc15908765e8}}
 - data
  - Column 1
   - The quick brown fox
  - Column 2
   - Jumped over
  - Column 3
   - The lazy dog

Normal with Queries

Use your parent blocks as headers, and use /query function as child blocks. Advanced queries may not work.

- {{renderer :kanban_651ae900-af3c-4bef-973a-77731a060b29}}
 - query
  - Column 1
   - {{query [[Cards for Column 1]]}}
  - Column 2
   - {{query [[Cards for Column 2]]}}

Tasks

Use tasks to populate the Kanban board.

- {{renderer :kanban_651a3832-a06f-4dee-8c77-bc15908765e8}}
 - tasks
  - TODO The quick brown fox
  - DOING Jumped over
  - DONE The lazy dog

Query Tasks

Use simple queries to populate the Kanban board. Use the /query function. Advanced queries may not work.

- {{renderer :kanban_651a3832-a06f-4dee-8c77-bc15908765e8}}
 - query-tasks
  - {{query (task DOING DONE TODO)}}

Adjust card or board width

You can adjust the widths of the board or cards using the parameters:

  • card-
  • board-
- {{renderer :kanban_651a3832-a06f-4dee-8c77-bc15908765e8}}
- data card-300 board-1000
- Column 1
- The quick brown fox
- Column 2
- Jumped over
- Column 3
- The lazy dog

Credits

react-kanban by asseinfo

Extension points exported contracts — how you extend this code

Card (Interface)
(no doc)
src/types.ts
SortableItemProps (Interface)
(no doc)
src/components/SortableItem.tsx
KanbanBoardProps (Interface)
(no doc)
src/features/drag-and-drop/index.tsx
Column (Interface)
(no doc)
src/types.ts
ColumnProps (Interface)
(no doc)
src/components/Column.tsx
KanbanDndProps (Interface)
(no doc)
src/features/drag-and-drop/index.tsx
ParamsProps (Interface)
(no doc)
src/types.ts
KanbanProps (Interface)
(no doc)
src/types.ts

Core symbols most depended-on inside this repo

processContent
called by 5
src/libs/process-content.tsx
createTaskBoard
called by 2
src/helpers/create-task-board.ts
findColumnAndIndex
called by 2
src/features/drag-and-drop/index.tsx
parseTasks
called by 1
src/components/Column.tsx
createNormalBoard
called by 1
src/helpers/create-normal-board.ts
createQueryBoard
called by 1
src/helpers/create-query-board.ts
createNormalBoardWithQuery
called by 1
src/helpers/create-normal-query-board.ts
getTaskContent
called by 1
src/features/drag-and-drop/index.tsx

Shape

Function 32
Interface 8

Languages

TypeScript100%

Modules by API surface

src/features/drag-and-drop/index.tsx8 symbols
src/types.ts4 symbols
src/components/SortableItem.tsx3 symbols
src/components/Column.tsx3 symbols
src/index.tsx2 symbols
src/libs/sort-query-markers.ts1 symbols
src/libs/process-content/remove-markers.ts1 symbols
src/libs/process-content/handle-tag.tsx1 symbols
src/libs/process-content/handle-page-reference.tsx1 symbols
src/libs/process-content/handle-markdown-link.tsx1 symbols
src/libs/process-content/handle-link.tsx1 symbols
src/libs/process-content/handle-italics.tsx1 symbols

For agents

$ claude mcp add logseq-kanban-plugin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page