paperclip/ui
Aron Prins 82147887e1 feat(ui): redesign routine triggers tab with list-view cards and modal editor
Replace the always-visible "Add trigger" inline form + inline per-trigger
editor with a clearer pattern: a header + "Add trigger" button, a list of
compact TriggerListCard entries, and an add/edit dialog. Enable/disable
becomes a switch on each card (single-click toggle, no save step).

ScheduleEditor gains first-class support for the shapes users actually
want: every-N-minutes (with optional hour window and weekdays-only),
every-N-hours, hourly at a minute offset, daily with one or more times
per day, selected-days-of-week with one or more times, and monthly with
one or more dates. The legacy parseCronToPreset/describeSchedule exports
remain backwards-compatible; describeSchedule now unfolds multi-value
hour and day lists into readable sentences instead of returning the raw
cron. Falls back to the raw cron for named-token forms it can't describe.

The CRUD wiring reuses the existing create/update/delete/rotate-secret
mutations, query invalidations, and the secret-material banner. Delete
now goes through a ConfirmDialog instead of firing on trash click.

Files:
- ui/src/components/ScheduleEditor.tsx — richer internal preset model
- ui/src/components/ScheduleEditor.test.ts — cover the new describers
- ui/src/components/TriggerListCard.tsx — new card view per trigger
- ui/src/components/TriggerDialog.tsx — add/edit modal wrapping the editor
- ui/src/components/ConfirmDialog.tsx — small confirm-dialog primitive
- ui/src/pages/RoutineDetail.tsx — swap the triggers tab to the new flow
2026-04-13 11:17:44 +02:00
..
public Add worktree-specific favicon branding 2026-03-10 16:15:11 -05:00
src feat(ui): redesign routine triggers tab with list-view cards and modal editor 2026-04-13 11:17:44 +02:00
README.md Publish @paperclipai/ui from release automation 2026-03-26 11:13:11 -05:00
components.json
…
index.html Merge public-gh/master into fix/hmr-websocket-reverse-proxy 2026-03-30 07:17:23 -05:00
package.json Implement assistant-ui issue chat thread 2026-04-08 06:02:34 -05:00
tsconfig.json Fix atomic markdown mention deletion 2026-03-23 16:57:27 -05:00
vite.config.ts fix(adapters): stable sort order, npm/local icons, reinstall dialog, HMR polling on WSL 2026-04-03 21:11:24 +01:00
vitest.config.ts Fix atomic markdown mention deletion 2026-03-23 16:57:27 -05:00

README.md

@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.

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.