Commit Graph

47 Commits

Author SHA1 Message Date
Marvin M
9d479e89b0 const_constructors
info: Prefer const with constant constructors. prefer_const_constructors
2021-10-07 20:40:09 +02:00
Marvin M
923b44ba97 Marked as '@immutable'
This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: WorkoutForm._plan
2021-10-07 19:58:40 +02:00
Marvin M
45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00
Roland Geider
8543652581 Merge branch 'master' into feature/measurements
# Conflicts:
#	lib/screens/dashboard.dart
#	test/base_provider_test.mocks.dart
#	test/gallery_screen_test.mocks.dart
#	test/nutritional_plan_form_test.mocks.dart
#	test/workout_form_test.mocks.dart
#	test/workout_set_form_test.mocks.dart
2021-09-07 17:03:15 +02:00
Roland Geider
53346dc24e Some improvements to the link to the measurement sub page
I'm still not convinced, though
2021-09-07 16:48:03 +02:00
Roland Geider
4f885c88ab Merge pull request #74 from patrickwitter/BugFixAteempt1
Fixes Issue #72
2021-08-30 22:19:24 +02:00
Patrick Witter
3dc32259de Changed max-line to 100 2021-08-30 15:05:14 -05:00
Roland Geider
a4dbbcf28d Use same color scheme for weight entry dismissible 2021-08-30 19:56:44 +02:00
Roland Geider
138c31c248 If the user cancels the datepicker, no date is selected
# Conflicts:
#	lib/widgets/weight/forms.dart
2021-08-29 22:38:07 +02:00
Patrick Witter
245b432aae refac Date TextField code,removed cursor, added calender icon at end, 2021-08-29 14:30:10 -05:00
Roland Geider
c21a895c22 If the user cancels the datepicker, no date is selected 2021-08-29 19:22:01 +02:00
Patrick Witter
0c2e57ef66 Attempt1 2021-08-29 10:15:29 -05:00
Roland Geider
93b159b3b9 Show chart with measurement entries values in detail view 2021-08-28 22:07:54 +02:00
Roland Geider
6cbe164ec8 Merge remote-tracking branch 'origin/feature/measurements' into feature/measurements
# Conflicts:
#	lib/models/measurements/measurement_entry.g.dart
2021-08-25 21:34:22 +02:00
Roland Geider
db976d0486 Add measurement category and entry overviews
This is still a work in progress, besides the UX it's not possible yet to
edit or add entries
2021-08-25 21:33:30 +02:00
Roland Geider
5b5feca8b8 Refactor weight chart to be used with the measurement entries 2021-08-25 17:19:47 +02:00
ton-An
19445c36a2 (Measurements) Added Equatable + Refactored
(MeasurementProvider)
- Passing in the WgerBaseProvider instead of extending with it
- Re-written tests
- Added the fixture reader to make test file less crowded

(Measurement Models)
- Added Equatable
- Re-written tests
2021-08-22 18:07:47 +02:00
Github-actions
c877e436b0 Automatic linting 2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Roland Geider
b915c764ef Don't check AppLocalizations for null values
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
437dd45dea Remove onTap
The entry wasn't interactive anyway and the inkwell effect could confuse
the users
2021-05-17 16:04:39 +02:00
Roland Geider
ee2e6ac671 Give providers a consistent name 2021-05-11 12:10:53 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
e60236042b Remove more hard coded strings 2021-04-10 13:22:15 +02:00
Roland Geider
68268757b8 Don't allow selecting a date if there is already an entry 2021-04-07 21:26:14 +02:00
Roland Geider
dbcb1efb43 When editing a weight entry, don't pre select the current date 2021-04-07 21:02:48 +02:00
Roland Geider
596385fbc2 Replace deprecated snackbar method 2021-04-07 20:56:14 +02:00
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
ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider
64d6e85e48 Show the body weight as the title
That is probably more important than the date
2021-03-19 23:41:31 +01:00
Roland Geider
1af8ab9ef4 Localize dates 2021-03-19 10:02:07 +01:00
Roland Geider
d4ca43291d Skip auth card tests and add body weight ones 2021-03-18 22:10:43 +01:00
Roland Geider
cc729f305b Replace more unstranslated strings 2021-03-12 13:07:52 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
d101ec6bd3 Allow to add weight entries from the dashboard 2021-02-18 23:08:31 +01:00
Roland Geider
6887db4159 Don't load entries with a future
All the data is now loaded on first login and should be always kept in sync
when entries are added or edited. This makes the application more responsive.
2021-01-31 17:32:36 +01:00
Roland Geider
f94abba1cc Allow weight entries to be deleted 2021-01-28 22:26:00 +01:00
Roland Geider
62c1be5b16 Pre-load necessary data 2021-01-27 13:36:01 +01:00
Roland Geider
fb8083912f Remove RefreshIndicator and some work on providers
(still not the optimal solution)
2021-01-26 20:38:47 +01:00
Roland Geider
e31e1bd6c0 Don't start the y axis always with zero 2021-01-26 00:22:21 +01:00
Roland Geider
4c37d5bf91 Refactor weight entry form to use showFormBottomSheet 2021-01-25 21:43:50 +01:00
Roland Geider
91c51dcb28 Format date according to locale 2021-01-02 11:32:49 +01:00
Roland Geider
005e719c78 Move body weight chart to own widget 2020-12-29 21:28:42 +01:00
Roland Geider
1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider
f84ddcad78 Show error message when adding weight entries doesn't work 2020-12-05 12:52:00 +01:00
Roland Geider
a63a4e7544 Add chart to weight screen 2020-12-04 19:42:34 +01:00
Roland Geider
7f8ecfe770 Add provider and screen for body weight entries 2020-11-21 11:44:29 +01:00