Download

Each of Napdock’s buttons, switches, segmented controls, steppers, dropdowns, menu items and clickable rows used to wire up its own focus, keyboard and disabled handling, slightly differently. They are now all built on one set of unstyled gpui-kit primitives, while Napdock’s own theme still draws every pixel. The look is unchanged.

What changes is behavior at the edges:

  • Enter and Space activate on key-up everywhere, the platform convention.
  • Disabled controls take no click and leave the tab order, for assistive tech too.
  • Every pressable surface exposes a role and a label.

In the app

Before: sidebar rows, toggle and history buttons.
Before: sidebar rows, toggle and history buttons.
The same view after, pixel-identical.
The same view after, pixel-identical.
Before: checkpoint rows and changed files.
Before: checkpoint rows and changed files.
The same view after. Only a relative age label differs, because a day passed between captures.
The same view after. Only a relative age label differs, because a day passed between captures.
Before: draft buttons, chips and menu items.
Before: draft buttons, chips and menu items.
The same view after.
The same view after.