mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-02 16:49:00 +01:00
The sidebar's Memories link was resolving to `/memories` instead of
`/:companyPrefix/memories` because `memories` was not in
`BOARD_ROUTE_ROOTS`. Without it, `applyCompanyPrefix` treated the path
as if `memories` were already a company prefix and skipped rewriting.
- Add `memories` to `BOARD_ROUTE_ROOTS` so `applyCompanyPrefix("/memories", "PAP")` returns `/PAP/memories`.
- Add a regression test covering `/memories` through `isBoardPathWithoutPrefix`, `extractCompanyPrefixFromPath`, and `applyCompanyPrefix`.
Co-Authored-By: Paperclip <noreply@paperclip.ing>
@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.