Three cleanups from the Task 6 code-quality review: 1. Delete dead instanceSettingsTarget state and supporting code. The useState, the readRememberedInstanceSettingsPath helper, the INSTANCE_SETTINGS_MEMORY_KEY constant, and the localStorage-writing effect were all residue from the old footer sidebar buttons that Task 6 deleted. Verified via grep that no other file in ui/src reads paperclip.lastInstanceSettingsPath. 2. Consolidate two near-identical mobile-nav-visibility effects into one. The standalone isMobile-reset effect was a strict subset of the scroll-listener effect's early-return branch. 3. Drop onToggleSidebar / onTogglePanel stub callbacks. useKeyboardShortcuts declares these as optional and uses optional chaining internally; the stubs were "type contract satisfaction" the contract did not actually require. No behavioral change. 38 frame tests still pass. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@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.