Commit Graph

2952 Commits

Author SHA1 Message Date
Roland Geider
b8f4167c9e Show special tile indicating end of the week 2025-03-18 16:14:22 +01:00
Roland Geider
80d59e729b Fix test 2025-03-18 16:01:15 +01:00
Roland Geider
421e6d7827 Merge branch 'master' into feature/flexible-routines 2025-03-18 15:47:06 +01:00
Roland Geider
f987de1b4d Handle case where an exercise has no variations 2025-03-18 14:59:33 +01:00
Roland Geider
1c2e988c82 Show the start and end dates for the current routine in the dashboard
The date in which the routine was created is not so important anymore
2025-03-17 21:03:12 +01:00
Roland Geider
58a641d298 Also put the list tile to add exercises in a card
This makes it look the same as the one to add new days and makes for
a more consistent behaviour
2025-03-17 19:44:58 +01:00
Roland Geider
5fdcb63207 Remove the optional refresh parameter
We always want to refresh the data since we don't update manually the
dayData lists
2025-03-17 19:27:43 +01:00
Roland Geider
1c8c2f7256 Don't show edit button in view mode 2025-03-17 19:27:43 +01:00
Roland Geider
567843aec8 Set the default value to fitInWeek to true
This is the same behaviour as in the web application is what most people
most like will be doing anyway.
2025-03-17 19:27:43 +01:00
Roland Geider
b868911a3f update goldens 2025-03-17 13:29:29 +01:00
Roland Geider
afff6731da Group settings by exercise if these are the same 2025-03-17 13:23:10 +01:00
Roland Geider
d5a262491a Add missing semantic labels 2025-03-17 13:22:02 +01:00
Roland Geider
ac458575b8 More renaming exerciseBase to exercise and exercise to translation 2025-03-17 13:21:51 +01:00
dependabot[bot]
e3abcf2bc8 Bump flex_seed_scheme from 3.5.0 to 3.5.1
Bumps [flex_seed_scheme](https://github.com/rydmike/flex_seed_scheme) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/rydmike/flex_seed_scheme/releases)
- [Changelog](https://github.com/rydmike/flex_seed_scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rydmike/flex_seed_scheme/compare/3.5.0...3.5.1)

---
updated-dependencies:
- dependency-name: flex_seed_scheme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 12:06:42 +01:00
dependabot[bot]
bb9bd2ef6a Bump flutter_html from 3.0.0-beta.2 to 3.0.0
Bumps [flutter_html](https://github.com/Sub6Resources/flutter_html) from 3.0.0-beta.2 to 3.0.0.
- [Release notes](https://github.com/Sub6Resources/flutter_html/releases)
- [Changelog](https://github.com/Sub6Resources/flutter_html/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Sub6Resources/flutter_html/compare/flutter_html-v3.0.0-beta.2...v3.0.0)

---
updated-dependencies:
- dependency-name: flutter_html
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 11:58:18 +01:00
Roland Geider
2a422958f6 Remove commented code 2025-03-17 09:57:44 +01:00
Roland Geider
4e959d777a The repetition and weight units can be null
and don't need to be loaded in this case
2025-03-16 19:59:00 +01:00
Roland Geider
2405b31d7e Remove the "workout manager" part from the readme
This is not used much anymore
2025-03-15 15:00:29 +01:00
Roland Geider
0e4dbba245 Re-add showing null days
Still need a better solution in the UI for this, though
2025-03-15 14:59:59 +01:00
Roland Geider
753a126625 Don't load templates
At the moment templates are not supported in the mobile app.
2025-03-15 14:55:14 +01:00
Roland Geider
9f13e371ba Fix test 2025-03-15 14:54:39 +01:00
Roland Geider
715ad1865b Update goldens 2025-03-14 15:45:15 +01:00
Roland Geider
8de2199742 Render the "add day" within a Card
This makes it visually more similar to the rest of the options
2025-03-14 15:16:21 +01:00
Roland Geider
498e0a5011 Simplify code 2025-03-14 15:15:36 +01:00
Roland Geider
e26da371e6 Correctly calculate the current iteration 2025-03-14 13:37:11 +01:00
Roland Geider
6e01df2622 Use better type for requirements
(which are not editable on the flutter application anyway)
2025-03-13 14:45:35 +01:00
Roland Geider
f8e4304a01 Use better conversion function, the (max) rest time can be null 2025-03-13 14:42:48 +01:00
Roland Geider
a2ef3278fa Show the trailing icon for the current day on rest days as well 2025-03-13 14:26:34 +01:00
Roland Geider
6cffdc9366 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	lib/l10n/app_zh_Hant.arb
2025-03-13 14:13:20 +01:00
Roland Geider
afedf1eb14 Remove video.txt
We don't have yet a promotional youtube video
2025-03-13 14:12:24 +01:00
Roland Geider
d1c77875cd Add enableOnBackInvokedCallback to Android manifest 2025-03-13 14:10:58 +01:00
Roland Geider
7728b60aec Update README.md with links to new online documentation 2025-03-13 14:10:32 +01:00
Roland Geider
7bca3ea008 Update pubspec.lock 2025-03-13 14:07:12 +01:00
Roland Geider
a9658b747f Update Gemfile.lock 2025-03-13 14:06:44 +01:00
Roland Geider
220db911f5 Merge pull request #730 from wger-project/feature/weblate
Translations update from Hosted Weblate
2025-03-13 14:03:52 +01:00
Roland Geider
fee27ac75d Remove debug output 2025-03-11 21:46:16 +01:00
Roland Geider
68585bf22f Update goldens 2025-03-11 21:46:00 +01:00
Roland Geider
6039f51b2a If there is a rest time, show a countdown timer in the gym mode 2025-03-11 21:42:41 +01:00
Roland Geider
140fe11e2a Mark the day in the routine for the current date 2025-03-11 21:03:20 +01:00
Roland Geider
4e60f14917 The dashboard can be a StatelessWidget 2025-03-11 20:44:42 +01:00
Roland Geider
325cc93865 Refresh the whole routine after modifying further objects.
This makes sure that all the structures are present and have the correct
content (dayData, etc.). Also, add more feedback to the user for some operations
that take a bit longer due to loading the whole routine.
2025-03-11 20:36:38 +01:00
Roland Geider
3abfd43be0 Rename variable to make it clearer what it does 2025-03-11 14:27:15 +01:00
Roland Geider
929acc7938 Refresh the whole routine after modifying a day
This makes sure that all the structures are present and have the correct
content (dayData, etc.)
2025-03-11 14:06:09 +01:00
Roland Geider
9c68a5abf4 Show button to edit the routine if it is empty 2025-03-11 13:51:47 +01:00
Roland Geider
1f647b5033 Correctly navigate to new routine after creating it 2025-03-11 13:50:13 +01:00
Roland Geider
883490ecd4 Juggle with the widgets so the routine form doesn't cause overflow errors
Seems this is the only form to make it work within the SingleChildScrollView
2025-03-11 13:25:30 +01:00
Roland Geider
27f0afb059 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	pubspec.lock
2025-03-11 10:31:52 +01:00
Peter Dave Hello
e8cbfa6f96 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 75.0% (3 of 4 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/zh_Hant/
2025-03-10 21:23:01 +01:00
Peter Dave Hello
5ee2c1abe7 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (276 of 276 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hant/
2025-03-10 21:23:01 +01:00
Karol Solecki
3ff044ac9f Translated using Weblate (Polish)
Currently translated at 95.6% (264 of 276 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2025-03-10 21:23:01 +01:00