Skip to content

Reorganize toolbars - #62

Merged
austin-smith merged 1 commit into
mainfrom
reorganize-toolbars
Jul 13, 2026
Merged

austin-smith merged 1 commit into
mainfrom
reorganize-toolbars

Conversation

@austin-smith

Copy link
Copy Markdown
Owner

What Changed

iOS bottom bar

  • The More menu (ellipsis) now holds everything non-gameplay, in sections: New Game/Redeal, Statistics/Rules & Scoring, Settings
  • Hint and Undo are top-level buttons at the trailing edge
  • Auto Finish is a contextual "Auto" pill (bolt + text) that exists only while isAutoFinishAvailable; Statistics and Settings no longer occupy top-level slots

macOS toolbar

  • Same contextual "Auto" button, appearing after the flexible spacer so no other item shifts
  • Undo and Hint grouped as the persistent game pod
  • New Game and Redeal collapse into a single + menu
  • Statistics and Settings pair at the trailing edge; the menu bar (Game ▸ Statistics, Game ▸ Auto Finish) remains the always-visible path

Haptics

  • New events: autoFinishStart (impact, fired on starting auto finish) and gameWon (success, fired on every live win — manual, auto finish, and Golf hole clears; suppressed during game hydration)

Why

The previous bars mixed three kinds of actions — in-game moves, game flow, and app chrome — in one flat row with no hierarchy, and buried time-sensitive actions (Hint, Auto Finish) behind a menu on iOS while rarely-used ones (Statistics, Settings) held top-level slots. Placement now follows frequency of use, and Auto Finish's presence itself signals the moment a win becomes mechanical instead of idling as a disabled button. Wins previously had no haptic feedback at all.

Validation

  • Full macOS test suite passes (xcodebuild ... -destination 'platform=macOS' test — all suites green)
  • Debug builds succeed for iOS Simulator and macOS
  • Exercised in the iOS simulator: menu sections, contextual Auto pill appearance, and final layout verified visually

UI Changes

  • iOS bottom bar: menu · (Auto when finishable) · Hint · Undo
  • macOS toolbar: (Auto when finishable) · Undo | Hint · + menu · Stats | Settings

ios: more menu absorbs game flow and app chrome in sections; hint and
undo stay top level; auto finish appears as a contextual pill only
while the game is finishable. macos: same contextual auto button,
undo/hint grouped, new game and redeal collapse into a menu, stats and
settings pair at the trailing edge. add haptics for starting auto
finish and for every live win.
@austin-smith austin-smith changed the title eorganize toolbars Reorganize toolbars Jul 13, 2026
@austin-smith
austin-smith merged commit 163768a into main Jul 13, 2026
2 checks passed
@austin-smith
austin-smith deleted the reorganize-toolbars branch July 13, 2026 22:41
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