Sloth-ninja gives review templates their own workspace

The fork separates reusable review layouts from assistant workflows, making templates easier to find, share and apply without moving existing work.

workflowknowledge-management

Templates now have a dedicated home where teams can browse their own layouts, items shared with them, firm-wide options and built-in starting points. Existing templates carry over automatically.

  • Save a review's column layout as a reusable template, while leaving its cell contents behind.
  • Start a new review from a template or apply one to an existing review, with the existing warning that it replaces columns and clears cells.
  • Edit, rename, duplicate, hide or share templates according to ownership and firm permissions.
  • Give firm administrators a view of firm-shared templates and a way to return one to private use.

The fork also keeps the important guardrails visible: templates need at least one column, failures offer a retry, and hidden built-ins can be restored.

So what Legal-ops teams standardising repeatable reviews should care: this turns templates from a workflow side feature into a clearer shared operating asset.

View this fork on GitHub →

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

Commits in this thread

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

SHA Subject Author Date
d8d88f5a Review templates frontend: Templates surface, editor and pickers sloth-ninja 2026-08-05 ↗ GitHub
commit body
Frontend half of the Review templates train (plan Task 4), consuming the
/tabular-templates routes from #74. Builds all five spec surfaces:

- Templates page (/review-templates): My templates / Shared with me / Firm
  templates / Built-in, per-ownership row menus, Firm badge, error+retry gate
- Template editor (/review-templates/[id], plus a client-side draft at /new
  because the server requires at least one column), reusing AddColumnModal
  and columnFormat as the workflow editor does
- Save as template from a review grid's header menu, with a success notice
  linking to the Templates page
- Pickers relabelled "Start from a template" / "Apply template", now listing
  mine + shared + firm + built-in; Workflows page drops tabular rows and
  gains a pointer line
- Admin Firm-templates card with per-item revert (spec surface 5)

Gates: tsc clean; lint identical to the stashed baseline (112 problems, zero
new); next build succeeds with both new routes. No prettier --write.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
8f87aa94 Address review of #76: editor key, keyboard guard, column-save rollback sloth-ninja 2026-08-05 ↗ GitHub
commit body
Should-fixes:
- key={id} on TemplateEditor so state re-initialises per template segment
  (fixes built-in -> Duplicate -> Back stale content and the post-create
  read-only flash)
- stopPropagation on the row actions cell's onKeyDown, so Enter/Space on the
  menu trigger opens the menu instead of navigating the row
- column auto-save now snapshots the previous columns and rolls back on
  failure with an inline error, mirroring the admin card's pattern

Nits: TemplateRow/Section moved to module scope; Duplicate failures surface
the server detail at both sites; the four flagged error sites use the house
`err instanceof MikeApiError && err.message` pattern so network TypeErrors
never render as user copy; save-notice timer cleared on unmount and replaced
on re-save; "Search templates..." ellipsis.

MFA gating for template admin-revert is out of scope here (follow-up PR); the
admin card copy is unchanged.

Gates: tsc clean; lint 112 problems, identical to stashed baseline; build
clean with both new routes.

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-1046.md from inside the repo you want the changes in.

⬇ Download capture-thread-1046.md