Commit Graph

159 Commits

Author SHA1 Message Date
Roland Geider
2e62fdee83 Cleanup 2025-01-31 16:25:03 +01:00
Roland Geider
ef4db2c772 Pass the routine ID to the RoutineScreen widget 2025-01-31 16:24:21 +01:00
Roland Geider
c0935506ed Load the session data from the new API as well
Also, edit or add a session in the gym mode
2025-01-25 21:50:30 +01:00
Roland Geider
69ffdcfbc9 Don't overflow the set representation 2025-01-25 20:06:40 +01:00
Roland Geider
5a39c6c229 Rename some functions, a bit of cleanup 2025-01-10 15:52:26 +01:00
Roland Geider
462cc95979 Fix test 2025-01-06 22:01:33 +01:00
Roland Geider
ad5d1be306 Pass the necessary IDs to the gym mode and load the rest of the data 2025-01-05 16:35:16 +01:00
Roland Geider
8020bd21b6 More polish and i18n work
Also make sure that we don't update the routine while editing, since
some of the changes could pull the rug under our feet and felt strange.
Now there's a manual refresh button for the resulting routine
2024-11-16 22:21:27 +01:00
Roland Geider
23119e68d5 Allow users to reorder the days and the slots within the days 2024-11-15 16:44:41 +01:00
Roland Geider
1d93b2f8c0 Refactor forms into individual files 2024-11-12 14:15:49 +01:00
Roland Geider
a35336f57c Allow editing the fit in week toggle as well as start and end dates 2024-11-12 13:31:56 +01:00
Roland Geider
47e36eff48 More refactoring of routine screens and widgets 2024-11-10 15:13:30 +01:00
Roland Geider
12f22d214a Rename widget folder 2024-11-10 14:51:11 +01:00
Roland Geider
5c947375ee Rename provider 2024-11-10 14:48:03 +01:00
Roland Geider
05b13d880e Further work on rendering the new routines 2024-11-07 11:13:58 +01:00
Roland Geider
9ff2bba13a Load the new DayData entries and the regular data objects from structure endpoint 2024-10-30 23:19:10 +01:00
Roland Geider
a79b6d6b4e Start implementing new flexible routines 2024-10-30 19:17:51 +01:00
Roland Geider
7db93f0b6e Start implementing new flexible routines 2024-10-30 12:14:26 +01:00
Dieter Plaetinck
c5b1695d20 fix crash for empty measurements 2024-10-16 15:33:59 +02:00
Dieter Plaetinck
bd7088d445 use a 'sensible range' for headline weight/measurements charts
this allows user to focus on their recent progress on the initial chart.
if they want to see the full history, that's only a tap away
2024-10-16 15:33:59 +02:00
Roland Geider
15b6eb19b0 Update carousel_slider and used flutter version 2024-09-26 20:00:55 +02:00
Dieter Plaetinck
7e6c78c5e3 dart fix --apply 2024-09-18 21:29:22 +03:00
Dieter Plaetinck
a589d87fad dcm fix --only-rules=avoid-redundant-async 2024-09-18 15:52:55 +03:00
Dieter Plaetinck
bf9e614f8b make it work for measurements + couple fixes 2024-09-18 13:33:57 +03:00
Dieter Plaetinck
161444b32f weight visualisation improvements
* show weight entries during this nutrition plan and last 30 days
* show moving average of last 7 days
* show aggregate changes below chart
* fix unit displays in a few cases
* improv color scheme and other layout tweaks
* various small code cleanups
2024-09-11 16:03:43 +03:00
Dieter Plaetinck
14bd370503 solve the date fix in a cleaner way 2024-09-07 19:44:50 +03:00
DVPeer
323f4bfc6b remove info button and viewmode logic 2024-07-18 01:36:17 +07:00
Dieter Plaetinck
87755f16b6 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-20 15:55:28 +03:00
Dieter Plaetinck
6e1d3f9568 dart format --line-length=100 .
(except auto generated files)
2024-06-20 15:44:35 +03:00
Dieter Plaetinck
266cec8c0c manual fixes: no-empty-block 2024-06-07 14:59:07 +03:00
Dieter Plaetinck
420f9ae16d dcm fix --only-rules=avoid-inferrable-type-arguments lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
cf351c3690 dcm fix --only-rules=prefer-declaring-const-constructor lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
8db1a7c960 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
7f74bff32c dcm fix --only-rules=prefer-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
a209015d41 l10n 2024-06-06 18:17:40 +03:00
Dieter Plaetinck
244d628068 dashboard log meal should go to log meal page 2024-06-05 20:39:07 +03:00
Dieter Plaetinck
5d63c324c3 also replace icon in the dashboard widget expanded view 2024-06-05 20:07:06 +03:00
Dieter Plaetinck
3922549be8 log meals page + new 'log {meal,ingredient} to diary' dashboard buttons 2024-06-05 16:48:24 +02:00
Dieter Plaetinck
caa2866bdf Merge branch 'master' into goal-fiber 2024-05-25 09:53:47 +02:00
Dieter Plaetinck
5ae30e6788 cleaner way to show line of macros 2024-05-23 19:59:57 +02:00
Dieter Plaetinck
12c1d0044c support fibers goal 2024-05-18 21:32:29 +02:00
Dieter Plaetinck
2347657dcd fixes 2024-05-04 23:20:16 +02:00
Dieter Plaetinck
8c5eded894 new "progress towards goals" widget for nutrional plans
both for dashboard widget and nutritional details page
2024-04-30 18:57:40 +02:00
Dieter Plaetinck
b7df869695 display caloric balance on nutrition dashboard widget 2024-04-27 17:45:25 +02:00
Dieter Plaetinck
3b70cb37e5 nutrition dashboard widget: use 3 layers of detail
... because showing all meals by default is a bit too much info
2024-04-27 16:29:45 +02:00
Dieter Plaetinck
580b053591 use improved barchart widget on nutrition dashboard widget 2024-04-27 16:11:08 +02:00
Roland Geider
84c9fe888e Some renamings 2024-02-23 20:37:10 +01:00
Roland Geider
9b0985fbf3 Add chart for percentage of logged nutritional values for meals 2024-02-23 19:19:13 +01:00
Roland Geider
0153fcc691 Also pass the last known weight in the dashboard 2024-02-17 18:52:36 +01:00
Roland Geider
eba08b1d66 Make behaviour of cards more consistent
Now the workout card has the "go to detail page" on the left as well
2024-01-23 17:00:57 +01:00