[codex] Port demo contracts page into console#219
Conversation
Signed-off-by: limerc <limerc@proton.me>
6777970 to
5320ca7
Compare
Signed-off-by: limerc <limerc@proton.me>
|
Update: wired the imported Console Contracts page shell to the existing read-only backend endpoints.\n\nIncluded:\n- backend-backed list/detail/current-draft/repository-context data inside the demo-derived Contracts UI\n- state and repo-binding filters plus manual refresh through existing Console state\n- honest empty/error states instead of local demo Contract fixtures\n- mobile/narrow viewport path fixed so it no longer shows C-0147 demo records in live mode\n- docs/status/component updates\n\nVerification:\n- npm run console:typecheck\n- npm run console:test (132 tests)\n- npm run console:build\n- docs-check changed-files\n- git diff --check\n- in-app browser smoke at http://127.0.0.1:5173/console?lng=ru with demo@example.com / demo1234\n\nNo Contract workflow mutation controls were added; PR remains draft and unmerged. |
Summary
apps/web/demo-change-packet-ruintoapps/web/console.Type
Goal / intent
Integrate the existing demo Contracts page into the canonical console app so an authenticated reviewer can log in locally and see the same Contracts demo UI inside
apps/web/console.No-code alternative
No. The requested outcome is a runnable UI integration in the console app, not a docs-only or configuration change.
Why code is needed
The console route needs to render the imported demo page after authentication. This requires adding the copied demo source and wiring it into the existing console screen.
Scope
In:
apps/web/console.Out:
Linked issue
Closes #
ComponentImpact
Which documented components are affected?
docs/ops/COMPONENTS.yamlreviewedAffected components:
web_surfaceImplementation paths:
apps/web/console/src/App.tsxapps/web/console/src/App.cssapps/web/console/src/DemoContractsPage.tsxapps/web/console/src/DemoContractsPage.cssComponent status changes:
Public surfaces added or changed:
DocImpact
Docs updated:
apps/web/console/README.mddocs/ops/COMPONENTS.yamldocs/ops/NEXT.mddocs/ops/STATUS.mdno doc updates needed
product docs updated
ops docs updated
README / contributor docs updated
follow-up docs work is needed
Docs checked:
Docs not updated reason:
Rule Stack checklist
docs/INDEX.mddocs/product/GOALRAIL_RULE_STACK.mddocs/ops/COMPONENTS.yamlwhen applicabledocs/ops/GO_CODE_GUIDE.mdValidation / proof
Commands run / walkthrough:
npm run console:typechecknpm run console:testnpm run console:buildgit diff --checkpython3 tools/docs-check/docs_check.py --root . --mode changed-files --changed-files-file /tmp/goalrail-changed-doc-files.txt --report-json /tmp/goalrail-docs-changed-report.json --report-md /tmp/goalrail-docs-changed-report.mdEvidence / proof:
hard=0 warning=0 info=0 fixture_fail=0.DCO / authorship
git commit -s) and complies withDCO.mdReviewer notes