Skip to content

Celebrate tickets moving to Done on the board - #25

Merged
nerdburn merged 1 commit into
mainfrom
feat/done-celebration
Nov 24, 2026
Merged

nerdburn merged 1 commit into
mainfrom
feat/done-celebration

Conversation

@coryschadt

Copy link
Copy Markdown
Collaborator

What

A small celebration when a ticket is marked done: the card or row glows once in soft green and about a dozen confetti flecks drift up and fade within roughly a second.

It plays from every way a ticket reaches Done on the board:

  • dragging a card into the Done column
  • Mark as done from the card menu, on the board or in the list (when the list hides closed tickets, the burst plays where the row was)
  • setting Status → Done in the ticket drawer

Behaviour

  • Plays only after the server accepts the move, so there's no confetti for a move that gets rolled back.
  • Plays only for tickets that were open. Moving an archived or already-done ticket to Done stays quiet.
  • Off when the viewer prefers reduced motion.
  • Plain DOM and the Web Animations API (web/src/celebrate.ts), no new dependency. The overlay doesn't take pointer events and removes itself when the animation finishes.

Also fixes a toast I found nearby: Unarchive from the card menu said "Marked KEY as done". It now says "Restored KEY".

Testing

  • npm run --prefix web typecheck: passes
  • npm run typecheck: passes
  • npm test: 484 passed, 0 failed
  • vite build: passes
  • Checked by hand in the browser against a local lore www --board host with a demo board: drag to Done, card menu on board and list, and the drawer status select all celebrate. Overlay layers are cleaned up afterwards.

When a ticket is marked done, the card or row glows once and a small
burst of confetti drifts up from it, fading within about a second. It
plays for a drag into Done, "Mark as done" from the card menu (board or
list), and setting Status to Done in the drawer.

It plays only after the server accepts the move, only for tickets that
were open (not archived or already done), and not at all when the viewer
prefers reduced motion. Plain DOM and Web Animations, no new dependency.

Also fixes the card menu's Unarchive toast, which said "Marked as done".
@coryschadt
coryschadt requested a review from nerdburn November 24, 2026 22:22
@nerdburn
nerdburn merged commit e36da48 into main Nov 24, 2026
1 check passed
@nerdburn
nerdburn deleted the feat/done-celebration branch November 24, 2026 22:34
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