fix: type errors, JSX truncation, BYOK infrastructure, UserProfileContext migration

↗ view on GitHub · Mihail Nica · 2026-06-10 · 355332c4

- MikeDocumentVersion: added filename, file_type, size_bytes, page_count
- DocumentSidePanel: closed unclosed JSX tags, added DataRow component
- CaseLawPanel: added CaseCitationQuote type, orderOpinions, opinionTitle
- UserProfileContext: fully migrated from Supabase to Worker API (JWT)
- mikeApi.ts: added Document alias, CaseLawOpinion type, getCourtlistenerOpinions
- misuApi.ts: created as re-export layer + helpers (fileTypeForVersion, etc.)
- ProjectPage: added initialTab prop support
- ProjectAssistantTab/ReviewsTab/PageParts: fixed type imports (MikeChat, MikeProject)
- RowActions: added renameLabel prop
- shared/types: added active_version_number to MikeDocument
Repository mihailnica10/misu-legal
Author Mihail Nica <mihailnica10@gmail.com>
Authored
Parents 2a5d2c13
Stats 12 files changed , +669 , -708
Part of Cloudflare replatforming: Supabase/Express → D1 + Drizzle + Hono Worker

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-355332c4.md from inside the repo you want the change in.

⬇ Download capture-commit-355332c4.md