feat(admin): integrate paginated Hermes records and authoritative task details
This commit is contained in:
1 parent
3b05fe2e85
commit
5550c80a75
12 files changed
+182
-36
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Local verification
|
||||
Urgent commit 38efc97: six API tests RED (synthetic reads/create resolved and detail envelope wrong), then nine targeted tests GREEN; admin Vite build passed.
|
||||
Integrated RED: four failures (server meta discarded; page crashes on envelope; no source link); detail test RED confirmed no detail request. Implemented pageResult envelope validation, server category/page/limit and metadata navigation, all roadmap cycles displayed, HTTP(S) source links, authenticated existing Axios create and independent detail fetch, unavailable/empty/loading separation.
|
||||
Full admin suite before final extra edge-case tests: 56 files / 358 tests passed, typecheck passed, Vite build passed (2444 modules, 4.76s). Logs outside Git at /opt/data/cache/scratch/corporate-ui-admin-{tests,build}.log. Final full rerun: 57 files / 364 tests passed; typecheck and git diff --check passed. Final log /opt/data/cache/scratch/corporate-ui-admin-tests-final.log. Tests use mocked API contracts, not live backend or database; parent owns integrated Stage acceptance. No push/deployment/backend/runtime/cron changes. Shared dependency symlink is ignored. Graph cache query stamp is excluded from commits.
|
||||
Limitations: roadmap persisted type has no source URL; no synthetic provenance field introduced. Market source links only when existing source contains HTTP(S). No clinical content, budget, quota or worker behavior changed. Daily one-new-article goal is explicit and refresh work is separately needs-based. No approvals modules.
|
||||
@@ -1,5 +1,5 @@
|
||||
# Tasks
|
||||
1. [ ] Write and run RED regression tests for failed API reads/create and page unavailable states.
|
||||
2. [ ] Remove synthetic fallback/summaries, add explicit errors; run tests and build; urgent commit.
|
||||
3. [ ] Implement paginated market/roadmap with API meta and source links; detail API read.
|
||||
4. [ ] Run targeted/full admin tests and build; record exact results and local-only commits.
|
||||
1. [x] Write and run RED regression tests for failed API reads/create and page unavailable states.
|
||||
2. [x] Remove synthetic fallback/summaries, add explicit errors; run tests and build; urgent commit.
|
||||
3. [x] Implement paginated market/roadmap with API meta and source links; detail API read.
|
||||
4. [x] Run targeted/full admin tests and build; record exact results and local-only commits.
|
||||
Reference in new issue
Block a user