... introduce new "home" Folder structure object representing the
previous flat-folder
... adjust relevant QDir home - access to use the sub-folder method of
the new object
Note: the new structure is not yet active ! - everything is written to
the main folder still
To Do:
... add upgrade procedure for existing folder content to merge to the
new folders
.. remove inverse time (but add support to Model for future reference)
.. fix x labelling for plotting Work
.. remove options for best shading, its now on or off
Fixes#924
... allow/use only internal field names (delivered by Column Chooser) in
Data Filter expressions
... multipe tr()
(cherry picked from commit bc4164adab74dd82c0a0307d7d0fbb736f95ef0d)
.. delta plot but with percentage rather than absolute differences
.. particularly useful for plotting PD curve by seasons and looking
at the gains/losses in percentage terms per season
.. also the differences in short and long durations in absolute terms
often look quite different, in percentage terms there is often not
a huge difference over seasons.
NOTE: Needs to be fixed up to do percentage differences by model.
.. delta compare to use first date range as a baseline to
compare other date ranges to.
.. only works for the bests curve in date range mode
.. in part 2 will add the model and also rides/intervals.
.. all the recent work on the CP chart has focused on absolute
watts and not taken into account w/kg !
.. this fixes that up, but still need to look at w/kg on the
model parameters stuff for the CP history chart
.. the last piece of the jigsaw for the CP chart refactoring was
to use the new model class and remove the calculation in CPPlot.
.. we have now removed the ridefilecache out of CP, the model calculation
and refactored to support multiple models.
.. via a custom menu option on the chart menu (More...)
.. which means we also now have a mechanism for each chart
to add their own menu options to the More... menu
.. will no doubt need to add this to the LTM chart
.. implementation of the Veloclinic model, or at least
the first of a few potential models.
.. It may not be correct at this point, but committing
a checkpoint.
.. Added the torque effectiveness and pedal smoothness
data series to the RideFile structures.
.. The only file formats that support it at this stage
are Fit and GoldenCheetah JSON.
.. As more file formats support it we will add it here.
.. The charts/editor now need to be updated to support
these new data series.
.. now has an overlay widget that can contain multiple widgets
and is user movable and resizable etc
.. we show the model derived values for now, but could add other
things at a later date (e.g. MU distribution etc).
Fixes#811.
.. fixup ride mode, interval hover crash/bugs
.. fixup interval compare mode
.. fixup rangemode
NOTE: Compare date ranges is still broken that
will be fixed in part 3.
.. basic ride, bests and model plots all working
.. Compare mode is now BROKEN !
Will fixup the rest tomorrow, needed to checkpoint
the core refactoring work.
.. the CP plot curve is a terrible mess. Mostly from
having multiple significant updates from a number
of notable developers; Sean, Dan, Mark and Damien
have all made significant contributions.
.. But the code contains lots of 'smells' and is very
difficult to follow and update
.. this update makes no functional changes but is put
in place before overhauling the code related to
"calculating" and plotting the different curves.
.. hover curve clear on new ride
.. fix ride plot mode so when plotting ride it always
does. This was fixed by initialising ridePlotMode in
the CpintPlot constructor.