feat: run K&S inside Rose's app shell, drop the side panel

↗ view on GitHub · Peter Dombkins · 2026-08-01 · 619aa7d8

The side panel put Rose inside K&S, which meant 3 of Rose's 12 features in a
680px drawer. Deleted. The nesting is now the other way round.

/firm is a Route Handler serving the K&S SPA outside the (pages) layout, so
crossing into K&S left Rose's React tree and took AppSidebar with it. The new
page at (pages)/workspace/[[...slug]] frames /firm from inside that layout, so
Rose's full sidebar stays put while a lawyer works a matter and every feature
is one client-side push away.

A wrapper path rather than nesting /firm itself, because the K&S bundle is
built with basename=/firm and a page there would shadow the URL the frame
loads. RouteBridge posts the K&S route up so the host URL follows the frame
(refresh and deep links work), and redirects unframed /firm hits into the
shell. K&S's marketing header is suppressed when framed.
Repository pdombkins/rose_lawyer
Author Peter Dombkins <pdombkins@gmail.com>
Authored
Parents b7c3cc31
Stats 67 files changed , +412 , -413
Part of K&S matter-management integration: embed and sync

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-619aa7d8.md from inside the repo you want the change in.

⬇ Download capture-commit-619aa7d8.md