mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 02:00:52 +01:00
QA Phase D (PAP-12426) validated the Work Timeline against live PAP data and
found two deviations from the approved plan (PAP-12405). Both fixed here.
Finding 1 — routine-fired runs now carry a distinct hexagon "Routine" badge on
the bar's leading edge (with a circular-arrow glyph) instead of a normal kickoff
avatar, plus a matching tooltip line. `isRoutineRun()` (layout.ts) treats
invocationSource ∈ {automation, timer} as routine/automation-fired.
Finding 2 — the lens now defaults to the viewer's own kicked-off work (resolved
from the auth session) instead of whole-company. The company fetch is gated
until the lens resolves; the dropdown is seeded with the viewer ("(you)") so
their option is present before they appear as an actor, and "Everyone (company)"
remains one click away.
Tests: isRoutineRun unit coverage (automation/timer true; assignment/on_demand/
null false) and a chart render test asserting exactly one badge for the
automation run. 17/17 timeline tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Storybook
Storybook config, stories, and fixtures live under ui/storybook/.
pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.