Repository navigation
Clean-room rewrite of the six ex-React Bits components, IDFPR credit, own favicon, no Cal.com screenshots - #157
Merged
Conversation
… own favicon, drop Cal.com screenshots React Bits is MIT + Commons Clause, which conflicts with the AGPL. Rewrote blob-canvas, prompt-bar, spring-check, status-mark, thought-line and voice-pill from scratch (same exports and props, no call-site changes), without opening the old bodies or the React Bits source. - Sources line credits "Illinois Department of Financial and Professional Regulation (IDFPR), via data.illinois.gov, ODbL 1.0" - favicon.ico and new icon.png are Aeon's orb drawn by scripts/make-icon.ts - Removed docs/research/calcom-ui-study/ images; notes kept - THIRD_PARTY_NOTICES, ui-elements, BUILD_LOG updated; e2e baselines refreshed Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Stacked on #156 (AGPL license). Do not merge before it.
What and why
Six components had been adapted from React Bits, whose license is MIT plus the Commons Clause ("no redistribution ... as a ported version"). That clause conflicts with the AGPL and with a public repo. This PR rewrites all six from scratch as original Practice-OS code, clean room: the old file bodies and the React Bits source were not opened. The rewrite used only each file's exported names and props, the call sites, the unit tests and e2e specs, AGENTS.md and docs/ui-elements.md. Same exported names and props, so no call site changed.
components/agent-blob/blob-canvas.tsxcomponents/shared/prompt-bar.tsxonSendrejects, dictation through the Voice Pill into the box (never sent),controlsslot, box and pill shapes.components/shared/voice-pill.tsxMAX_DICTATION_MS(3 min), releases the mic and hands nothing over if unmounted mid-recording (including while the browser is still asking). Still trace under reduced motion.components/shared/spring-check.tsxrole="checkbox"button, motion spring driven through the existingspringReadings()(fill, swell, tick, cross-out). Jumps under reduced motion.components/shared/status-mark.tsxStatusPillon the status tokens.components/shared/thought-line.tsxthought-line-stepsandthought-line-timehelpers.Every "React Bits" / "(MIT)" attribution comment in those files is gone. Old React Bits-era CSS (
pill-open,thought-shimmer) replaced with own utilities.Also
app/favicon.ico(Next.js "N") replaced with Aeon's orb drawn in code (scripts/make-icon.ts, sharp); newapp/icon.png(512px), excluded from the demo-password proxy like the favicon.docs/research/calcom-ui-study/; the written notes stay, with the image note updated.liquid-ether.tsxstays [UNCONFIRMED].Checks
npm teston the built-in DB (DATABASE_URL unset, SUPABASE_PROJECT_REF=local): 4540 passed, 1 failed (tests/referrals-debrief.test.ts "drops" case under full-suite load; the file passes 18/18 alone; lib only, not touched here).eslintclean,tsc --noEmitclean (afternext typegen),next buildOK.Not changed (flag for Isaiah): AGENTS.md still says "React Bits only for the pieces listed there";
components/shared/liquid-ether.tsxstill credits the React Bits idea and has not been compared.🤖 Generated with Claude Code