mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-31 18:21:58 +08:00
* feat(web): complete static mock demo for GitHub Pages - register core/dashboard/dictionary handlers + seed data (driver/device/ profile/point, dictionaries, dashboard stats/topology/alerts) - fix router-guard timing: pre-seed auth at main.ts top level before router install, since the initial navigation runs as a microtask ahead of the async mock-chunk import - hide agentic assistant in mock mode (its chat streams over raw fetch and bypasses the axios adapter) - assetUrl helper for subpath-safe public assets - GitHub Pages deploy workflow + public/CNAME (demo.dc3.site) - unit tests covering the mock adapter Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(web): commit mock core handler skipped by core.* gitignore The repo-root `core.*` rule (meant for JVM crash dumps) silently skipped dc3-web/src/mock/handlers/core.ts during `git add`, so the PR build failed type-check with "Cannot find module './handlers/core'". Force-add the file and add a negation exception so it can't be dropped again. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * test(web): drop `as never` cast in mock-adapter test The AI guardrail forbids double-assertion / never-cast type laundering. Use the real AxiosRequestConfig type and a single boundary cast to R (the interceptor unwraps the envelope) instead of `request(config as never)`. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2 lines
14 B
Plaintext
2 lines
14 B
Plaintext
demo.dc3.site
|