Skip to the page

Collaboration and heavy clients · senior

Case study: Kanban / Jira board

A strong Jira-board design normalises issues by id with ordered id lists per column, orders cards with fractional ranks so a move updates one record, moves cards optimistically with rollback when workflow rules or conflicts reject them, supports keyboard drag and drop, and virtualises big columns.

The notes

What you must know

  • Components: Board → (Swimlane) → Column → Card, a filter bar with quick filters, and a card detail panel opened by URL (shareable).
  • Store: issues by id; columns with ordered issue ids; derived counts and WIP limits.
  • Ordering: a fractional rank between neighbours (Figma uses fractional positions for children too; Jira uses LexoRank strings) so a move updates only the moved card; rebalance when ranks get too long.
  • Move flow: optimistic move → PATCH /issues/:id { status, rank, version } → on rejection (workflow rule, permission) roll back with a toast that says why → on version conflict, refetch and show the latest.
  • Drag and drop: a pointer-events library (dnd-kit, Atlassian's Pragmatic drag and drop) or HTML5 DnD; HTML5 DnD needs preventDefault on dragover to allow a drop and is weak on touch; always add a keyboard path (pick up with Space, move with arrows, drop with Space) and announce moves in a live region.
  • Scale: thousands of cards → load the visible sprint first, lazy-load card details, virtualise each column.
  • Real-time: WebSocket events for issue changes merged by version.
  • Measure: time until the board is usable (a custom performance mark), INP during drag, long animation frames. Lighthouse 10 removed TTI from its score, so don't lead with TTI.

The red pen

Common traps: mistake → fix

  • Mistake: Re-number every card in a column on each move

    Fix: many writes and conflicts.

  • Mistake: Mouse-only drag and drop

    Fix: keyboard and screen-reader users are blocked.

  • Mistake: Re-render the whole board on every pointer move

    Fix: jank.

  • Mistake: Ignore server workflow rules

    Fix: the card snaps back with no explanation.

Easy to hard

Questions interviewers ask, easy to hard

  1. Design the Jira active sprint board.
  2. Drag a ticket to another column and the server rejects it. What happens?
  3. Another user moves the same ticket at the same time.
  4. A column has 5,000 tickets. How do you keep it fast?
  5. How do you measure the board's performance?

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview