Skip to content

fix(web): repair site typecheck, split English workbench bundle, and fix chat task keys - #20

Merged
LikC1606 merged 1 commit into
mainfrom
fix/frontend-issues-20261125
Nov 25, 2026
Merged

LikC1606 merged 1 commit into
mainfrom
fix/frontend-issues-20261125

Conversation

@LikC1606

Copy link
Copy Markdown
Collaborator

Summary

  • Site TypeScript & CI: Fix TS error in docs/web/landing.ts (typeof ResizeObserver === 'function') and docs/web/process.ts (unused imports, diagnostics guard inside checkFeedback, propagate proofSha256 on walkthrough step context); add bun run typecheck:site to .github/workflows/verify.yml.
  • Stale test assertion: Update queued-cancel assertion in scripts/test-web-ui.ts to match updated Chinese copy.
  • Lazy English dictionary bundle: Bundle the 8 online web entrypoints (app, login, share, guide, legal, formalize, research, practice) with splitting: true and ESM format in scripts/build-web.ts so the ~402 KB English dictionary chunk loads lazily on demand only when English locale is active; update the 13 online HTML entrypoints from defer to type="module", while keeping offline templates (theme, explain, math, formalization) as standalone IIFEs.
  • React/Preact key: Add key={task.id} in MessageTaskLinks (apps/web/client/ui/ChatWorkspace.tsx).

Verification

  • bun run typecheck, bun run typecheck:web, bun run typecheck:site
  • bun run build:web, bun run build:site
  • Vitest (10 files, 263 tests passed)
  • Playwright suites (test:web-ui, test:web-login, test:web-share, test:web-natural-first, test:web-theme, test:web-guide, test:web-formalize, test:web-explain, test:web-report, test:web-openai-problems, test:web-research-login-navigation, test:site, test:site-research-entry, test:proof-reading-navigation, scripts/test-web-practice.ts)

@LikC1606
LikC1606 merged commit 4c2b72c into main Nov 25, 2026
3 of 4 checks passed
@LikC1606
LikC1606 deleted the fix/frontend-issues-20261125 branch November 25, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant