Commit Graph

745 Commits

Author SHA1 Message Date
Brandon Presley 9433aed5a2 Get ios running
Still very broken.
Need to fix:
- Notifications
- Remove timer stuff
- Selects
2022-11-15 18:10:48 +13:00
Brandon Presley a4eca33e27 Change ruby version to match what is required in ios 2022-11-15 18:10:30 +13:00
Brandon Presley 2aa8c690f1 Ensure only MaterialIcon fonts are loaded for ios 2022-11-15 18:09:53 +13:00
Brandon Presley 6b7849b414 Downgrade react-native-device-time-format
Version 2.3.0 doesn't autolink in ios.
2022-11-15 18:09:07 +13:00
Brandon Presley 401ce5d2b8 Disable 24 hour checking and battery for ios 2022-11-14 21:42:37 +13:00
Brandon Presley 8639b53e7f Set versionCode=36101 2022-11-14 14:29:48 +13:00
Brandon Presley 3dea1e952c Fix default date in SettingsPage 2022-11-14 14:27:50 +13:00
Brandon Presley b74f77e506 Replace progress bar with toast in plan
It doesn't feel obvious enough when a new
set has been added with the progress bar +
number incrementing. I frequently found
myself double-checking I had actually submitted
a new set.
2022-11-14 14:19:41 +13:00
Brandon Presley 6b74b5114c Move progress bar to bottom of StartPlan 2022-11-14 11:35:09 +13:00
Brandon Presley 2be1fa8e9f Update timer screenshot
The height wasn't consistent with the other screenshots.
Perhaps I used my Pixel emulator instead of my Nexus 6P
emulator.
2022-11-12 18:23:45 +13:00
Brandon Presley f66c180768 Ensure timers don't run when alarms are disabled 2022-11-12 18:22:58 +13:00
Brandon Presley 3a718142e5 Add progress bar to plan items
Deploy this after using it for a day
(on Sunday NZ time).
2022-11-12 18:19:39 +13:00
Brandon Presley c70e9f5c69 Remove blocking toasts from StartPlan
Some of these weren't extra information
and would happen too often. Toasts should
be rare and informational.
2022-11-12 17:26:38 +13:00
Brandon Presley 79296b6518 Set versionCode=36100 2022-11-12 16:45:39 +13:00
Brandon Presley c31cebb6d3 Fix broken best view page 2022-11-12 16:43:56 +13:00
Brandon Presley 9bfe9737ea Fix lint issues 2022-11-12 16:02:16 +13:00
Brandon Presley 4cc4679dfd Set versionCode=36099 2022-11-12 16:01:55 +13:00
Brandon Presley 730a736585 Fix invalid reference to formatMonth in ViewBest 2022-11-12 15:24:34 +13:00
Brandon Presley c51bfbd852 Use date-fns and detect 12/24 hour device setting
Related to #116
2022-11-12 14:38:39 +13:00
Brandon Presley 970cf36c94 Set versionCode=36098 2022-11-10 15:18:05 +13:00
Brandon Presley bfa7518e40 Remove unused variables in StartPlan 2022-11-10 15:16:32 +13:00
Brandon Presley dc73035607 Add progress bar for rest timer in StartPlan 2022-11-10 15:15:27 +13:00
Brandon Presley 60fe324e06 Send 00:00 at end of alarm event 2022-11-10 15:15:14 +13:00
Brandon Presley e6d5e928a9 Use text for progress color on Timer
The progress color needs to be static
because I can't find a combo of background
color to contrast well with all the custom
primary colors.
2022-11-09 13:26:26 +13:00
Brandon Presley 60fd0130b3 Set versionCode=36097 2022-11-09 11:29:09 +13:00
Brandon Presley 0f73fb9d8f Bump react-native to 0.70.5 2022-11-09 11:27:32 +13:00
Brandon Presley 9db4990202 Set versionCode=36096 2022-11-08 16:47:54 +13:00
Brandon Presley 427b80cc52 Use bundle exec on fastlane 2022-11-08 16:46:19 +13:00
Brandon Presley 77f77b0ec4 Update gems 2022-11-08 16:46:13 +13:00
Brandon Presley 1e213b32f8 Set versionCode=36095 2022-11-08 16:35:21 +13:00
Brandon Presley bc4bc44b7d Fix download notifications
I accidentally deleted DownloadModule which
sent a notification of the successful export
of sets/plans
2022-11-08 16:32:57 +13:00
Brandon Presley 04eb738c73 Set versionCode=36094 2022-11-08 16:10:36 +13:00
Brandon Presley 13c1f64398 Change backgroundColor on timer 2022-11-08 15:50:14 +13:00
Brandon Presley bac2e3498f Add back in primary color for timer
The default progress color had weird
looking jagged edges.
2022-11-08 12:58:47 +13:00
Brandon Presley eb23fc2210 Remove primary color from timer progress
Some of these colors provide terrible contrast
so we should just leave it as default. Otherwise
people using certain colors (like light cyan)
can barely see this progress circle at all.
2022-11-08 12:45:40 +13:00
Brandon Presley b68f903a1c Remove custom color calculation from Switch 2022-11-08 12:37:24 +13:00
Brandon Presley 7b403050f3 Set versionCode=36093 2022-11-07 16:38:35 +13:00
Brandon Presley 91b8b2af13 Comment out fastlane deployments for now
Libssl 3 has broken a bunch of ruby stuff
https://github.com/postmodern/ruby-install/issues/412
2022-11-07 16:36:49 +13:00
Brandon Presley 442f1a1d67 Add missing bundle install step to deployment 2022-11-07 15:59:40 +13:00
Brandon Presley 3c17a12f6e Fix settings for adding 1 min to rest timer
Previously when adding one minute to the rest timer from
the notification, settings weren't being used (sound,
vibration).

Closes #113
2022-11-07 15:56:07 +13:00
Brandon Presley f87373479a Attempt to optimize SettingsPage
1. Use FlatList instead of ScrollView
2. Wrap `switches` in a `useMemo` call

I didn't measure it but felt like this sped up
performance slightly. Still might come back to this
page again in the future.

Closes #111
2022-11-07 14:30:25 +13:00
Brandon Presley bb85935e1d Remove custom circle background color on TimerPage
The default color has better contrast than
what I was using before.

Closes #112
2022-11-07 14:14:43 +13:00
Brandon Presley f57de5265d Set versionCode=36092 2022-11-05 17:35:06 +13:00
Brandon Presley ae84228913 Remove showSets setting 2022-11-05 17:31:18 +13:00
Brandon Presley 075d038ccc Set versionCode=36091 2022-11-05 17:24:59 +13:00
Brandon Presley 97442bc292 Fix adding one minute to a complete alarm 2022-11-05 17:22:51 +13:00
Brandon Presley 24e7ee58d9 Set versionCode=36090 2022-11-05 14:53:52 +13:00
Brandon Presley 1e4e66363b Remove unused variables from TimerPage 2022-11-05 14:52:24 +13:00
Brandon Presley 806480532f Add 1 minute to timer from notification 2022-11-05 14:46:42 +13:00
Brandon Presley 86ad6b93d6 Prevent overwriting created when updating a set 2022-11-05 14:41:45 +13:00