Sloth-ninja gives JessicaOSS a proper firm library

Shared matters and reviews can now be surfaced, controlled and found by the whole firm.

knowledge-managementworkflow

Sloth-ninja has put the working interface around firm-wide sharing, turning a behind-the-scenes permission into something lawyers can actually use. It remains invisible for self-hosted teams without an organisation.

  • Matter owners can share work with their firm, with a clear confirmation and visible status.
  • Firm members can browse shared matters and reviews in one library, then open them in the usual workflow.
  • Reviews tied to a matter follow that matter's sharing setting, avoiding conflicting permissions.
  • Administrators can return individual shared items to private, with confirmation and multi-factor protection.

The screens also show clear loading, error and empty states, and label shared items in existing lists without inventing unavailable details.

So what Firms that want reusable legal work without losing control over who can reverse sharing should take a closer look.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

1 commit from Sloth-ninja/JessicaOSS, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
913897ac WS9 PR 3: firm-visibility frontend (PeopleModal, Firm library, badges) sloth-ninja 2026-07-28 ↗ GitHub
commit body
Build the firm-library UI on top of WS9 PR 2's backend (#55). Frontend only;
no backend/migration/.env touched. Built to the approved mock-ups.

- mikeApi: getFirmMemberSuggestions, updateProjectVisibility,
  updateTabularReviewVisibility, getFirmLibrary, getAdminFirmLibrary,
  revertFirmLibraryItem; visibility field on the Project/TabularReview types.
- PeopleModal: firm-member suggestion pills (owner + firm only; external
  emails still free-typed) and a "Visible to everyone at <firm>" toggle
  (owner-only, optimistic + rollback, confirm-before-ON, audit info strip);
  project-scoped reviews show an inherited-visibility note instead of the
  toggle. AccountToggle gains an ariaLabel prop.
- Firm library page ((pages)/firm-library) + a firm-gated sidebar item.
- Admin Firm settings: a "Firm library" card with MFA-guarded per-item
  Revert to private (confirm + optimistic removal + rollback).
- FirmBadge (indigo pill) on firm-visible rows in the matters and
  tabular-reviews lists, via a new TablePrimaryCell adornment prop.

Deviations (honesty-driven, noted in BUILD_LOG): admin card shows "updated"
not "firm-visible since" (payload has only updatedAt); review rows show
document count without a column count (not in the firm-library payload).

Verification: frontend tsc clean; eslint introduces zero new problems (3
pre-existing set-state-in-effect errors on untouched lines). No prettier on
frontend files. Backend tsc + vitest re-run green (500/500) to prove it was
untouched. Screenshots pending (headless worktree; mock-ups are the reference).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-1131.md from inside the repo you want the changes in.

⬇ Download capture-thread-1131.md