Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Proposal] Per-project Kanban board #853

ClosedEduardoFazolo(GitHub profile, opens in a new tab) opened this issue 1 comment

I know this feature is already something probably being talked about, but I feel like I have a pretty good UX proposal for this one, so here it goes:

Proposal: Project Kanban Board

What it does

Adds a Board tab alongside the existing Chat tab, giving each project a shared Kanban board for tracking tasks across all its threads.

  • Columns: To-do, In Progress, Review, Done (customizable — add, rename, reorder, color)
  • Cards: title + optional description, drag to reorder within and across columns
  • Board is per-project, shared across all threads in that project

Drag-to-thread / drag-to-project

The most interesting interaction: drag any card from the board onto a thread or project in the sidebar.

  • Drop on a thread → immediately sends the card title (+ description) as a user message to that thread and navigates to it
  • Drop on a project → creates a new thread titled after the card, sends the message, navigates to it
  • After either drop, the card is automatically moved to the In Progress column

UI details

  • Sidebar dims all non-hovered items during drag; the hovered target scales up and shows a contextual badge ("Send →" on threads, "+ New thread" on projects)
  • Clicking a card opens an inline edit dialog; the board tab resets to chat when switching threads

Demo of how it works:

https://github.com/user-attachments/assets/23cbdb10-499b-437c-b3a9-ca874f9fbd5a

Implementation

  • kanbanStore.ts — Zustand + localStorage persistence, keyed by projectId
  • kanbanDragStore.ts — ephemeral drag state shared between the board and sidebar
  • workspaceTabStore.ts — global tab state so the sidebar can switch the view directly
  • KanbanBoard.tsx — @dnd-kit for within-board DnD, pointer tracking for cross-component drops
  • Sidebar — data attributes + reactive styling, no event handler wiring needed

Server persistence

Currently the board state is stored in localStorage only. To persist it server-side, the natural fit is to extend the existing orchestration command/event pattern:

New commands (client → server):

  • board.column.add, board.column.update, board.column.delete
  • board.card.add, board.card.update, board.card.delete, board.card.move

New domain events (server → client, pushed via orchestration.domainEvent):

  • board.updated carrying the full board diff, broadcast to all connected clients

Storage: board state keyed by projectId alongside the existing project/thread records, likely in the same SQLite/JSON store the server already uses for orchestration read models.

Read: included in orchestration.getSnapshot() so the board hydrates on connect, same as threads do today.

This would give real-time sync across tabs/devices for free, since the WebSocket push infrastructure already exists.

  1. maria-rcks added labelsenhancement

  2. maria-rcks added labelsneeds-julius

  3. I dont think theres much interest for this, sorry

  4. maria-rcks closed this

Sign in to join this conversation.