UI engineering case study · everything below is live

TimeCraft: designing a board that moves.

A production Kanban SaaS I designed, built and deployed solo. This page shows the interaction engineering behind it: hand-rolled drag physics, an optimistic-UI simulation, and the system underneath.

BACKLOG
Rate-limit the sync endpoint
Dark mode for the board view
DOING
Presence cursors on card hover
DONE
Board keyboard shortcuts
Ship the drag physics for hero cardfeatureTC-142 · now

Drag the card to another lane, or focus it and press Enter. Pointer events and a spring, no drag library.

Explaining optimistic UI

The card moves first. The server catches up.

The card commits to its new column in 0 ms while a simulated server ack lands a beat later. State machine: idle, moved, syncing, synced, with the delay exposed as a design token you can tweak.

  1. t0Card waits in DOING
  2. 0 msCard lands in DONE: your board, everyone’s screen
  3. +120 msRequest in flight, UI already updated
  4. +640 msServer ack · synced
Design decisions

Restraint, so the work stands out.

01

One hero moment, not scattered fades

All motion budget goes to the draggable card, the product’s core verb. Scroll reveals appear only where they explain sequence, and reduced motion is respected end to end.

02

Hairlines, not decoration

Structure comes from 1px borders and spacing instead of gradients and glows, so the cards themselves stay the most colorful thing on screen.

03

Monochrome UI, one brand accent

Geist for interface text, Geist Mono for counts, IDs and timestamps. Black for primary actions; TimeCraft violet only for the brand, focus and AI.

Engineering under the hood

What makes the board feel instant.

Fractional indexing

A card move writes one row, not a renumbered column: each card keys into a fraction string between its neighbours. The same scheme orders columns and tasks.

Optimistic UI and rollback

Every mutation snapshots the store, applies instantly, and reverts if the API call fails. The snapshot-and-revert cycle is unit-tested.

Multi-tenant RBAC

Permissions are a typed union mapped to role sets, enforced at the API layer through a single authorize() gate, with no ad-hoc role checks in routes.

AI task breakdown

A goal streams back from the model over SSE, one subtask per line. Each line is validated with Zod before it ever reaches the board.

Owned deploy path

GitHub Actions builds a multi-stage Docker image and pushes it to GHCR; an EC2 box pulls it behind Caddy auto-HTTPS, tuned for a memory-constrained instance.

About this project

TimeCraft is a real product I built and operate end to end: concept, copy, visual system, every line of interaction code, and the production app behind it.

interaction designmotion engineeringdesign systems
Noravut ChanthalayFull-Stack Engineer · Next.js / React / TypeScript · Bangkok

2.5 years of production experience on an enterprise platform, end to end from PostgreSQL schema design to deployment. Strongest on permission models, data modelling and concurrent state.

Let’s talk.

Open to full-stack roles and interesting projects. The fastest way to reach me is email.

noravut.ch@gmail.com