Commit Graph
28 Commits
Author SHA1 Message Date
Roland Geider bf9abea7aa Render forms in own scaffold
This eliminates many of the overflow problems from the bottom sheet
2021-04-02 17:35:31 +02:00
Roland Geider 63584fb8f2 Use individual endpoints to load plan data
While this results in way more requests needed, it has the great benefit of using
the same data structure for reading and writing. This saves us a lot of headaches
in the data modelling and we don't have to care that the info endpoints looked a
bit different.
2021-04-01 16:28:35 +02:00
Roland Geider 97829e0408 Add more tests for nutrition and workout plan overview 2021-03-30 13:25:36 +02:00
Roland Geider 5263c074f2 Make tests work with (no sound) null safety 2021-03-30 12:51:18 +02:00
Roland Geider ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider c6228ec048 Add more tests for the body weight screen 2021-03-19 10:23:57 +01:00
Roland Geider d4ca43291d Skip auth card tests and add body weight ones 2021-03-18 22:10:43 +01:00
Roland Geider b647ec64ca Set correct workoutID name 2021-03-10 11:06:52 +01:00
Roland Geider 0ce2b6efca Move URI generation to helper 2021-03-09 11:42:44 +01:00
Roland Geider af5027b7ab Remove unneeded whitespace 2021-01-23 10:54:52 +01:00
Roland Geider 62926ae549 Refactor makeUrl
The object ID is an integer and there is now an objectMethod for special object
endpoints.
2021-01-22 23:11:52 +01:00
Roland Geider 26dafb7ccc Sort weight entries by date (newest first) 2021-01-19 11:48:26 +01:00
Roland Geider 696eb30c26 Use constants for HTTP headers 2021-01-19 11:32:58 +01:00
Roland Geider fdc3996aed Fix base provider test 2020-12-28 18:27:59 +01:00
Roland Geider 44b6a80db8 Rename test file to be more consistent with the others 2020-12-28 12:36:53 +01:00
Roland Geider 7d78a77500 Refactor the base provider
The http client is now passed as a constructor argument and de-clutters all the
functions, while still allowing for mocking.
2020-12-27 12:51:40 +01:00
Roland Geider 8257153569 Fix body weight test 2020-12-27 12:21:08 +01:00
Roland Geider 33a3c71af0 Some work on makeUrl helper 2020-12-26 19:15:55 +01:00
Roland Geider 571e933281 Fix tests 2020-12-22 11:11:39 +01:00
Roland Geider aed4beb0ab Delete empty dummy test 2020-12-06 17:15:15 +01:00
Roland Geider 1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider 4c12607671 Add uncommited weight model test 2020-12-06 16:22:26 +01:00
Roland Geider d510079055 Fix tests 2020-12-06 16:20:32 +01:00
Roland Geider 1d5e61552f Improvements to weight edit form 2020-12-06 14:55:41 +01:00
Roland Geider 9b41f0e72f Add auth screen widget test 2020-12-02 13:42:12 +01:00
Roland Geider c9b6e16067 Add tests for the body weight provider 2020-12-01 21:59:17 +01:00
Roland Geider c31021225f Make test pass
This doesn't test anything and is only used to check that the automatic tests work
2020-11-02 18:14:07 +01:00
Dylan Aird 85c0832398 first push 2020-09-12 20:25:00 +10:00