-
Notifications
You must be signed in to change notification settings - Fork 1
FocusApp Timer Feature
Chris Perry edited this page Apr 5, 2024
·
7 revisions
The timer allows the user to set timers for focus and break sessions.
Whenever the app is minimized the timer will remember the time that the app was closed, and when the app is resumed, the timer will account for the time between these events.
The timer switches between focus mode and break mode.
- While the app is open either in the foreground or background, it will remember the duration of the user's last focus and break sessions and reset the timer to those durations when switching to those states.
- Whenever a focus session is completed, if the user is logged in, it'll track the session on the API and the mobile database.
Currently the rate of currency is 1 coin / minute
The timer screen offers motivation with a pet and an island, this shows the user's currently selected pet and island through an IslandDisplayView control.
- The timer counts down in 1-second decrements
- The timer is adjustable in 1-minute steps by clicking the stepper buttons
- The timer can be adjusted by holding down the stepper buttons
- The buttons (not including tabs) are hidden on the timer screen when the timer is counting down
- The timer duration is reset to the duration of the last focus session
- The app allows the user to start focusing
- The timer duration is reset to the duration of the last break session
- The app allows the user to take a break
- The timer duration is reset to the duration of the last focus session
- The app allows the user to start focusing
- The timer duration is reset to the duration of the last focus session
- The app allows the user to start focusing
- Default island is shown
- Default pet is shown on island