Commit Graph

82 Commits

Author SHA1 Message Date
463852e6a6 Prevent double searching everywhere
Also change variable names. Search should represent the
act of searching, rather than the value being typed by the user.
2022-10-28 18:59:54 +13:00
e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
ac0af26f77 Add more date format options
Closes #94
2022-10-28 15:49:03 +13:00
859fa2a89f Add setting to disable sound on rest timers
Closes #50
2022-10-27 17:28:27 +13:00
80b1a1ef56 Fix single views for new custom headers 2022-10-23 19:13:58 +13:00
36e6637ba2 Revert "Revert "Add custom app bar""
This reverts commit e84dd7bdea.
2022-10-23 12:35:58 +13:00
e84dd7bdea Revert "Add custom app bar"
This reverts commit a664b65ce2.
2022-10-23 12:32:44 +13:00
a664b65ce2 Add custom app bar
The header bar provided by react-navigation was jumping on first
load, whereas this custom one doesn't.
2022-10-23 12:24:39 +13:00
c73937396e Fix defaults for freshly installed app
Closes #95
2022-10-18 21:43:46 +13:00
77db34b310 Add toggle for hiding maximum set count
Closes #90
2022-10-16 16:54:20 +13:00
46f0875497 Create useSnackbar custom hook 2022-10-14 17:27:19 +13:00
8461f86e88 Wrap color context with useColor custom hook
I find it easier to import hooks by useX instead of
useContext(X). Like how the navigation library is just
useNavigation
2022-10-14 17:24:02 +13:00
3cbabb723a Add sessions page
Related to #82
2022-10-05 23:38:52 +13:00
eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
c65bbf948f Add hh:mm format to date setting 2022-10-02 19:14:10 +13:00
93878f14e4 Fix image on new set prediction 2022-10-02 19:07:52 +13:00
ba3ed2a272 Revert "Revert "Add setting for showing date by default""
This reverts commit e1b7e80e2f.
2022-10-02 18:07:43 +13:00
a5c70050a7 Revert "Revert "Add setting for date format""
This reverts commit 3691c729b4.
2022-10-02 18:04:36 +13:00
b0b804eae1 Use react context for settings
Closes #81
2022-10-01 16:01:07 +13:00
ee76864a16 Fix margin differences in Settings page 2022-09-29 14:52:38 +13:00
374cbdf45d Add set prediction settings
Closes #51
2022-09-29 14:44:01 +13:00
3691c729b4 Revert "Add setting for date format"
This reverts commit 023041b846.
2022-09-26 19:13:48 +13:00
e1b7e80e2f Revert "Add setting for showing date by default"
This reverts commit e8715162a0.
2022-09-26 19:13:24 +13:00
e8715162a0 Add setting for showing date by default
Closes #52
2022-09-26 19:02:25 +13:00
023041b846 Add setting for date format 2022-09-26 18:23:06 +13:00
91c0430760 Factor out massive switch 2022-09-26 16:10:13 +13:00
5e1a6c42cd Swap theme and sound options in SettingsPage
Closes #53
2022-09-25 23:51:05 +13:00
ce0297dce6 Make settings page more compact 2022-09-25 18:35:30 +13:00
d38d2a59b4 Add white and black themes 2022-09-25 17:43:29 +13:00
b5b4aa8666 Split out colors 2022-09-25 17:32:49 +13:00
3509aa93f3 Add setting to hide steps 2022-09-24 17:29:52 +12:00
3e4dfa5c80 Add setting to hide workouts from edit set
Closes #43
2022-09-24 17:23:15 +12:00
462a7f09bc Fix settings forgetting show unit
Closes #47
2022-09-24 17:12:58 +12:00
686666b953 Get unit in settings page from sqlite 2022-09-24 16:55:41 +12:00
e516cdfdc0 Add ability to customize primary color
Closes #40
2022-09-24 13:57:51 +12:00
0bc644a1ba Add setting to show/hide unit field
Closes #34
2022-09-21 13:51:29 +12:00
85dd2b6d17 Move rest timer and sets per session settings to Workouts
Closes #32
2022-09-21 11:50:20 +12:00
be3bb8a189 Reword tooltip when toggling set predictions
Closes #24
2022-09-18 18:11:09 +12:00
0bc92e1539 Add snackbar for images setting 2022-09-16 21:38:37 +12:00
052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +12:00
5177a79b5c Search settings page case insensitively 2022-09-11 15:41:15 +12:00
567bf182b4 Change toasts based on context of settings
The messages should explain what you have now changed
rather than the setting itself.
2022-09-11 15:35:20 +12:00
1a83b20069 Reduce redundancy of SettingsPage 2022-09-11 15:22:18 +12:00
e3b3c6ca09 Split out database logic into service files 2022-09-04 16:56:46 +12:00
259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
607f83955d Replace react context with let statement in db.ts
1. I can't easily import context with my editor.
2. It's extra complexity everyone has to understand.
3. I hate the antichrist.
2022-09-04 14:05:25 +12:00
2729f86fb3 Put rest minutes & seconds on the same row 2022-09-02 14:01:25 +12:00
6b617d974f Replace react-native imports of Text with react-native-paper 2022-09-01 23:43:53 +12:00
137ecf4a77 Add show images setting 2022-09-01 13:06:49 +12:00
756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00