yuqei
f8dd1e4524
fix: resolve TypeScript errors in redesigned pages
...
- knowledge-bases: add missing fields to KnowledgeBaseFormValues type
- knowledge-bases: fix null safety for tags array
- knowledge-bases/legal-articles: fix renderStatusTag param types
- legal-articles: add non-null assertion for source_id
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 18:24:48 +08:00
yuqei
fdbce39019
feat: redesign rules, legal-articles, knowledge-bases pages with tree sidebar
...
- 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 >
2026-06-01 17:23:25 +08:00
yuqei
7f1276b755
feat: redesign templates page with tree sidebar + list layout
...
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 >
2026-06-01 15:22:35 +08:00
yuqei
803dccfad8
fix: correct PostgreSQL password in docker-compose.server.yml
...
Database password was incorrect; the host PostgreSQL uses 'postgres'
as the password, not the previous value. This was causing the backend
container to fail on startup (connection to PostgreSQL failed).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 14:01:29 +08:00
yuqei
0ca699d901
feat: redesign documents/new page with tree sidebar + list layout
2026-06-01 12:21:16 +08:00
yuqei
f7c6d10928
fix: add missing get_review_report and get_review_result methods; redesign prompt-assets page UI
...
- Fix 500 error on /reviews/{id}/report endpoint caused by missing get_review_report
and get_review_result methods in ReviewService
- Fix indentation bug in build_report_pdf and _build_report_pdf_fallback methods
- Redesign prompt-assets page: replace 3-column layout with KPI cards + full-width
table + detail drawer + create/edit modal
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 02:22:45 +08:00
yuqei
8bb70c6faa
fix: add missing _to_list_item and _to_detail methods to ReviewService
2026-06-01 00:09:38 +08:00
yuqei
b229699c39
更新合同API、提示词资产服务及前端页面
2026-05-31 22:23:15 +08:00
yuqei
c5dcc7a1cf
fix: remove docker postgres service, use native postgresql on host
2026-05-31 19:02:59 +08:00
yuqei
8140efb72b
docs: add deployment troubleshooting guide with known issues
2026-05-31 16:19:11 +08:00
yuqei
3ff384cbeb
fix: add missing _context method to RemoteSharedAIPlatformClient
2026-05-31 15:48:24 +08:00
yuqei
323e7cf572
fix: handle missing template files gracefully at startup
2026-05-31 12:59:12 +08:00
yuqei
b76a2baad2
feat: comprehensive platform improvements (P0-P2 + landing split)
...
- 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 >
2026-05-30 17:39:27 +08:00
yuqei
49bdce0bad
fix(qa): ISSUE-001 — fix Ant Design hydration mismatch on form inputs
...
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 >
2026-05-30 07:28:28 +08:00
yuqei
ea722e58eb
Enhance contract generation governance
2026-05-28 11:01:57 +08:00
yuqei
2c9038b4b8
Archive root QA artifacts
2026-05-27 17:57:50 +08:00
yuqei
4585d117fb
Add web QA evidence and profile form hints
2026-05-27 17:37:47 +08:00
yuqei
018106e20e
Stabilize frontend contract workflows
2026-05-27 17:28:33 +08:00
yuqei
8fa329d1ac
Close Android product polish backlog
2026-05-27 16:14:03 +08:00
yuqei
b5f4034328
Refine web governance and chat surfaces
2026-05-27 11:24:20 +08:00
yuqei
029fbfb5f6
Add UTF-8 safe Chinese template validation
2026-05-27 10:44:17 +08:00
yuqei
8d1615e1ed
Harden mobile smoke and contract ownership rules
2026-05-27 09:48:35 +08:00
yuqei
fcd9e9dbc2
Add contract version chain mobile workflow
2026-05-26 16:41:31 +08:00
yuqei
d0ceccf10d
feat: close pc and android product smoke flows
2026-05-26 08:37:28 +08:00
yuqei
bafd837020
mobile: promote business auxiliary tools entry
2026-05-26 00:55:17 +08:00
yuqei
f39e345e91
mobile: add business auxiliary chat entry
2026-05-26 00:30:29 +08:00
yuqei
bf6f41adc9
mobile: normalize login account input
2026-05-25 23:46:45 +08:00
yuqei
8c6b09d0d6
mobile: cover legal document semantics
2026-05-25 23:33:18 +08:00
yuqei
51d760d6d8
mobile: harden wireless adb smoke
2026-05-25 23:18:28 +08:00
yuqei
6ed1e7ea58
mobile: harden real-device smoke
2026-05-25 22:22:26 +08:00
yuqei
d0b44615ea
docs: record admin credential handling
2026-05-25 19:37:59 +08:00
yuqei
ca4b2f6f3f
mobile: add contract workbench and legal document flows
2026-05-25 19:26:57 +08:00
yuqei
8a126a3808
backend: harden legal article references
2026-05-25 18:25:12 +08:00
yuqei
b8432dce30
phase15: assign real final approver
2026-05-25 18:04:44 +08:00
yuqei
7da5a1692f
phase15: close release gate and signoff evidence
2026-05-25 16:03:35 +08:00
yuqei
4834061081
Add phase15 product e2e acceptance
2026-05-25 09:53:04 +08:00
yuqei
e423063940
Fix chat stream product e2e blockers
2026-05-24 23:14:23 +08:00
yuqei
35a76d6dbd
Add phase15 product smoke validation
2026-05-24 18:28:13 +08:00
yuqei
53e5eb3bba
feat: add business auxiliary prompts
2026-05-24 16:13:38 +08:00
yuqei
8c21e3aaa4
feat: add specialized generation prompts
2026-05-24 15:57:28 +08:00
yuqei
ca60ddf620
feat: add specialized review prompts
2026-05-24 15:31:19 +08:00
yuqei
dfcc9ac28d
feat: align remaining template defaults
2026-05-24 14:43:20 +08:00
yuqei
8b81011eb6
feat: seed remaining contract templates
2026-05-24 12:58:13 +08:00
yuqei
ee9ba1d1c6
feat: add investment agreement defaults
2026-05-24 12:15:13 +08:00
yuqei
2276a7388b
feat: add shareholder resolution document defaults
2026-05-24 10:45:16 +08:00
yuqei
a530d55fa9
feat: add valuation adjustment document defaults
2026-05-24 10:25:22 +08:00
yuqei
1bc416da9d
feat: add intercompany loan document type
2026-05-24 09:02:15 +08:00
yuqei
0d46a53e86
feat: support filtered legal article vectorization
2026-05-24 08:04:54 +08:00
yuqei
8a8be8d15d
feat: expose legal article vectorization in kpis
2026-05-24 07:45:00 +08:00
yuqei
26fdac2c4d
feat: add legal article semantic search
2026-05-24 01:39:49 +08:00