docs(E3): mark Monaco workers complete

This commit is contained in:
Saravana Achu Mac 2026-05-04 18:15:28 -07:00
parent e266a8ba85
commit eac07dc3d9
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ Status: ⬜ open · 🟦 in PR · ✅ fixed (commit hash on the right).
| --- | ---------------------------------------------------------------------------------------------------------------------------------- | :------: | :----: | ---------- |
| E1 | Bundle is 1.08 MB (309 kB gzipped) — Monaco is the bulk. Lazy-load Monaco via `React.lazy`. | 🟠 | ✅ | 8a8c313 |
| E2 | Root `pnpm-lock.yaml` doesn't contain `react-router-dom`, `@monaco-editor/react`, `@dnd-kit/*` (they were installed via `npm` in `web/` causing `web/package-lock.json` and `web/pnpm-lock.yaml` to appear). Workspace builds in CI will fail. **Partial fix**: stray subpackage lockfiles deleted + `.gitignore` updated to prevent recurrence. **Still TODO**: run `pnpm install -r --no-frozen-lockfile` from the repo root on a workstation that has `GITEA_NPM_TOKEN` exported (this session can't reach the private registry → mobile install fails). One-line follow-up commit. | 🔴 | ✅ | 3c9117f |
| E3 | Monaco's web workers (TS/JSON/CSS/HTML) are pulled at runtime from a CDN by default. Need explicit Vite config to bundle workers locally for offline / CSP-strict deployments. | 🟡 | ⬜ | |
| E3 | Monaco's web workers (TS/JSON/CSS/HTML) are pulled at runtime from a CDN by default. Need explicit Vite config to bundle workers locally for offline / CSP-strict deployments. | 🟡 | ✅ | e8b3c9c, e266a8b |
| E4 | No README / docs section describing the new layout, env vars (`FMP_API_KEY`), or routes. | 🟡 | ⬜ | |
## F. Test coverage

View File

@ -442,7 +442,7 @@ Expected platform result:
Acceptance: code editor chunk is loaded only when needed, bundle size drops
meaningfully, loading fallback is polished, and editor tests still pass.
- [ ] `E3` Bundle Monaco workers locally.
- [x] `E3` Bundle Monaco workers locally. Implementation: `e8b3c9c`, `e266a8b`.
Acceptance: Vite config serves TS/JSON/CSS/HTML workers locally, no runtime
CDN worker dependency remains, and CSP/offline deployment notes are updated.