Post-Refactoring tasks #26
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
rematch
game creation score selection
foul counting + turn
view (log down, active player)
"no score"
counting re-rack as potted
racking graphics feature
undefined in game list
...
Task: In the game creation flow, when the "race to" step is reached and the selected game is 14/1, update the default buttons to show values 60, 70, 80, 90, and 100. The default selected value should be 80.
Implementation complete: The Race To step in game creation now shows quick pick values 60, 70, 80, 90, 100 (default 80) when 14/1 is selected. For other game types, the previous quick picks remain. The default is set to 80 for 14/1. See commit for details.
Committed:
feat(new-game): dynamic race-to quick picks and defaults for 14/1
Refs #26
Commit:
0247c7dTask: On the game list screen, make the "Neues Spiel" (New Game) button more visually prominent and easier to spot at first glance. This may include changes to color, size, placement, or adding an icon.
Implementation complete: The "Neues Spiel" button on the game list is now much more visually prominent. It features a bold orange color, larger font, a plus icon, increased padding, rounded corners, and a drop shadow for modern emphasis. See commit for details.
Committed:
style(ui): make 'Neues Spiel' button visually prominent
Refs #26
Commit:
0b5fa3fTask: When entering the new game player select step (for each of the three players), the input field should NOT be auto-focused. This is to prevent the on-screen keyboard from popping up automatically on mobile devices.
Implementation complete: The input fields for all three player select steps in new game creation no longer use autoFocus. This prevents the on-screen keyboard from popping up automatically on mobile devices. See commit for details.
Committed:
fix(ui): prevent auto keyboard popup on player select
Refs #26
Commit:
592ba57Task: Make the player selection steps (1/2/3) in new game creation visually distinct. Use the same colors for each player as are later used for players in the game detail screen, so the association is clear from the start.
Implementation complete: The player selection steps in new game creation are now visually distinct. Each step uses the same color as the corresponding player in the game detail screen (green for player 1, blue for player 2, dark gray for player 3), making the association clear from the start. See commit for details.
Committed:
style(new-game): restrict player color backgrounds to player input steps
Refs #26
Commit:
7d4cc30Task: In 14/1, the re-rack action should not add to "balls on table". Instead, it should add the appropriate points directly to the current player's score and always show "15 balls on table" after a re-rack.
Implementation complete: The re-rack action in 14/1 now adds the points directly to the current player's score, sets balls on table to 15, and does not add to balls on table. The log reflects the new score and table state. See commit for details.
Committed:
fix(14-1): correct re-rack scoring and table reset
Refs #26
Commit:
f0a9172Task: In the 14/1 game view, make the active player much more visually prominent. This could include stronger color, background highlight, border, or icon to ensure the current player is unmistakably visible.
Implementation complete: The active player in the 14/1 game view is now much more visually prominent. The active player card features a thick, glowing orange border, a strong background highlight, a left accent bar, and a subtle animated pulse. Player name and score have increased contrast for unmistakable visibility. See commit for details.
Committed:
style(14-1): make active player highly visible in game view
Refs #26
Commit:
ed552b3Task: Remove the '0' ball button from the 'Bälle am Ende der Aufnahme' (balls at end of turn) grid in the 14/1 game view, as this case never occurs in practice.
Implementation complete: The '0' ball button has been removed from the 'Bälle am Ende der Aufnahme' grid in the 14/1 game view. Only buttons for 1–15 balls are now shown. See commit for details.
Committed:
fix(14-1): remove '0' ball button from end-of-turn grid
Refs #26
Commit:
b8bc3f8Task: Move the 14/1 move log below the game-detail-controls and display it as a table. Each turn should create a new row. The table should have main columns for each player, with sub-columns for turn number, balls potted, foul points, and score after turn.
Implementation complete: The move log in the 14/1 game view is now displayed as a table below the game-detail-controls. Each player has a main column with sub-columns for turn number, balls potted, foul points, and score after turn. Each row represents a turn. The table is styled for clarity and responsiveness. See commit for details.
Committed:
feat(14-1): show sum of foul points per player per round in log table
Refs #26
Commit:
c6557dcTask: Change 14/1 logic so that turns are never changed automatically. Add a new, big, prominent button for changing turns. Players can make multiple inputs (e.g., balls left, fouls) before changing turns. Players can also change turn without any other input (0 balls potted, no foul).
Implementation complete: 14/1 now uses a big, prominent button to change turns. All actions (balls left, fouls, re-rack) are accumulated in local state and only finalized when the user presses the turn change button. Players can change turn with no input (0 balls potted, 0 foul). No automatic turn changes remain. See commit for details.
Committed:
feat(14-1): manual turn change and input accumulation
Refs #26
Commit:
e6a5dceTask:
Implementation complete: Re-rack logic is fixed and accumulates correctly, the turn switch button now shows two opposing arrows (⇄), and the two foul buttons are replaced by a single 'Foul -1' button styled like the re-rack buttons. See commit for details.
Committed:
fix(14-1): re-rack logic, turn button label, and foul input
Refs #26
Commit:
bcf793bCommitted UI adjustment for inline delete icon in game list.
89300bc021src/components/GameList.module.css,src/components/GameList.tsxgame-itemgrid and two-column layout (1fr auto) to keep delete action fixed-width on the right. No behavioral changes.Refs #26
Committed autofocus for new game creation steps.
d016868ff2src/components/NewGame.tsxRefs #26
Fixed build warning from esbuild CSS minify.
31ed600c97src/styles/index.css.btn--secondary:hoverthat causedUnexpected "}"during CSS minification.Refs #26
Removed global focus styles from index.css per request.
4c8b0cfed7*:focusoutline block fromsrc/styles/index.cssto reduce visual distraction. Component-specific focus can be added where necessary.Refs #26
Implemented auto-advance in new game wizard.
301d5b131csrc/components/NewGame.tsx:Refs #26
Fixed clipping of icons in game completion modal.
634d012097src/components/GameCompletionModal.module.cssoverflow: visible, adjusted pseudo-element positions so emojis render fully within the rounded card.Refs #26
Removed toast functionality entirely.
147906af59src/components/Toast.tsx,src/components/Toast.module.csssrc/components/GameDetail.tsxto remove toast state, helpers, and JSXRefs #26