Skip to content

feat(chat): click Poyo to animate, slower tips, card save bars - #361

Merged
balebbae merged 3 commits into
mainfrom
feat/poyo-poke-and-save-bars
Nov 7, 2026
Merged

balebbae merged 3 commits into
mainfrom
feat/poyo-poke-and-save-bars

Conversation

@balebbae

@balebbae balebbae commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

Three small portal UI changes:

  1. Click Poyo to play a random animation.
    • usePoyoCycle now returns [state, poke]. poke plays a random idle variation right away (never the one already playing), and the normal cycle carries on from it.
    • It does nothing while Poyo is inactive or under reduced motion.
    • IdlePoyo wraps the figure in a clickable span. It's aria-hidden like the figure, so this is a pointer-only extra.
    • The pointer cursor shows only when he can move.
    • ChatWidget's launcher is updated for the new return shape.
  2. Poyo's tip bubble shows every 15 seconds instead of 10 (POYO_NUDGE_EVERY_MS).
  3. The sticky Save bar on the form editors uses bg-card instead of bg-background, so it matches the card it sits in. That's the application form, RSVP form, travel RSVP form and the shared FormSchemaTab.

Tests

  • New usePoyoCycle.test.ts: a poke plays a variation, two pokes never repeat one, and a poke does nothing while inactive.
  • Locally: npx vitest run passes (134 files, 1,300 tests), and tsc -b, ESLint and Prettier are clean on the changed files.
  • I didn't run the app or check it visually.

Release

Prod is in an event freeze, so this goes to staging only when merged. Hold the next release PR until after the event.

🤖 Generated with Claude Code

@balebbae
balebbae merged commit 3f7478e into main Nov 7, 2026
7 checks passed
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.

1 participant