|
From: Arto J. <no...@gi...> - 2023-12-31 12:21:50
|
Branch: refs/heads/master Home: https://github.com/pytrainer/pytrainer Commit: 2dab235ac3168170ecce5bf50d55e2dfb3907c9f https://github.com/pytrainer/pytrainer/commit/2dab235ac3168170ecce5bf50d55e2dfb3907c9f Author: Håkan Jerning <gi...@je...> Date: 2023-12-31 (Sun, 31 Dec 2023) Changed paths: M glade/pytrainer.ui M pytrainer/gui/windowmain.py Log Message: ----------- Show heart rate for activities without tracks Activities can have heart rates set manually without any associated GPS data and indoor activities can have GPX files without any trackpoints. Also make sure to empty the values when switching to activities with missing heart rate data. Previously the last viewed heart rate values would be shown for wrong activity. Commit: 7c0edca6bcf01e658bb8f8af3740feb090c2cd1a https://github.com/pytrainer/pytrainer/commit/7c0edca6bcf01e658bb8f8af3740feb090c2cd1a Author: Håkan Jerning <gi...@je...> Date: 2023-12-31 (Sun, 31 Dec 2023) Changed paths: M glade/pytrainer.ui M pytrainer/gui/windowmain.py Log Message: ----------- Hide the heart rate graph for activities without tracks Previously the last viewed heart rate graph would be shown for wrong activity. Commit: e20ef783c3c85f28da4a9907f4a04a99a1e2ee93 https://github.com/pytrainer/pytrainer/commit/e20ef783c3c85f28da4a9907f4a04a99a1e2ee93 Author: Håkan Jerning <gi...@je...> Date: 2023-12-31 (Sun, 31 Dec 2023) Changed paths: M pytrainer/gui/windowmain.py Log Message: ----------- Fix insensitivity for empty weeks The check for timeinseconds sets sensitivity correctly, but then this line set the week view to always sensitive. Commit: 274e8ade7164b3f495bcd921f86488079190ccbe https://github.com/pytrainer/pytrainer/commit/274e8ade7164b3f495bcd921f86488079190ccbe Author: Håkan Jerning <gi...@je...> Date: 2023-12-31 (Sun, 31 Dec 2023) Changed paths: M pytrainer/gui/windowmain.py Log Message: ----------- Don't show heart rate graph for GPX files without HR data It's wrong to assume that an activity has a heart rate graph to show just because it has tracks. There are 6 type of activities to consider: 1) With GPX file with HR data for (some of) the trackpoints 2) With GPX file with overall HR data but no trackpoints (indoor) 3) With GPX file without any HR data 4) With a GPX file as in point 3 with manually added HR data or calories 5) Without GPX file and with manually added HR data or calories 6) Without GPX file and without any HR data and calories Only point 1 above have data for a heart rate graph out of the three with GPX files that has tracks. Currently it's possible to manually add HR data and calories to an activity with a GPX file as in point 4 above on creation, but it's not possible to edit the HR fields or calories after creation in an activity with a GPX file. Commit: 15a4585e712cbfbf0175b5fbe260ee9e9947d7b3 https://github.com/pytrainer/pytrainer/commit/15a4585e712cbfbf0175b5fbe260ee9e9947d7b3 Author: Arto Jantunen <vi...@ik...> Date: 2023-12-31 (Sun, 31 Dec 2023) Changed paths: M glade/pytrainer.ui M pytrainer/gui/windowmain.py Log Message: ----------- Merge pull request #248 from hjerning/heartrate-without-tracks Show heart rate for activities without tracks Compare: https://github.com/pytrainer/pytrainer/compare/79157596a1f8...15a4585e712c |