Commit Graph

24 Commits

Author SHA1 Message Date
1b217f1905 Fix bug of default EditSets unit being wrong
By default, the unit is empty (no change).
Previously it was defaulting to kilograms.
2023-11-15 11:00:09 +13:00
c3a8034dd4 Make add/subtract buttons float right in EditSets 2023-11-15 10:59:55 +13:00
9cc0eae66a Fix logging in EditSets 2023-11-15 10:59:40 +13:00
c507370398 Change style of primary buttons
According to React Native Paper docs, the purpose
of the "contained" mode of button is for the primary
action.

https://callstack.github.io/react-native-paper/docs/components/Button/#mode
2023-11-15 10:51:54 +13:00
315279e28d Replace all unit text boxes with dropdowns - 1.183 🚀 2023-11-13 18:35:30 +13:00
d8eba22914 Rename Home -> History
Although it is very common to have a Home page,
I would rather have every pages name describe
generally what it is.
2023-11-13 18:29:07 +13:00
ef63fcf470 Organize all imports 2023-11-12 17:05:37 +13:00
901cc72fbd Revert my work on surgically updating lists - 1.177 🚀
I tried to maintain the current scroll position
within a list however this caused many issues
to do with outdated data, as well as performance issues.
Now we are going back to just refreshing any list on focus.

Closes #184
2023-11-12 17:03:22 +13:00
e8ee4a253e Migrate from Drawer -> Stacks to Stack -> Drawer
This simplifies our codebase greatly by
only having a single stack navigator and
a single drawer navigator. Previously we had
a stack navigator for every main page on the drawer.
2023-10-28 15:59:25 +13:00
7928cab4c1 Swap to using MaterialCommunityIcons 2023-10-19 18:28:56 +13:00
b508df0680 Emit event after saving many sets 2023-10-19 17:40:55 +13:00
f1e8988e56 Fix multi-edit sets navigation 2023-08-28 18:14:52 +12:00
6b524dce34 Revert "Change way we detect set updates"
This reverts commit 185ebd1824.
2023-08-28 18:12:15 +12:00
185ebd1824 Change way we detect set updates
Every time we create/update/delete fire a DeviceEventEmitter
event for gym sets. Then we subscribe to the changes in relevant
components.

Also fixed flickering of "No data yet" on graphs page.
2023-08-24 17:30:57 +12:00
331597e3ee Add increment/decrement buttons to reps/weight - 1.148
Closes brandon.presley/Massive#164
2023-08-14 13:32:10 +12:00
f778426aba Run prettier
Something happened with the deno formatter,
I can't remember what! Hahahahahaahahaha
2023-08-12 15:23:02 +12:00
3e41c3bbd8 Use outlined buttons instead of contained ones
I like them better! Ahahahahahahahahah
Bwahahahahahahahahahahahahahahahahahah
2023-07-17 16:24:09 +12:00
4303fe2cc4 Use deno fmt instead of prettier 2023-06-27 15:16:59 +12:00
5d9df37778 Organize imports 2023-01-01 15:20:56 +13:00
5115055280 Reword MassiveX as AppX 2022-12-29 13:57:19 +13:00
fa19434e77 Refactor DrawerMenu
Closes #132
2022-12-18 13:23:10 +13:00
7483a504ee Fix typescript errors 2022-12-14 18:54:20 +13:00
9c21ee022d Add display of old values when mass editing sets 2022-12-14 12:55:03 +13:00
2e347deb53 Add ability to edit/delete multiple sets/plans 2022-12-13 22:54:37 +13:00