shareable links, no release flags, and a shaded sphere - #32
Merged
Conversation
Removes the staged-launch machinery entirely — every tool is public now, so `VITE_RELEASED`, the unlock key and the whole `features/flags` module are gone along with the env files and workflow wiring that fed them. Makes tool links actually postable. Deep links used to be served by `404.html`: fine for a person, since the client router picks the URL up, but a crawler sees a 404 and renders no unfurl at all. Each route now prerenders to real HTML with its own title, description and OG tags, and there is a 1200x630 card behind `og:image` with `summary_large_image` so a link stops unfurling as bare text. Also: - dithering opens with an image instead of an empty canvas - anti-aliasing gets a shaded sphere scene, and opens on it. The silhouette is still pure coverage, so supersampling does the whole job on the edge; only the interior is shaded. `render` now returns coverage alongside the pixels because `findEdge` can no longer infer edges from colour — most of a shaded sphere is mid-grey while fully covered. - low-res video gets a proper transport bar overlaid on the screen, with a working volume control, fading in on hover and on focus - the screen's resize handle moves clear of that bar. Its hover state changes colour rather than size: it sat flush against a scrolling container's padding edge, so a scale was enough to summon scrollbars and shift the layout. - the drop zone stops silently rejecting valid files. It required a matching MIME type, but the OS often declines to identify one — `.mov` frequently arrives as `application/octet-stream` — so it now falls back to the extension.
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.
Release flags are gone
Every tool is public.
VITE_RELEASED, the unlock key, thefeatures/flagsmodule,.env.exampleand the workflow env block have all been removed — nothing needs setting on the host any more.Links are postable now
Deep links were served by
404.html. That works for a person (the client router picks the URL up) but a crawler sees a 404 and renders no unfurl at all, which made every tool link unusable in a post.<title>, description and OG tags — six posts unfurling with identical copy reads as spam by the thirdog:image, withtwitter:cardonsummary_large_imageinstead of the small square. Source SVG kept inscripts/og-card.svgAnti-aliasing: shaded sphere
New scene, and the new default. The silhouette is still pure coverage — supersampling does the whole job on the edge, Samples still behaves exactly as before — and only the interior is shaded from the reconstructed normal.
This forced a real change:
rendernow returns coverage alongside the pixels, becausefindEdgeused to infer edges from mid-grey pixels and most of a shaded sphere is mid-grey while fully covered. There's a test asserting that trap exists so it can't silently regress.Low-res video
scale-110pushed it one pixel over, which summoned both scrollbars and shifted the layoutA real bug
The drop zone required a matching MIME type and silently dropped everything else. The OS frequently declines to identify a file:
.movoften arrives asapplication/octet-stream, and files out of an archive arrive with no type at all. Both failed with nothing on screen to explain it. It now falls back to the extension when the browser hasn't actually identified the file.Also
AGENTS.mdregistration steps updated: the flag touchpoint is replaced by page meta +PRERENDERED_PATHSChecks
typecheck clean · lint 0 errors · prettier clean · 176 tests · build emits all 9 routes plus
404.html