Skip to content

Remove dead code, strip AI-slop styling, speed up rendering - #55

Merged
CATPON-dev merged 1 commit into
mainfrom
cleanup/no-slop
Nov 13, 2026
Merged

CATPON-dev merged 1 commit into
mainfrom
cleanup/no-slop

Conversation

@CATPON-dev

Copy link
Copy Markdown
Collaborator

Summary

Same layout, buttons and copy; the black hole and the docs view are unchanged in structure.

Dead code. Removed the unused Documentation, Modules, Jail, Skill, CopyBlock, Reveal, RevealGroup, SectionHeader components and data/modules.jsx; the press-light handler and its @property keyframes; unused tokens, Tailwind theme keys, props, refs, labels, the catalog returns field (always "Any"), the @types packages and code comments.

Design. No glow halos on text and controls, no glass backdrop blur, no gradient text or wordmark sweep, no tracked-caps mono labels, no chapter eyebrow, no radial washes, no overshoot menu animation. Solid tinted surfaces, hairlines, one quiet hover per control.

Performance (software-GPU emulation, before → after):

before after
Hero on phone 13 fps 52 fps
Catalog scroll, desktop, long frames 143 0
Catalog scroll, phone, long frames 18 0
Main JS bundle 491 kB 259 kB
Doc images 1.44 MB PNG 137 kB WebP
  • Docs and the 292-method catalog are a lazy chunk, prefetched on idle.
  • text-shadow on every glyph and backdrop-filter over the WebGL canvas are gone.
  • The black hole starts lower on weak devices, gains a 0.2 quality step and a 30 fps fallback, caps scene and output pixels, and reads its size from a ResizeObserver.

Checklist

  • Tested locally with npm run build and verified output.
  • Responsive design verified on mobile (390px) and desktop (1440px).
  • Documentation and code style verified.
  • Accessibility and contrast verified (focus rings, reduced motion).

Dead code: unused Documentation, Modules, Jail, Skill, CopyBlock, Reveal,
RevealGroup, SectionHeader and data/modules.jsx; the press-light handler and
its @Property keyframes; unused tokens, Tailwind theme keys, props, refs,
labels, the catalog "returns" field, @types packages and comments.

Design, same layout and copy: no glow halos on text and controls, no glass
backdrop blur, no gradient text or wordmark sweep, no tracked-caps mono
labels, no chapter eyebrow, no radial washes, no overshoot menu animation.
Solid tinted surfaces, hairlines and one quiet hover per control.

Performance: docs and the 292-method catalog are a lazy chunk prefetched on
idle (main bundle 491 kB -> 259 kB); text-shadow on every glyph and
backdrop-filter over the WebGL canvas are gone; the black hole starts lower on
weak devices, has a 0.2 quality step and a 30 fps fallback, caps scene and
output pixels, and reads its size from a ResizeObserver; doc images are WebP
with intrinsic sizes (1.44 MB -> 137 kB).
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 72217a62-1b4e-4162-9c57-fc059724b68d
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@CATPON-dev
CATPON-dev merged commit c13cf00 into main Nov 13, 2026
4 checks passed
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