Commit Graph

323 Commits

Author SHA1 Message Date
Roland Geider
9c7b65bc49 Allow users to quickly increment the body weight 2024-02-17 18:48:48 +01:00
Roland Geider
2dc08a133e Merge pull request #459 from 12people/ux_fixes
Removing Dismissible for better discoverability
2024-01-23 14:31:16 +01:00
Roland Geider
51a0e8798d Correctly show any errors from the server on the registration page
Also, add some tests
2024-01-22 16:55:59 +01:00
Roland Geider
190f47f76b Merge branch 'master' into ux_fixes 2024-01-12 14:54:25 +01:00
Roland Geider
396c98dbd9 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/widgets/add_exercise/steps/step2variations.dart
#	pubspec.lock
2024-01-11 11:20:31 +01:00
Roland Geider
b9b51dbad3 Rename constant to make it more clear what they are 2024-01-11 11:17:36 +01:00
null
4d90b8fc13 Fix bugs (#476)
* #454 issue, prefill only on debug mode

* #454 issue, prefill only on debug mode

* added myself <3

* -

* -

* fix #478 LateInitializationError

* add consts, make the funcs private

* latest update, change the name of prod, adding test server in debug mode

* -

---------

Co-authored-by: allohibihanaa <digitalhanaa@gmail.com>
Co-authored-by: Roland Geider <roland@geider.net>
2024-01-11 10:42:24 +01:00
Roland Geider
d51b6d7d87 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/widgets/workouts/day.dart
#	pubspec.lock
#	pubspec.yaml
2024-01-09 15:37:48 +01:00
Roland Geider
b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00
Roland Geider
c5cbb4f851 Rework exercise database
This is now separated into individual tables and methods so that they can be
tested separately
2023-12-26 17:03:20 +01:00
Roland Geider
65ba2275ae Run "dart format --line-length=100 ." to make the diff smaller 2023-12-23 16:40:05 +01:00
Abhishek Saini
c69c639fac fix(drift): built a model for exercise and fixes in fromSql type converter 2023-12-23 14:28:38 +05:30
Miroslav Mazel
32c7ca0803 Centered titles on macOS / iOS 2023-11-23 13:15:03 +01:00
Roland Geider
29a6839a61 Run dart fix on the code base 2023-11-19 18:49:35 +01:00
Miroslav Mazel
35127489a0 Consistent styling for FlexibleSpaceBar 2023-11-11 18:00:30 +01:00
Miroslav Mazel
89caf4616d Adding much-needed padding 2023-11-11 17:59:55 +01:00
Miroslav Mazel
93f5314952 BottomNavigationBar -> NavigationBar 2023-11-11 12:37:54 +01:00
Miroslav Mazel
d445283cf7 Different fonts + tweaked icons 2023-11-11 12:33:19 +01:00
Roland Geider
95f863a0b6 Merge branch 'master' into feature/material-3
# Conflicts:
#	lib/widgets/nutrition/meal.dart
#	lib/widgets/workouts/day.dart
2023-11-10 19:27:27 +01:00
Roland Geider
5845e70a6b Simplify some of the widgets since these values are set in the theme now 2023-11-10 19:08:42 +01:00
Roland Geider
6a1f231e48 Make chips a bit smaller and give them a bit of color 2023-11-09 20:19:19 +01:00
Miroslav Mazel
5f7bc96f8b Don't use BuildContext across async gaps 2023-11-05 23:34:37 +01:00
Miroslav Mazel
420b06a661 Organize imports / remove unnecessary ones 2023-11-05 23:22:34 +01:00
Roland Geider
43d61ecfbf Merge branch 'master' into feature/material-3
# Conflicts:
#	pubspec.yaml
2023-08-10 07:17:27 +02:00
Github-actions
8c809ad8cb Automatic linting 2023-08-08 09:14:27 +00:00
Roland Geider
aecbcfe663 Update models to work with new keys
creation_date was renamed to created and
update_date to last_updated
2023-08-08 11:12:55 +02:00
Github-actions
ef1bc990e5 Automatic linting 2023-06-05 15:27:50 +00:00
Jigar
aba4b824fc now it is fixed for null check 2023-05-17 15:25:51 +05:30
Jigar
d33bb1875f fixed validating username problem 2023-05-12 05:05:50 +05:30
Roland Geider
1ea3c2e2eb More polishing 2023-04-24 16:28:38 +02:00
Roland Geider
187cae97e3 Re-add hard coded color to FAB
This is a bit more cheerful
2023-04-24 15:59:36 +02:00
Roland Geider
f16a8daa72 Set the color of the bottom navigation bar statically to the main color 2023-04-23 13:09:31 +02:00
Roland Geider
8de51abb9a Remove more hard coded colors and use the theme data 2023-04-22 14:30:31 +02:00
Roland Geider
80ec0e80fb Start moving to material 3
Also dark mode at last
2023-04-22 13:38:13 +02:00
Roland Geider
bf7e2e8956 Move platform check to helper
Also, use TargetPlatform since it it better suited for tests (and seems to
be now the recommended way of checking this for UI elements)
2023-04-15 12:17:08 +02:00
Miroslav Mazel
e470b8809d Platform conditions for image_picker library 2023-03-22 11:55:36 +01:00
Roland Geider
992de28450 Polish the last exercise submission step
Show a spinner while the requests are being processed (still no error handling
here though) and show a pop up on success that allows the user to go to the
exercise's detail page

Closes #341
2023-02-10 17:15:29 +01:00
Roland Geider
ab9572d46a Cleanup 2023-02-10 13:19:55 +01:00
Github-actions
fcaa4dc75b Automatic linting 2023-02-09 17:34:26 +00:00
Roland Geider
fe59ddc9ac Add helper to get the nutritional plan's label
Returns the name or the term "nutritional plan"
2023-02-09 18:25:40 +01:00
Roland Geider
aa62c27cdb Add refresh indicators to the entry lists
This allows the user to manually trigger an update if desired

See wger-project/wger/issues/1253
2023-02-09 18:08:31 +01:00
Roland Geider
a977d4ec48 Refactor add_exercise_screen.dart
Use the is_trustworthy flag from the server, which also takes the account's age
into account. The widgets in the screen are split so it's easier to test and read
2023-02-07 20:30:09 +01:00
Roland Geider
57e7464d2d Some polishing 2023-02-06 22:31:35 +01:00
Harshit
4f460e85ee updated fixes 2023-02-01 01:17:49 +05:30
Harshit
c3f00f0e55 fix 2023-01-30 18:54:55 +05:30
Harshit
cd4bdf3939 e-mail verfication 2023-01-28 04:37:27 +05:30
Harshit
e73f09300f user cant add exercise without verifying e-mail 2023-01-28 04:15:32 +05:30
Roland Geider
021e06dfee Fix some tests
Flutter 3.7 seems to need an explicit Scrollable widget
2023-01-27 22:34:46 +01:00
amannegi
e4a4305555 Auth redesign fixed Helper Text #264 2022-10-28 10:59:06 +05:30
amannegi
da8b26ed4f Auth redesign updated Registration UI #264 2022-10-28 10:50:01 +05:30