Commit Graph

11172 Commits

Author SHA1 Message Date
Joachim Kohlhammer
be55156336 Global config dialog to assign icons to Sport / SubSport (#4695)
* New dialog Options > Data Fields > Icons
* New IconManager to centrally assign icons (svg only) to Sport / SubSport
* Removed all material symbols due to license incompatibility
* Using IconManager in PlanningCalendarWindow and ManualActivityWizard
2025-09-06 09:49:40 -03:00
Joachim Kohlhammer
a1ddf9b8e0 New dialog to repeat planned workouts (#4692)
* Added dialog to repeat planned workouts
* New Wizard to select planned workouts based on past timerange
* Implemented simple conflict resolution strategies (remove all
  preexisting, skip days with preexisting, fail)
* Create new planned activities based on the selected, past ones
2025-09-05 20:19:11 -03:00
Alejandro Martinez
4b6dd0cabd Use long format for DOB
To avoid problems with Calories metric due to
user error like #2584, this was fixed in the past.
Users doesn't seem willing to check this even when
directed to do so as shown in the users forum recently.
2025-08-31 11:43:42 -03:00
Alejandro Martinez
3ff01d36a7 Fix error in default user metric code
Introduced by #4578
2025-08-30 10:08:58 -03:00
Alejandro Martinez
22fe08fde3 Use qDebug instead of qCritical the message is not an error
The user may have not created seasons or workout filters yet.
2025-08-30 10:08:58 -03:00
Joachim Kohlhammer
cdcd47e4c1 Added a confirmation dialog when deleting activities on the calendar (#4691) 2025-08-24 10:58:13 -03:00
Paul Johnson
cd780b2247 NewSideBar Button ids as an enum class and View Stack Ids (#4688)
Updates the NewSideBar button ids to use an enum class, and viewStack identifiers to provide strong typing, and aid the clarity of the code.
2025-08-22 17:47:59 -03:00
Alejandro Martinez
b312996e17 Update snapshot builds
Main changes from v3.7 release:
490565541 Fix XData offset in ComparePane
7f584aa02 Upgrade FIT SDK to 21.171
b7429db20 Deprecate DiaryWindow
49cbe3db0 New monthly calendar (#4679)
a1008db76 Show workout for planned activity in TrainView (#4686)
81ba70ee3 Overview Bubble tile - fix missing points
d24afec85 Summary Fields - Include relevant metrics only
63e2496fd Metric override icon incorrectly displayed in Trends Overview (#4684)
6e9a1f930 Update Expected PMC (TriScore) as User Chart.
91b666709 LTM Charts - Fix perspective filter
be0592dd6 User Chart - Fix leyends and labels on Pie chart
8162d7de2 Improve support for CORE sensor (#4668)
d55c7ecd7 Refactor DataFilter completers
4d95f439b Train Elevation Chart - Avoid flooding debug log
2e2374761 Allow expanding Manage Named Filters dialog
21fe82f3c Exclude planned activities from Cloud Service upload list
9713b09e8 Recognize Mitja Zupanic
6cf470b2a Manual Activity Wizard - Fix Duration discarded
fb6a2cf81 Manual Activity Wizard - Use normalized sport
f0b9f75b7 Laps Editor - range and decimals depend on units
97eab8bc3 Add Expected PMC (Coggan) sample chart
c0e7b9193 Add Expected PMC (TriScore) sample chart
d4dd12cfb DataFilter - Add planned|expected to lts/sts/sb/rr
74e4dd116 Add isRun to DataFilter
605cbe028 Metrics Trends - Plot expected load on the past
72961b655 Add Planned to DataFilter
5e7fdca41 Highlight planned activities in navigator
b2e0cf875 Update Spanish translation (#4671)
38cf95e24 New gc-blank.png image (#4669)
64536a0ee DataFilter - Add planned|expected options to pmc
bd367e607 Add planned/expected PMC to R/Python APIs
9726e70e7 Add planned/expected PMC to Metrics Trends charts
56ff6ff73 Add planned workouts / activities (#4666)
b5fe5a32c Natural sort order for workouts in train mode (#4667)
80cbc11a0 Aerolab - Fix imperial units in eoffset label
30efd9fa7 Fix some typos in Xert integration
9c6d361da Single instance of SpecialFields (#4660)
e099e89d7 Reworked the dialog for manually creating activities (#4656)
55f95e594 Overview Metric Tile - support for metric overrides (#4649)
e5d4ab114 Fix Strava upload Train simulations as VirtualRide
6764546da Correct the format of the "Start Date" and "Start Time" in the
activities summary text field. (#4648)
83797126b Calculating expected load also based on past stress (#4651)
9c666ad55 Use the right Context for FreeSearch
047ab8079 Update German translation
ae6ebd9aa FitRideFile - Avoid duplicated XData series names
5c32910af Avoid crash on WPrime computation
f22c3796d Fix Workout Wizard window title and style
c1bb636db DiaryWindow::rideSelected - Ignore same activity
e10ad628f FitRideFile - Fix regression with native TCORE
969f8c22d Ensure Device Type Tile reflects change on edit (#4633)
7e3d0a435 Upgrade Qt to 6.5.3 for AppVeyor macOS builds
a97cc9aea Restore colored zones code to QWT curve
34db86d14 Update macOS plist to v3.7 Fixes #4631
[publish binaries]
2025-08-21 18:52:41 -03:00
Alejandro Martinez
4905655413 Fix XData offset in ComparePane
The offset has to be the same as for basic data to keep
the sync, XData is not even warranted to start from zero.
Fixes a problem reported by Marcen at the users forum.
2025-08-21 11:26:58 -03:00
Alejandro Martinez
7f584aa02e Upgrade FIT SDK to 21.171
Includes new Garmin devices and manufacturers
Adds SIGMA ROX 4.0 SE from #4689
Updates fitprod.py to new format
2025-08-19 22:14:11 -03:00
Paul Johnson
2ba23e9c12 Update planning Calendar Window to use isTextField() access function (#4687) 2025-08-19 14:57:34 -03:00
Alejandro Martinez
31d03401c9 Apply new Field Definitions to Planning Calendar
Fixes build error from last commit.
2025-08-19 14:12:16 -03:00
Paul Johnson
d29040b291 Update field type definitions to use an enum class (#4685)
To provide strong typing, remove references to specific field values & ranges, and aid the clarity of the code.
2025-08-19 11:38:57 -03:00
Alejandro Martinez
b7429db207 Deprecate DiaryWindow
Old calendar is replaced by the new Planning Calendar
2025-08-18 19:15:01 -03:00
Joachim Kohlhammer
49cbe3db0c New monthly calendar (#4679)
* Created new Trends-Chart "Planning Calendar"
* Added supporting tools to Colors
* Added notification about changed season
* Updated ManualActivityWizard to optionally take the date as parameter
* Added some new icons for the calendar
* Reading normalized sport from RideItem
* Showing all events from all seasons
* Added chart-setting to configure the first day of the week
* Added chart-setting to show / hide the summary column
* Updated the appearance of planned workouts (orange icon with no background)
* Setting a pixmap next to the cursor while dragging an activity
* Added a weekly summary
* Summary and entries can be configured in chart-settings
* Replaced some material icons (phases, events, generic sport) with
  ones from breeze (https://github.com/KDE/breeze-icons)
* Updated the calendar-navigation-header
* Minor visual updates (no orange icons on blue selection, ...)
* Always showing subsport when creating a completed / planned activity
* Added "Show in Train Mode..." to Calendar
2025-08-18 18:53:34 -03:00
Joachim Kohlhammer
a1008db76a Show workout for planned activity in TrainView (#4686)
New option in context menu for planned activities in AnalysisSidebar to
show matching workouts in TrainView
See https://github.com/GoldenCheetah/GoldenCheetah/pull/4686#issuecomment-3194511746
2025-08-17 18:25:45 -03:00
Alejandro Martinez
81ba70ee3f Overview Bubble tile - fix missing points
Some bubbles are not displayed in Intervals tile
due to 2 bugs:
- x/y zero values are excluded while they can be legit,
  for example all intervals starting a activity start
  are excluded
- min/max x/y use round instead of floor/ceil so legit
  extreme values can also be included, as reported at
  the users forum.
2025-08-15 22:03:46 -03:00
Alejandro Martinez
d24afec85e Calendar Text - Include relevant metrics only 2025-08-06 19:17:24 -03:00
Paul Johnson
63e2496fde Metric override icon incorrectly displayed in Trends Overview (#4684) 2025-08-04 13:41:31 -03:00
Alejandro Martinez
6e9a1f9306 Update Expected PMC (TriScore) example chart
[skip ci]
Lets make it a User Chart.
2025-08-03 19:14:23 -03:00
Alejandro Martinez
91b6667097 LTM Charts - Fix perspective filter
So it behaves like other filters for PMC and Banister charts.
2025-08-03 16:24:17 -03:00
Paul Johnson
26f84e885c Correction to configuration path override in AbstractView pt2 (#4681)
Continuation of #4661
2025-08-01 09:16:06 -03:00
Dmytro Maslenko
18b83b0fe9 Fix warning: format specifies type 'int' but the argument has type 'qsizetype'
In C++, when using printf to display a long long integer, the correct format specifier is `%lld`. The `%lld` specifier is part of the C99 standard.
2025-07-27 17:32:16 -03:00
Dmytro Maslenko
5155cdf617 Fix warning: unused variable
Removed or commented the local variables that never used.
2025-07-27 17:32:16 -03:00
Alejandro Martinez
be0592dd68 User Chart - Fix leyends and labels on Pie chart
Reported by Marcen at the users forum:
- Only % was displayed and at the wrong legend
- Slice labels were not scaled
2025-07-27 13:14:48 -03:00
Alejandro Martinez
3ad54d53a9 Update snapshot builds
Main changes from v3.7 release:

8162d7de2 Improve support for CORE sensor (#4668)
d55c7ecd7 Refactor DataFilter completers
4d95f439b Train Elevation Chart - Avoid flooding debug log
2e2374761 Allow expanding Manage Named Filters dialog
21fe82f3c Exclude planned activities from Cloud Service upload list
9713b09e8 Recognize Mitja Zupanic
6cf470b2a Manual Activity Wizard - Fix Duration discarded
fb6a2cf81 Manual Activity Wizard - Use normalized sport
f0b9f75b7 Laps Editor - range and decimals depend on units
97eab8bc3 Add Expected PMC (Coggan) sample chart
c0e7b9193 Add Expected PMC (TriScore) sample chart
d4dd12cfb DataFilter - Add planned|expected to lts/sts/sb/rr
74e4dd116 Add isRun to DataFilter
605cbe028 Metrics Trends - Plot expected load on the past
72961b655 Add Planned to DataFilter
5e7fdca41 Highlight planned activities in navigator
b2e0cf875 Update Spanish translation (#4671)
38cf95e24 New gc-blank.png image (#4669)
64536a0ee DataFilter - Add planned|expected options to pmc
bd367e607 Add planned/expected PMC to R/Python APIs
9726e70e7 Add planned/expected PMC to Metrics Trends charts
56ff6ff73 Add planned workouts / activities (#4666)
b5fe5a32c Natural sort order for workouts in train mode (#4667)
80cbc11a0 Aerolab - Fix imperial units in eoffset label
30efd9fa7 Fix some typos in Xert integration
9c6d361da Single instance of SpecialFields (#4660)
e099e89d7 Reworked the dialog for manually creating activities (#4656)
55f95e594 Overview Metric Tile - support for metric overrides (#4649)
e5d4ab114 Fix Strava upload Train simulations as VirtualRide
6764546da Correct the format of the "Start Date" and "Start Time" in the
activities summary text field. (#4648)
83797126b Calculating expected load also based on past stress (#4651)
9c666ad55 Use the right Context for FreeSearch
047ab8079 Update German translation
ae6ebd9aa FitRideFile - Avoid duplicated XData series names
5c32910af Avoid crash on WPrime computation
f22c3796d Fix Workout Wizard window title and style
c1bb636db DiaryWindow::rideSelected - Ignore same activity
e10ad628f FitRideFile - Fix regression with native TCORE
969f8c22d Ensure Device Type Tile reflects change on edit (#4633)
7e3d0a435 Upgrade Qt to 6.5.3 for AppVeyor macOS builds
a97cc9aea Restore colored zones code to QWT curve
34db86d14 Update macOS plist to v3.7 Fixes #4631
[publish binaries]
2025-07-26 18:17:16 -03:00
Paul Johnson
ae9053e0bc Remove the view specifics from abstract view (part 2) (#4661)
Remove the remaining view specifics from Abstract View, this PR follows on from #4637.
2025-07-26 14:26:21 -03:00
fellrnr
8162d7de20 Improve support for CORE sensor (#4668)
Fixes #4665
2025-07-26 11:56:15 -03:00
Dmytro Maslenko
175da3f6bf Fix warning: reuse the abandoned statusCode local variable 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
9d7b07bf94 Minor: move a comment closer to the real code mentioned in the comment 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
48c6717319 Fix warning: field 'LASTcache' will be initialized after field 'source' 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
e15701d05b Fix warning: 'dropEvent' overrides a member function but is not marked 'override' 2025-07-26 08:28:08 -03:00
Dmytro Maslenko
68fb3649e2 Fix warning: add explicit braces to avoid dangling else 2025-07-26 08:28:08 -03:00
Alejandro Martinez
d55c7ecd7e Refactor DataFilter completers
Moves copy&pasted code to a single DataFilter::completerList
method with/without symbols for Activity/Trends contexts.
Fixes sample data symbols offered in Trends contexts
Fixes duplicated metric names reported at the users forum
2025-07-25 19:16:07 -03:00
Alejandro Martinez
4d95f439b7 Train Elevation Chart - Avoid flooding debug log
When there is no slope/distance infomation.
Fixes #4620
2025-07-25 12:57:50 -03:00
Alejandro Martinez
2e2374761c Allow expanding Manage Named Filters dialog
Requested at the users forum.
Also made macOS dimensions high dpi aware.
2025-07-24 19:13:34 -03:00
Alejandro Martinez
21fe82f3cd Exclude planned activities from Cloud Service upload list 2025-07-24 18:45:42 -03:00
Alejandro Martinez
9713b09e84 Recognize Mitja Zupanic
For his contributions with graphical items
and goldencheetah.org website new design.
2025-07-24 18:36:14 -03:00
Alejandro Martinez
6cf470b2a3 Manual Activity Wizard - Fix Duration discarded
After #4666 entered duration is discarded
when using manual extimates.
2025-07-24 14:39:05 -03:00
Alejandro Martinez
fb6a2cf813 Manual Activity Wizard - Use normalized sport
The user may have other names configured for common sports
2025-07-24 13:39:07 -03:00
Alejandro Martinez
f0b9f75b7e Laps Editor - range and decimals depend on units
For swims units are m/yd so no decimals and larger range,
for runs units are km/mi so 3 decimals and smaller range.
2025-07-23 20:51:02 -03:00
Alejandro Martinez
97eab8bc35 Add Expected PMC (TriScore) sample chart
[skip ci]
This PMC chart is an example of #4652, it uses Expected
PMC curves so it looks like a regular PMC until today,
but it uses Planned activities for the future forecasting
training load according to them.
2025-07-23 19:14:48 -03:00
Alejandro Martinez
c0e7b91937 Add Expected PMC (TriScore) sample chart
[skip ci]
This PMC chart is an example of #4652, it uses Expected
PMC curves so it looks like a regular PMC until today,
but it uses Planned activities for the future forecasting
training load according to them.
2025-07-23 14:39:22 -03:00
Alejandro Martinez
d4dd12cfbb DataFilter - Add planned|expected to lts/sts/sb/rr
Similar to 64536a0ee8
Part 4 of #4652
2025-07-23 11:21:46 -03:00
Alejandro Martinez
74e4dd1162 Add isRun to DataFilter
It was replaced by planned in Navigator by
5e7fdca415,
so we need to add it back here.
2025-07-23 10:17:14 -03:00
Alejandro Martinez
7fad817e4e Metrics Trends - Remove unused plotData variable
Not used anymore after 605cbe0285
2025-07-23 10:15:29 -03:00
Alejandro Martinez
605cbe0285 Metrics Trends - Plot expected load on the past
Continuation of #4651
2025-07-22 18:09:26 -03:00
Dmytro Maslenko
4aa2a32ec6 Fix warning: field 'XXX' will be initialized after field 'YYY'
According to the definition order in the .h file.
2025-07-22 10:49:07 -03:00
Dmytro Maslenko
fee8f1757c Fix warning: 'resizeEvent' overrides a member function but is not marked 'override' 2025-07-22 10:49:07 -03:00
Dmytro
e48921be90 Add the override classifier for some overridden functions (#4674)
To fix the next compilation warning inconsistent-missing-override: "'xxx' overrides a member function but is not marked 'override'".
2025-07-21 11:46:16 -03:00