Skip to content

fix: captcha loading placeholder, HuggingMath org links, and README polish - #16

Merged
LikC1606 merged 3 commits into
mainfrom
fix/login-captcha-placeholder-and-org-links
Nov 24, 2026
Merged

LikC1606 merged 3 commits into
mainfrom
fix/login-captcha-placeholder-and-org-links

Conversation

@LikC1606

Copy link
Copy Markdown
Collaborator

Summary

This PR covers three clean updates across the workbench UI, public-org repository links, and bilingual READMEs:

  1. Login captcha initial placeholder (apps/web/client/login.html):

    • <img id="captcha-image"> previously omitted src on initial load, causing Chromium to paint a broken-image icon and clipped alt="图形验证码,5 位数字" text while GET /api/session and POST /api/auth/captcha were still in flight.
    • Adds a neutral #f3f1ea 186×56 inline SVG data URI placeholder that respects CSP (img-src 'self' data:), inverts cleanly in dark mode, keeps #send-code disabled until loadCaptcha() delivers the SVG captcha, and avoids any visual broken-image flash.
  2. Public organization link migration (LikC1606 → HuggingMath):

    • Updates active site configuration (docs/web/site.ts), static HTML pages (docs/*.html, docs/en/*.html — including the template rendered into /classics/archive.html), docs (docs/usage.md, docs/website.md, docs/releases/v0.1.0.md, examples/imo2026/RESULTS.md, docs/site-repo/*), scripts (scripts/export-site-repo.ts, scripts/web-funnel.ts), and test expectations (tests/siteCatalog.test.ts, scripts/test-landing.mjs, scripts/test-feedback.mjs, scripts/test-i18n.mjs, scripts/test-frontend-audit-layout.ts) to point at HuggingMath/TheoremOS, huggingmath.github.io/TheoremOS, and HuggingMath/theorem-os.
    • Leaves historical immutable acceptance metadata and old CI/build logs intact.
  3. Bilingual README overhaul (README.md & README_EN.md) + brand assets:

    • Adds transparent Proof Diamond marks (docs/assets/readme-mark.svg, docs/assets/readme-mark-dark.svg) and the official WestlakeNLP lab emblem (docs/assets/westlakenlp-logo.png).
    • Redesigns README.md (中文主文档) and README_EN.md to match HuggingMath/TheoremOS: unified #292524 badge palette, ⭐ Star CTAs cross-linking theorem-os & TheoremOS, 3-column highlights grid, scannable CLI/Docker Quick Start & custom M1–M5 module walkthroughs, baseline-aligned UI/module screenshots, accurate IMO2026 & AGPL-3.0-only/NOTICE/BibTeX citations, and WestlakeNLP showcase card.

Checks

  • Automated link and balanced-HTML check across README.md and README_EN.md passed (0 broken local links, 0 legacy personal links).
  • Full TypeScript checks, unit tests, static site build, and Playwright suites run in GitHub Actions (verify.yml).

@LikC1606
LikC1606 merged commit 30b4190 into main Nov 24, 2026
4 checks passed
@LikC1606
LikC1606 deleted the fix/login-captcha-placeholder-and-org-links branch November 24, 2026 16:24
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