Commit Graph

29 Commits

Author SHA1 Message Date
Roland Geider
6a2158a397 Reload the session page in the gym mode
This makes sure that we have the current state and don't try to create a new session
which already exists
2025-12-18 11:59:26 +01:00
Roland Geider
06b32a2bd9 Better volume calculations, other cleanup 2025-12-04 12:14:57 +01:00
Roland Geider
aeb01a517b Refactor widgets used in logs
We should try to reuse as many as possible in the end-of-gym-mode logs and in
the routine log page
2025-11-27 15:08:06 +01:00
Roland Geider
ecd0b6c6b4 Add overview page when a workout has been completed 2025-11-26 20:17:02 +01:00
Roland Geider
798406eaa9 Make routineId nullable in session and related files
Sessions can be added ad-hoc, without needing to be part of any specific
routine.
2025-09-16 14:47:47 +02:00
Roland Geider
d663bcd88a Move common logic to SessionForm
Refactor and polish a bit the form in the log overview.
2025-05-09 21:12:49 +02:00
Roland Geider
1ecbfa88d1 Correctly set the start and end time to null, if this is what comes from the API 2025-04-18 00:40:05 +02:00
Roland Geider
bc0672d81b Correctly initialize the data in form from existing session
Also, add some simple tests for this
2025-04-17 17:30:01 +02:00
Roland Geider
5058498c4f Allow passing all parameters to the WorkoutSession constructor 2025-01-31 16:24:56 +01:00
Roland Geider
7c6fbebdf5 Show workout session information 2025-01-26 20:11: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
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
7db93f0b6e Start implementing new flexible routines 2024-10-30 12:14:26 +01:00
Marvin M
1e8080cc02 always_declare_return_types 2021-10-07 20:43:55 +02:00
Github-actions
18622b0c62 Automatic linting 2021-10-07 06:00:51 +00:00
unknown
769043598b fix/preset-time-session-form creating constructor in session to initialize timeStart/end 2021-10-06 22:16:44 +03:00
unknown
320e61d2c2 fix/preset-time-session-form adding default values to timeStart/end 2021-10-06 20:57:21 +03: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
68552ea277 Rename conversion functions
This makes it clearer what gets converted to what
2021-05-18 22:14:58 +02:00
Roland Geider
1f20c87a2d Update calendar widget to 3.0 2021-04-19 16:31:57 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider
b647ec64ca Set correct workoutID name 2021-03-10 11:06:52 +01:00
Roland Geider
65a6987a3c Render correct number of pages in gym mode 2021-03-08 23:00:02 +01:00
Roland Geider
0d3e2ef8ff Add gym workout screen 2021-02-23 22:31:25 +01:00
Roland Geider
b8c159c841 Add nutritional diary data to calendar 2021-01-16 13:44:19 +01:00
Roland Geider
ffcf0f5ea4 Load the workout sessions to dashboard calendar 2021-01-13 13:45:27 +01:00
Roland Geider
e6a2daebd1 Add models for workouts 2020-11-06 15:42:40 +01:00