feat(ui): antes fly from every player into the pot at the start of the hand
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start with src/hooks/animations/useTableAnimations.ts, the chip definitions in src/config/chipSets.ts, and sibling issue #846 for the shared motion and pot target. Trace how previousActions supplies ante actions and how the viewed table and animation settings are identified. Done when each applicable ante chip moves into the pot, totals update, and reduced-motion and background-table behavior meet the acceptance criteria.
Written by the indexing model from the issue text.
Description
Overview
When antes are taken at the start of a hand, show it: an ante chip goes out in front of every player who posted one, then "shoop" straight into the pot. Antes are dead money and never sit as a bet, so they shouldn't linger in front of the seat the way the blinds do.
Product decision (2026-10-30): every player pays their own ante by default, in cash games and tournaments (engine: block52/poker-vm#2755). The big-blind ante remains an option (block52/poker-vm#2754); in that style only the big blind's single ante animates.
What exists today
- No pot-sweep or ante animation exists.
useTableAnimations(src/hooks/animations/useTableAnimations.ts) only returns the table size, andanimateChipsToPotis mentioned only insrc/hooks/README.md. - The sibling ticket for bets is #846 (bet chips sweep into the pot at the end of each betting round). #845 is the bet-spot move. Share the same motion and pot target.
- Antes arrive as
anteactions inpreviousActions(roundante), one per player, recorded right after the big blind's own ante and blind.
Steps
- On a new hand, read the
anteactions for the hand and, for each poster, show a small ante chip (the current chip set,src/config/chipSets.ts) at that seat's bet spot. - After a short beat (~150 ms), slide all ante chips into the pot together (~300 ms, eased), the same motion #846 uses for the street sweep.
- The pot total updates when they land. The ante is never shown as part of the seat's bet (sumOfBets excludes it already).
- Big-blind ante style: only the big blind's ante animates (one chip).
- Honour
prefers-reduced-motion(no movement, pot just updates) and the existing animation/celebration settings. - Multi-tabling: only animate on the table being viewed; background tables just update.
Acceptance criteria
- AC-1 Each player who posted an ante shows an ante chip that moves into the pot at the start of the hand.
- AC-2 Ante chips never remain in front of a seat and are never counted in that seat's bet.
- AC-3 Big-blind ante style animates the single ante from the big blind.
- AC-4 Reduced motion: no animation, totals correct.
Related: #846 (sweep bets to pot), #845 (bet move), #891 (antes on the create form), block52/poker-vm#2736 / #2737 / #2754.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 5
- Avg merge
- 22h 35m
- Merged PRs (30d)
- 91
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from block52/ui
-
enhancement tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Hero hole cards render face down after ~1h on a table (auth signature never renewed)Possibly taken @bitcoinbrisbane claimed this today. Openbug UI Week 2
block52/ui#953 · 2 assignees ·
Maintainers usually reply within 1 day
-
Time bank clock is hidden under the NFT avatar: move it left of the seat numberPossibly taken @Dzeezbtc claimed this today. Opengame-flow UI ux Week 2
Maintainers usually reply within 1 day
-
feat(ui): player notes and tags — click a seat to note a player; tag icons (fish, shark, tight, loose…) show by their pillPossibly taken @Dzeezbtc claimed this 1 day ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
chore(ui): move existing inline null/empty and typeof checks to the guardsPossibly taken @bitcoinbrisbane claimed this 2 days ago. Openrefactor tech debt UI
Maintainers usually reply within 1 day
Similar issues
-
needs-area
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/typespec-azure#5936 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 72/100
vercel-labs/scriptc#2910 ·
Maintainers usually reply within 1 day
-
automation missing-model model-sync provider:fireworks-ai
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anomalyco/models.dev#12458 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day