Commit Graph

16 Commits

Author SHA1 Message Date
Brandon Presley 1603496424 Rework Best -> Graphs
I was considering adding weight tracking,
so then this graph page would include body
weight graphs. Meaning it's not really
recording the "best" of anything.
It currently only shows the best on the list
page anyway.
2023-07-04 11:35:52 +12:00
Brandon Presley 4303fe2cc4 Use deno fmt instead of prettier 2023-06-27 15:16:59 +12:00
Brandon Presley bc7aca03e8 Remove semicolons from line endings 2022-10-31 17:22:08 +13:00
Brandon Presley 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
Brandon Presley e6dcd4a47e Use hermes engine
https://reactnative.dev/docs/hermes
2022-10-28 18:36:47 +13:00
Brandon Presley 80b1a1ef56 Fix single views for new custom headers 2022-10-23 19:13:58 +13:00
Brandon Presley 39fafa353f Split out some type definitions into their own files 2022-09-24 18:47:31 +12:00
Brandon Presley 259d36d67f Move all database operations into db.ts 2022-09-04 15:28:21 +12:00
Brandon Presley 1a2fcf04c3 Fix drawer title when going back on Best 2022-07-11 13:06:16 +12:00
Brandon Presley ad907a83c3 Use stack navigation for Best 2022-07-11 13:00:17 +12:00
Brandon Presley cba57e6e64 Use callbacks everywhere 2022-07-10 11:51:52 +12:00
Brandon Presley 880fc976bc Fix all lint errors 2022-07-09 13:48:45 +12:00
Brandon Presley dbb3dc2eb3 Fix linting errors 2022-07-09 13:27:19 +12:00
Brandon Presley c80c65e171 Add graphs 2022-07-09 00:11:10 +12:00
Brandon Presley d8ae1cc838 Get max reps given max weight for best page 2022-07-08 19:03:53 +12:00
Brandon Presley 45c3029434 Change page naming scheme to ${word}Page 2022-07-08 15:20:03 +12:00