69 lines
3.8 KiB
Plaintext
69 lines
3.8 KiB
Plaintext
Configurable doctor web consultation schedule - frontend verification
|
|
Verified on 2026-10-22 (Asia/Shanghai) in D:\web\zyt.
|
|
|
|
Scope
|
|
- Read the policy helper, shared useDoctorWebConsultation hook, runtime API,
|
|
shared notice, user clock integration, call guards, and targeted test coverage.
|
|
- No authored frontend source changes were made by this verifier.
|
|
|
|
Targeted regression tests: PASS
|
|
Working directory: D:\web\zyt\admin
|
|
Command: node --test tests/doctor-web-consultation.test.cjs tests/appointment-call-mode.test.cjs tests/consultation-transcripts.test.cjs
|
|
Actual process exit code: 0
|
|
Result: 27 tests, 27 passed, 0 failed, 0 cancelled, 0 skipped, 0 todo.
|
|
Log: D:\web\zyt\.codex-tasks\doctor-web-config-tests.log
|
|
|
|
Coverage observed includes configurable arbitrary cutoff dates and seconds,
|
|
Beijing timezone display, exact reminder/enforcement boundaries, server clock
|
|
offset, same-page clock transitions, click-time recheck, shared request
|
|
deduplication, minute polling, focus/visibility refresh, failed/invalid response
|
|
recovery retaining the last valid policy, public fresh policy requests, installer
|
|
availability throughout reminder phases, and notice compilation on reception,
|
|
diagnosis, and both appointment list entries. Related call-mode and transcript
|
|
regressions also passed.
|
|
|
|
Full Vue typecheck: EXISTING FAILURES ONLY; NO NEW DIAGNOSTICS
|
|
Command: node node_modules/vue-tsc/bin/vue-tsc.js --noEmit --composite false --incremental false --pretty false
|
|
Actual process exit code: 2
|
|
Baseline: D:\web\zyt\.codex-tasks\consultation-transcripts-typecheck.log
|
|
Stable result log: D:\web\zyt\.codex-tasks\doctor-web-config-typecheck.log
|
|
Baseline diagnostics: 61
|
|
Stable current diagnostics: 61
|
|
New normalized diagnostic signatures: 0
|
|
Removed normalized diagnostic signatures: 0
|
|
Full-log normalized line differences: 0
|
|
Comparison removed (line,column) locations before comparing primary error
|
|
signatures and all log lines. The full project is not typecheck-clean; its
|
|
reported diagnostics match the supplied baseline.
|
|
|
|
The first typecheck ran concurrently with Vite's generation of ignored
|
|
admin/components.d.ts and temporarily reported 57 diagnostics with a changed
|
|
Element Plus template diagnostic set. It was not used for the final comparison.
|
|
After the build exited, typecheck was rerun to actual completion against stable
|
|
generated declarations; it produced the baseline-matching 61 diagnostics above.
|
|
Preserved concurrent-run log:
|
|
D:\web\zyt\.codex-tasks\doctor-web-config-typecheck-concurrent.log
|
|
|
|
Vite production build: PASS
|
|
Working directory: D:\web\zyt\admin
|
|
Command: node node_modules/vite/bin/vite.js build --outDir D:\web\zyt\.codex-tasks\doctor-web-config-build --emptyOutDir --logLevel error
|
|
Actual process exit code: 0
|
|
Log: D:\web\zyt\.codex-tasks\doctor-web-config-build.log
|
|
Output: D:\web\zyt\.codex-tasks\doctor-web-config-build
|
|
Before --emptyOutDir, the absolute normalized output path was verified to be
|
|
inside D:\web\zyt and to equal the exact requested output directory.
|
|
Produced 501 files totaling 41,475,816 bytes; index.html exists (31,872 bytes).
|
|
Built JavaScript includes the runtime consultation policy endpoint/helper.
|
|
Build log contains only a warning that caniuse-lite browser data is six months
|
|
old; no build error was reported.
|
|
|
|
Relevant implementation observations
|
|
- Schedule dates originate in the server response; the browser helper has no
|
|
independent cutoff constant.
|
|
- All reminder phases and call blocking consume the same normalized policy.
|
|
- The hook shares in-flight policy requests, refreshes every minute and on
|
|
focus/visibility, and retains the last valid policy when refresh fails.
|
|
- Expired blocking applies to doctor role 1 while excluding root accounts;
|
|
notices keep desktop installer links and refresh actions available.
|
|
- Verification did not exercise a live browser/backend or perform deployment.
|