Skip to content

feat(landing): add a "Pile on" demo scene for reacting to typed karma - #52

Merged
jordan-simonovski merged 1 commit into
mainfrom
claude/sharp-darwin-ypxjdb
Nov 15, 2026
Merged

jordan-simonovski merged 1 commit into
mainfrom
claude/sharp-darwin-ypxjdb

Conversation

@jordan-simonovski

Copy link
Copy Markdown
Owner

What and why

Adds a "Pile on" tab to the hero demo. It shows that reacting to a typed karma message credits the person the message named, not the person who typed it:

  1. Mark types @plusplus @johnson +++++. plusplus replies "Alan Johnson gained 4 karma. Total: 53."
  2. Someone reacts 🔥 to Mark's message. plusplus replies in the same thread: "Alan Johnson gained 4 karma. Total: 57."

This matches reactionTargets in internal/slack/events_processor.go.

Other changes in landing/index.html:

  • Scene order: the new tab sits between Group and Capped, because Group leaves Alan Johnson at 49 and this scene picks up from there.
  • Thread layout: for a message that has both a typed reply and reactions, both replies go in the message's thread so they read in order. That is also the bot's default reply_mode. The reaction pill now sits above an existing thread instead of below it.
  • Leaderboard tab: Added license to repo #3 is now Alan Johnson on 57 instead of Dobby on 37. It was already inconsistent before this change, since Alan had 49 after the Group scene.

How it was tested

  • Served landing/ locally and screenshotted the new tab with Playwright at desktop width (mid-animation and at the end), at phone width, and with reduced motion (static render). The replies read in order and there were no console errors.
  • Re-checked the existing React tab: it renders the same as before.

Checklist

  • make check passes: not run, since no Go files changed. Only landing/index.html changed.
  • Changeset added, or not needed: not needed. This is a marketing site change, and nothing changes for bot users or self-hosters.
  • docs/self-hosting.md updated if self-hosters need to do anything: nothing to do.
  • /ce-code-review ran: skipped. This is a landing-page-only change, and the owner agreed to skip the review.

Generated by Claude Code

Mark types @plusplus @johnson +++++, then a 🔥 reaction on that message
credits Alan Johnson again, not Mark. Leaderboard scene updated so the
totals carry through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fk3EcQpDeaqhQCfnHds4rz
@jordan-simonovski
jordan-simonovski merged commit 9fff412 into main Nov 15, 2026
4 checks passed
@jordan-simonovski
jordan-simonovski deleted the claude/sharp-darwin-ypxjdb branch November 15, 2026 23:04
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.

2 participants