Skip to content

Claude/site review improvements bokaj - #2

Merged
pietrocious merged 3 commits into
mainfrom
claude/site-review-improvements-Bokaj
Jul 5, 2026
Merged

pietrocious merged 3 commits into
mainfrom
claude/site-review-improvements-Bokaj

Conversation

@pietrocious

Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits May 4, 2026 06:25
P0:
- Allow pinch-zoom (drop maximum-scale + user-scalable=no, WCAG 1.4.4)
- Sanitize marked output with DOMPurify
- Add rel=noopener noreferrer to all target=_blank and window.open calls
- Point og:image at existing favicon asset (was 404)
- Close two unbalanced <div>s in the dock block

P1:
- Remove dead tailwind.config.js (Tailwind v4 uses @theme in styles.css)
- Sync README font/credits with the actual stack
- Trim Google Fonts: drop Noto Sans (use DM Sans + system fallback),
  drop Outfit weights 400/600/800, drop Rajdhani 400/500
- Lazy-import all games and apps (each becomes its own Vite chunk)
- Extract spotlight search to src/spotlight.ts (~170 lines off main.ts)
- Augment Window type declarations and fix HTMLElement/HTMLCanvasElement casts
- Add tsc --noEmit step to CI; relax tsconfig strict (full strict pass
  is a separate effort) so existing code still compiles
- Deploy job now downloads the dist artifact from CI instead of rebuilding
Pull six self-contained concerns out of the 2.5k-line main.ts:

- src/sw-register.ts    PWA service-worker registration (~13 lines)
- src/clock.ts          menubar clock with flip-digit animation (~49 lines)
- src/launchpad.ts      full-screen app grid + filter (~48 lines)
- src/monitor.ts        canvas graph + KPI ticker + tab switcher (~119 lines)
- src/markdown-viewer.ts fetch+marked+DOMPurify viewer window (~118 lines)
- src/theme.ts          theme/wallpaper logic incl. setTheme/initTheme (~146 lines)

Also fixes the duplicate window.openMarkdownViewer override that was
silently shadowing the real fetch+render implementation with a stub.

main.ts: 2716 -> 2055 lines (~661 lines extracted across 6 modules).
Typecheck, vitest suite, and vite build all green.
@vercel

vercel Bot commented Jul 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pietrouni-com Ready Ready Preview, Comment Jul 5, 2026 12:47pm

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@pietrocious
pietrocious merged commit c944e5b into main Jul 5, 2026
2 of 3 checks passed
@pietrocious
pietrocious deleted the claude/site-review-improvements-Bokaj branch July 5, 2026 12:48

This branch was successfully deployed

1 active deployment
Preview — 9c80ec3c Deployed Jul 5, 2026 by vercel[bot]
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.

2 participants