Repository navigation
Remove dead code, strip AI-slop styling, speed up rendering - #55
Merged
Merged
Conversation
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).
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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,SectionHeadercomponents anddata/modules.jsx; the press-light handler and its@propertykeyframes; unused tokens, Tailwind theme keys, props, refs, labels, the catalogreturnsfield (always"Any"), the@typespackages 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):
text-shadowon every glyph andbackdrop-filterover the WebGL canvas are gone.ResizeObserver.Checklist
npm run buildand verified output.