Olddevs UI4.14.0

Task tracker

A sprint board with a ⌘K command palette, a keyboard shortcuts dialog and a task panel.

Open full screen

What it is built from

Try it

  • ⌘K (or Ctrl+K) opens the command palette: create a task, open any task by its title.
  • ? opens the keyboard shortcuts dialog; C creates a task, M shows only yours, / searches.
  • Drag a card by its handle up and down a column or into a neighboring one, an empty column included. By keyboard: the right arrow key on a card moves to its handle, Enter picks the card up, Tab goes to another column, the arrow keys choose the spot, Enter drops it. The fallback is the “⋯” menu → “Move to”.
  • Open a task and change its status, due date or labels — the board updates immediately.

How it is built

Keyboard shortcuts are the Gallery screen's job. The kit binds no global keyboard shortcuts: CommandPalette and ShortcutsHelp open through their open prop, and a keydown listener on the window is twenty lines in the Gallery screen itself. Single-key shortcuts are ignored while focus is in a field; otherwise a “c” typed into a title would create a new task.

The columns are one SortableList group. All three lists share a group and each has an id: the task's status. A move to another column arrives in onMove({ id, from, to, index }) of the receiving list, and the Gallery screen owns the contents of the columns: the task changes its status and lands at index among the new column's cards. The list stores no order — within a column onReorder returns it in full. Filters (search, “Only my tasks”) hide some cards, so index counts the visible ones and the Gallery screen leaves the hidden tasks alone. The “Move to” menu and the “Status” field of the panel remain as the fallback: they trigger the same move.

The task panel is a Drawer; edits apply at once. There is no “Save” button: every field writes to the task, and a move or a deletion can be undone from the toast, which carries an “Undo” action.

On a phone the shell rearranges itself. AppShell moves SideNav into a drawer (Drawer) and shows MobileTabBar; the board's columns scroll sideways one at a time.