- improve workspace and review entry UX for uploaded contracts
- stabilize shared AI Docker/frontend delivery path
- adapt shared AI generation to structured JSON responses
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Left sidebar: tree menu showing all users grouped by role (admin/legal/business)
and status (active/disabled)
- Right panel: selected user's detail with role, status toggle, and account info
- Create/edit moved to Drawer
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Left sidebar: tree menu showing all files grouped by file type
(contract/document/image/other) and storage bucket
- Right panel: selected file's detail with download, delete, and
file info (size, hash, MIME type, object path)
- Upload area moved to sidebar bottom with type/bucket selectors
- Modern card-based styling consistent with other pages
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Left sidebar: tree menu showing all reviews grouped by contract type,
review status, and risk level (each review is a leaf node)
- Right panel: selected review's detail including status, risk level,
report download, and action suggestions
- "New Review" button links to /review page
- Modern card-based styling consistent with other pages
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Left sidebar: tree menu showing all contracts grouped by contract type
and lifecycle status (each contract is a leaf node)
- Right panel: selected contract's detail including auto-review result,
lifecycle status with transition buttons, generation quality
- "Generate New Contract" moved to Drawer with step-by-step wizard
- Modern card-based styling consistent with templates page
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Left sidebar: tree menu showing all templates grouped by contract type,
template category, and industry (each template is a leaf node)
- Right panel: selected template's full detail including content preview,
variable definitions, version history, and action buttons
- Edit/Create moved to Drawer
- Modern styling with card-based sections, monospace content display,
and visual version history timeline
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Rules page: tree menu by contract type + risk level → list layout
- Legal articles page: tree menu by source type + KPI cards → list layout
- Knowledge bases page: tree menu by status + retrieval mode → list layout
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace the old 3-column layout (form + table + filters) with:
- Left sidebar: tree menu grouped by contract type, template category,
and industry, with count badges and search
- Right panel: clean list view with inline actions (edit, publish,
delete, version history)
- Create/edit moved to Drawer
- Version history moved to separate Drawer
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Split landing page into public landing page and authenticated workspace
- Extract contract generation logic into use-contract-generation hook
- Extract contract generation service into sub-services
- Add AI quality scoring for contract generation
- Expand risk rules library with employment-specific rules
- Add custom exception classes (NotFoundError, ValidationError, etc.)
- Add prompt asset seeding script from LexForge documentation
- Add format utility library
- Fix SSR hydration mismatch on Ant Design inputs
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add suppressHydrationWarning to root <html> element in layout.tsx.
Resolves React hydration mismatch warnings on Ant Design Input
components (caretColor attribute mismatch between SSR and client).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>