Web layer cleanup: remove Bootstrap, split JS, consolidate CSS, deduplicate legal pages #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Full front-end cleanup of the
web/wwwrootlayer — no functionality changes.Why
The web layer has accumulated technical debt: Bootstrap (271 KB) loaded for only 4 utility classes; inline styles block jQuery 4.0 CSS-based visibility; JS is a single 722-line file mixing i18n, CV logic, and shared utilities; legal pages duplicate topbar/footer across 6 files;
style.cssis dead (unreferenced);myai.csslacks structure comments.Scope
myai.cssstyle.css(784 lines)myai.css: section comments, merge duplicate @media blocks, remove dead.ai-mark, move inline hidden-state to CSSstyle="display:none;"attrs; remove orphanfooter-legalclass; update script tagsmain.jsintoi18n.js+cv-matcher.js+ slimmain.js(~350 lines)runWithCaptcha,setFormBusy,setFormIdlehelperslegal.js: inject topbar + language-aware footer; strip duplication from all 6 legal pagesSuccess criteria
dotnet build myAi.slnpassesmain.js≤ 350 lineslegal.jsTime tracking
Started: 2026-05-28 10:10