A returning hard load of Mine restored its rows from the saved query cache but still waited for the first approvals, join-request and dismissal reads, because those items sort in among task rows by time. Those reads were not saved, so the cache gave no benefit on a hard load. Mine now saves the approvals, pending join requests and dismissals it showed as one record per user and company. On a returning visit with a restored Mine snapshot, that record stands in until the reads answer (and after a transient failure), so rows reveal at once and every read refreshes in the background. A record for another user or company, or one too large to save, is ignored, and the first-visit wait is unchanged. Selection now records its row key only when the selection moves. Recording on every list change stored the row now at the old index before the re-anchor ran, so a row inserted above the selection moved it. Co-Authored-By: Claude Opus 5.5 <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.
Editor dependency identity
Keep the root and workspace overrides for @codemirror/state,
@codemirror/view, and @lezer/common aligned. CodeMirror requires shared
extension identity, while Lezer parsers and syntax highlighters require shared
NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with
tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the
installed dependency graph and highlights sample code through the editor's real
language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.