Commit Graph

820 Commits

Author SHA1 Message Date
Roland Geider
ffa87f6db7 Refactor update logic
There are a lot of common steps that are always the same. This will specially
important once we edit all the other configs and their max siblings
2024-11-16 12:55:14 +01:00
Roland Geider
04c6d6c643 Save values to server 2024-11-15 18:03:06 +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
277628f329 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	test/weight/weight_screen_test.mocks.dart
2024-11-14 20:30:19 +01:00
Roland Geider
4b5ce9bdb0 Remove reorderable from routine view widget 2024-11-13 14:59:09 +01:00
Roland Geider
aa8c3444b8 Allow reordering of slots 2024-11-12 22:57:24 +01:00
Roland Geider
056ed2b894 Allow day objects to load slots 2024-11-12 22:08:45 +01:00
Roland Geider
bf73afd9fe Allow deleting days from a routine 2024-11-12 20:55:37 +01:00
Roland Geider
4d4120c904 Select newly created day for editing 2024-11-12 19:40:11 +01:00
Roland Geider
d76fcdc527 Allow editing the currently selected day 2024-11-12 19:22:20 +01:00
Roland Geider
9e9fa6be93 Allow setting the day order per drag and drop 2024-11-12 16:27:53 +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
cd4a848b79 Remove the CustomScrollView
This was only needed for the custom scrolling background / header that was
removed some time ago
2024-11-10 15:45:52 +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
4489bfbc30 Merge branch 'master' into master 2024-11-07 11:49:01 +01:00
Roland Geider
05b13d880e Further work on rendering the new routines 2024-11-07 11:13:58 +01:00
Xianglin Zeng
27e28e7f7b chore: add Xianglin Zeng to AUTHORS.md and update relevent doc 2024-11-04 23:39:23 +08:00
Xianglin Zeng
f2bc07d2fd fix hard-coded text in Chinese version, improve weight expressed in Chinese 2024-11-04 23:07:38 +08:00
Roland Geider
abf9413f4b Start rendering the new routines 2024-11-02 17:28:24 +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
ARYPROGRAMMER
bdb97cfae8 fix: RenderOverFlex in Dashboard UI 2024-10-23 23:36:50 +05:30
Dieter Plaetinck
5f148e7c92 no point showing charts that are empty - this also fixes some crashes 2024-10-16 15:33:59 +02: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
Dieter Plaetinck
1a25f0f3c6 tooltip: better background color for contrast + show date 2024-10-16 15:33:59 +02:00
Roland Geider
773b8df4e6 Localize chart titles 2024-10-07 11:56:39 +02:00
Roland Geider
906fa7257a Rename function 2024-09-29 11:45:31 +02:00
Roland Geider
72a68b4f59 Allow resetting the ingredient cache from the settings page 2024-09-29 11:25:14 +02:00
Roland Geider
15b6eb19b0 Update carousel_slider and used flutter version 2024-09-26 20:00:55 +02:00
Dieter Plaetinck
f90609f147 various dcm cleanups 2024-09-18 21:52:21 +03:00
Dieter Plaetinck
7e6c78c5e3 dart fix --apply 2024-09-18 21:29:22 +03:00
Dieter Plaetinck
85c245d67d dcm fix --only-rules=unnecessary-trailing-comma lib test test_data 2024-09-18 16:01:10 +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
3dc1c4e79e fix tests 2024-09-11 23:00:04 +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
dan
ffeaad6f0c Use current DateTime when copying WeightEntry instead of previous.
Increment weight by 0.1 and round to one decimal place to prevent floating point accuracy (rounding) issues.
2024-09-05 01:16:31 +01:00
Dieter Plaetinck
fee0e632af Merge pull request #624 from Denpeer/feature/remove-info-button
remove info button and viewmode logic
2024-07-18 17:41:35 +02:00
DVPeer
323f4bfc6b remove info button and viewmode logic 2024-07-18 01:36:17 +07:00
Dieter Plaetinck
dc1f220292 refactor
ingredient details dialog:
 - give it close/continue buttons to load into selection
 - always use image property from loaded ingredient
   this is a bit slower, but:
   * more consistent (no need to support absolute vs relative URL's
     separately)
   * cleaner (no need to pass it thru explicitly)
   * more future proof: we will get rid of the dedicated
     /ingredient/search endpoint which gives us images before we load
     the full ingredient. in the future we will simply load the
     ingredients, completely, all at once.
   * allows for easier code reuse with barcode scan result dialog

barcode scan result dialog:
 - show image and detailed nutrition table
 - support a loading spinner
 - simplify error handling
 - deduplicate code between found & not found
 - share code with ingredient details dialog
2024-07-16 11:34:11 +03:00
Dieter Plaetinck
47a5f4a07f ingredient popup: scroll and shrink image when appropriate 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
4a87c0b5f1 put popup button also in preview section 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
1ae3f33edd use ingredient.license_object_url to link to human readable page 2024-07-12 14:26:09 +03:00
Dieter Plaetinck
d99ca4160f ingredient popup: fix image rendering 2024-07-12 14:26:09 +03:00