Commit Graph

45 Commits

Author SHA1 Message Date
23ed95dcdb Reduce debug logging in ViewBest - 1.140 2023-06-24 13:06:35 +12:00
457134df6b Only show share button on best view 2023-03-28 12:04:54 +13:00
8dd8f786ef Round graphs to 2dp - 1.126
Closes #152
2023-02-22 19:44:23 +13:00
a03731c6ff Prevent empty flicker on best view - 1.122 - 1.123
Closes #148
2023-02-13 10:43:03 +13:00
de4c8081a6 Add labels to selects 2022-11-30 15:15:19 +13:00
ea6137ac52 Remove unused import in ViewBest 2022-11-23 21:51:48 +13:00
30124485c7 Add empty message to best graphs 2022-11-23 21:50:11 +13:00
6fb2022e4d Use react-native-paper menus on ViewBest 2022-11-16 18:48:47 +13:00
c31cebb6d3 Fix broken best view page 2022-11-12 16:43:56 +13:00
730a736585 Fix invalid reference to formatMonth in ViewBest 2022-11-12 15:24:34 +13:00
c51bfbd852 Use date-fns and detect 12/24 hour device setting
Related to #116
2022-11-12 14:38:39 +13:00
bdb27894f7 Optimize root context 2022-10-31 21:00:10 +13:00
bc7aca03e8 Remove semicolons from line endings 2022-10-31 17:22:08 +13:00
e7321b6d8e Add typeorm migrations 2022-10-31 17:05:31 +13:00
b7f1c2192e Pause converting to typeorm due to odd error
ERROR  TypeError: Cannot read property 'getItem' of undefined

This error is located at:
    in FlatList (created by SetList)
    in RCTView (created by View)
    in View (created by Page)
    in Page (created by SetList)
    in SetList (created by SceneView)
...

I found an open issue on the react-native github which seems
related https://github.com/facebook/react-native/issues/31523
but after following all of their suggestions I still have the
same error. I tried:
- Removing @babel/plugin-proposal-class-properties & @babel/plugin-transform-flow-strip-types
- Adding @babel/plugin-transform-flow-strip-types
2022-10-31 13:20:36 +13:00
e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
3be82e0b36 Default unit on volume labels to kg
Closes #100
2022-10-26 18:04:33 +13:00
80b1a1ef56 Fix single views for new custom headers 2022-10-23 19:13:58 +13:00
3012b69e00 Add one rep max calculator for best graphs
I tried out a bunch of formulas as well as
having them as options, and I ended up liking
the Brzycki formula the most.
https://en.wikipedia.org/wiki/One-repetition_maximum#Brzycki
All of them produced similar trends (for me) and the one using
exponents wouldn't work with the SQLite version on android
(can't use POWER function). Also having all the options looked
kind of cluttered. If people ask for it I'll add the other ones
later.
2022-10-16 13:39:59 +13:00
eb53d58991 Add ability to set app theme
Closes #79
2022-10-04 14:35:56 +13:00
3a92cc8d7c Fix share icon in best view 2022-09-27 12:53:09 +13:00
0717151962 Split up logging in ViewBest 2022-09-20 12:35:44 +12:00
f38cc9d00c Remove react-native-picker-select
Closes #29
2022-09-20 12:28:15 +12:00
1ad101f06c Share entire screen when sharing a Best graph
Closes #20
2022-09-18 20:24:05 +12:00
052d000e12 Make padding & margin consistent everywhere. 2022-09-16 21:07:02 +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
e316a7a42f Rename "Best volume per day" to "Volume per day" 2022-09-02 13:55:18 +12:00
da936c7799 Add picker for best charts 2022-09-02 12:24:28 +12:00
6b617d974f Replace react-native imports of Text with react-native-paper 2022-09-01 23:43:53 +12:00
756a2089e9 Prevent race condition with database migrations 2022-08-30 23:21:25 +12:00
4db6f89f4f Remove "- Powered by Massive" text from share 2022-08-27 16:43:25 +12:00
23d8c91c69 Add workouts page
The workouts page can be used to add a new type of workout,
or to edit the name of an already existing one.
Closes #1.
2022-08-26 15:10:28 +12:00
fd38439756 Change color scheme 2022-08-26 13:54:51 +12:00
f15146c0e2 Add sharing graphs 2022-08-24 13:23:21 +12:00
5f85e11daf Add volume per day to graphs 2022-08-24 12:32:57 +12:00
4c185f0346 Add vibration setting for timers 2022-08-20 16:37:59 +12:00
a7d84c4dbd Change look of ViewBest
- Use color scheme for color of curve
- Use curveBasis instead of curveNatural
- Make chart taller (the y axis was a bit crowded.)
2022-07-17 23:00:54 +12:00
a4855a41d9 Prepare for first release 2022-07-12 15:54:04 +12:00
ad907a83c3 Use stack navigation for Best 2022-07-11 13:00:17 +12:00
880fc976bc Fix all lint errors 2022-07-09 13:48:45 +12:00
dbb3dc2eb3 Fix linting errors 2022-07-09 13:27:19 +12:00
830ad980fc Move from react-native-gifted-charts to react-native-svg-charts 2022-07-09 12:51:13 +12:00
c80c65e171 Add graphs 2022-07-09 00:11:10 +12:00