Skip to content

Polish motion, fix the stop countdown, and translate notification buttons - #4

Merged
weskcode merged 4 commits into
mainfrom
feature/animation-polish
Nov 3, 2026
Merged

weskcode merged 4 commits into
mainfrom
feature/animation-polish

Conversation

@weskcode

@weskcode weskcode commented Nov 2, 2026

Copy link
Copy Markdown
Owner

A review of every animation in the app against Emil Kowalski's motion guidance turned up four bugs and six timing problems. Recording the fixes in the simulator surfaced one more bug, in the countdown. This branch also translates the last English notification strings and moves the contact email to weskcode@duck.com.

Motion

  • Completion sheet: the thumbs-up bounce never played. It was keyed to outcome.id, which doesn't change while the sheet is open. It now fires on appearance. The icon, text and button arrive 60 ms apart.
  • Card timer: the countdown fades in with its scale instead of appearing at full strength.
  • Watch ring: it drains linearly over each 1 s tick. Before, it eased in and out every second, which made it pulse.
  • Splash: the Get Started button fades in with an ease-out (0.28 s) instead of an ease-in (0.4 s).
  • Preset rows: press-in takes 0.12 s, and the release keeps 0.22 s.
  • Toasts: they leave in 0.18 s, faster than they arrive.
  • Onboarding widget page:
    • The steps arrive 150 ms apart instead of 400 ms.
    • The reveal runs in .task, so leaving the page cancels steps still waiting. Before, detached tasks could reveal steps after the page was gone.
  • Preset radio fill: it grows from half size, and under Reduce Motion it fades without growing.
  • Flip tiles: removed a 0.995 scale too small to see.

Fixes

  • Countdown on stop: the frozen countdown shown on stop and completion padded the minutes, so 2:39 jumped to 02:39 the moment you tapped Stop Early. It now matches the live timer text, and a new test covers the format.
  • Notifications:
    • "+1 min" is translated into all 12 languages, and "Dismiss" uses its existing translations. Both were plain English strings before.
    • Beep titles use the app's localized durations ("2 min", "2:30") instead of English units ("2m 30s").
    • The old beep-title test re-implemented the formatting. The new one checks the titles of the scheduled notifications.
  • Contact email: PRIVACY.md, SECURITY.md and the in-app feedback form use weskcode@duck.com. The policy date is now November 2, 2026.

Testing

  • iOS tests: 765 of 765 pass on the iPhone 17e simulator (iOS 27.2). The animation and localization changes were tested at 12f458c and the email change at 7bc9a9f.
  • App on the simulator (iPhone 17, iOS 27.2): I recorded the old and new builds side by side and checked:
    • The onboarding widget page.
    • Timer start, and Stop Early through to the completion sheet.
    • The splash screen.
    • The feedback form's Copy Support Email, which copies weskcode@duck.com.
  • Bounce, measured from the recordings: the old icon stays 53–54 px wide. The new one peaks at 68 px, dips to 49 px and settles at 54 px.
  • Reduce Motion: the completion sheet appears without the bounce.
  • Not run locally:
    • The toast exit. It needs active Focus Lock shields, which the simulator can't provide.
    • The Watch ring and watchOS tests. There's no watchOS runtime on this Mac; this PR's Xcode Cloud check covers them.
    • The iOS 26.0 floor check. That runtime isn't installed.

Still open

  • The live privacy page at rhoids.apphq.online/privacy still lists kcode@duck.com. Its source is outside this repo.
  • CODE_OF_CONDUCT.md still uses wesleyk@duck.com.

…tion bounce

- The completion sheet's bounce was keyed to outcome.id, which never
  changes while the sheet is open, so it never played. It now fires on
  appearance, and the icon, text and button arrive 60 ms apart.
- The card countdown fades in with its scale instead of popping in.
- The Watch ring drains linearly over each 1 s tick instead of easing
  in and out every second.
- The splash button fades in with an ease-out.
- Press-in on preset rows is faster than the release.
- Toasts leave faster than they arrive.
- Onboarding widget steps arrive 150 ms apart instead of 400 ms, and
  leaving the page cancels steps still waiting.
- The preset radio fill grows from half size, and only fades under
  Reduce Motion.
- Removed an invisible 0.995 scale from the flip tiles.
The frozen countdown shown on stop and completion padded minutes
("02:39") while the live timer text does not ("2:39"), so the digits
jumped the moment you tapped Stop Early.
…imes

The "+1 min" and "Dismiss" notification buttons were plain English
strings, and the 30-second beep titles built English units ("2m 30s").
The buttons now use the string catalog, with "+1 min" translated into
all 12 languages, and the beep titles reuse the app's localized
duration format. The old test re-implemented the formatting instead of
checking the scheduled notifications; it now checks the real titles.
The privacy policy, security policy and in-app feedback form now point
to weskcode@duck.com. The policy date moves to November 2, 2026.
@weskcode
weskcode merged commit 1ca76ae into main Nov 3, 2026
5 checks passed
@weskcode
weskcode deleted the feature/animation-polish branch November 3, 2026 01:59
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