Repository navigation
feat: spike live cards, forge adapters and UI playground - #1
Merged
Merged
Conversation
Board and Repo Durable Objects, signed webhook ingest with dedupe and out-of-order protection, live card relay via y-partyserver custom messages, React Flow canvas with cards and stickies, drag-end commits with in-progress drags over awareness, and a stress mode.
Item keys are now {host}/{repo}{#|!}{n}, Repo objects are keyed by host
and repo and only see normalised cards, webhooks route via
/webhooks/:forge, and a synthetic fake.tack forge powers tests and the
stress board. Adds the delight design principle to AGENTS.md.
/play runs a board in the browser with simulated people and forge events, plus slow-motion and reduced-motion toggles. /play/cards shows every card state. Both are dev-only. Polish: bundled Geist and Bricolage Grotesque, motion tokens with CSS spring easings, card pickup and settle, live-update animations (ripple, highlighter sweep, state pop, label and count ticks), presence cursors and avatars, compact cards at low zoom, skeleton loading, tilted stickies, and dropped shapes coming to the front.
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.
Spike for Tack, a GitHub-native whiteboard. It proves the architecture before M1, adds a UI playground, and checks in the plan. See
docs/spike.mdfor findings anddocs/plan.mdfor the roadmap.What's in it
BoardDurable Object (one per board): Yjs via y-partyserver, snapshots chunked into 512 KB SQLite rows, live card data sent to clients as custom messages outside the document.RepoDurable Object (one per repository): card cache, board subscriptions, webhook log with dedupe and out-of-order protection, fan-out to boards.src/server/forges/): item keys are{host}/{repo}{#|!}{n}, webhooks route via/webhooks/:forge, with GitHub plus a syntheticfake.tackforge for tests and stress boards./playand/play/cards(dev only): a board running entirely in the browser with simulated people and forge events, slow-motion and reduced-motion toggles, and a gallery of every card state.docs/plan.md, MITLICENSE,scripts/send-webhook.ts.Findings
Testing
pnpm test: 17 tests in workerd (webhook signatures, ingest, dedupe, ordering, fan-out, refs and keys).pnpm checkandpnpm buildpass; the production build excludes the playground.