Commit Graph

10180 Commits

Author SHA1 Message Date
Mark Liversedge
2554e033f0 Wiki Python Chart
Image for the wiki

[skip ci]
2021-12-11 09:11:10 +00:00
Alejandro Martinez
ede006341f xdata honors interval boundaries when set
Like samples function, to make it easier to write xdata based custom metrics.
Fixes #4103
2021-12-10 11:37:51 -03:00
Mark Liversedge
d2a1134dbc Ergfile text cues parsing
.. a bit more flexibility in how we parse these elements since
   there is no standard and they're pretty simple anyway.
2021-12-10 12:55:10 +00:00
Mark Liversedge
315d35dab1 Tweak chartbar menu indicator
.. was too subtle, especially with stealth themes and
   placement too far away from text.
2021-12-09 20:37:18 +00:00
Mark Liversedge
f934ae2a5b Perspective tile mode fixup again
.. this time lets just set the contents margins before we
   show. This is kinda ok, and avoids having to follow every
   path from lazy load to selection- since we always get a
   show event at the end.
2021-12-09 17:18:30 +00:00
Mark Liversedge
a32d0a781b Train View Perspective Switch - 2 of 2
.. switch train view perspective when connection is established
   but before we start.

   if a media file is selected we choose a video perspective
   otherwise we look to see if the mode is erg or slope and
   select the perspective that meets that.

   by choosing to switch on connect we don't jump around too
   soon (especially if editing) but does mean that those
   folks that like to autoconnect to devices will have to
   select their view manually.

Fixes #4104
2021-12-09 14:51:12 +00:00
Mark Liversedge
522844508e Train View Perspective Switch - 1 of 2
.. add configuration of switching mode for train view perspectives

   the next commit will add the code that switches when a
   workout or media is selected.
2021-12-09 12:30:28 +00:00
Mark Liversedge
be8ae85dbd Rename Overview
.. clunky, but for such an edge case its not worth the effort
   to make the UX slicker. At least now we can rename.

Fixes #4032
2021-12-09 10:13:19 +00:00
Mark Liversedge
7fd2c98a20 Manage Perspectives Drag/Drop on MacOS
.. drag/drop in the dialog ddn't work.

Fixes #4102
2021-12-08 21:41:09 +00:00
Mark Liversedge
c7d7972213 Stealth themes
.. more monotone and subtler coloring which is also used to
   change the chart bar hover and tab decorations.
2021-12-08 17:12:40 +00:00
Mark Liversedge
5704668007 Fix MacOS sidebar scrollbar styling
.. scrollbars no longer autohide and overlay with Qt on Mac
   running MacOS 12 (Monterey), so we style them in the same
   way as Linux and  Windows.
2021-12-06 16:58:11 +00:00
Mark Liversedge
71d9db909e Fix crash on 2nd athlete import ride
.. Fix crash when you open a 2nd athlete and import or download
   an activity whilst still on the athlete view.

Fixes #4094
2021-12-06 11:49:58 +00:00
Mark Liversedge
4ae6dbea93 Tweak TopN text color
.. to match the same text color used in data table since it
   was a little dull in dark mode and hard to read.
2021-12-01 08:31:40 +00:00
riccioclista
8b0af9abf5 Workout Editor: Only scale on Ctrl+mouse wheel (#3113)
Co-authored-by: Antonius Riha <antoniusriha@gmail.com>
Co-authored-by: Alejandro Martinez <amtriathlon@gmail.com>
2021-11-30 14:09:40 -03:00
Mark Liversedge
48a3afc59e Fixup style sheet QString warning
.. recent update for MacOS generated a warning on Linux/Windows.
2021-11-30 14:40:10 +00:00
Mark Liversedge
257d877d03 Tweak styling for Zones/Measures config on MacOS
.. tab styling is very different there.
2021-11-30 13:23:56 +00:00
Mark Liversedge
e0ec5ba2d1 Tweak Metadata Styling on MacOS
.. removes spin boxes and border around fields
2021-11-30 13:10:19 +00:00
Mark Liversedge
006dbdf102 VERSION 3.6 DEVELOPMENT NOV 2021
.. sneaking out a beta release for last minute feedback and
   testing before finalising the release over December.

[publish binaries]
v3.6-DEV2111
2021-11-29 18:10:13 +00:00
Mark Liversedge
5c996e2317 MacOS sidebar color name
.. wasn't updated when we separated toolbar and sidebar colors
2021-11-28 19:11:50 +00:00
Mark Liversedge
ec67b66023 Perspective tab/tile fixups (aka train view)
.. improved performance when switching between tab/tiled mode
   which is especially important in train view (and also when
   resizing or entering/exiting full screen mode there).

.. removed the title at the top of a chart, when the same info
   is already in the name of a tab, saving some real estate.

.. Dial window stop setting fonts via pixel size (its horribly
   slow on Qt with hi-dpi displays

.. some other perspective fixups for performance and also added
   some debug for stack tracing (disabled in the commit).
2021-11-28 17:51:09 +00:00
Mark Liversedge
acd510d65f Set view isTiled() when switchin perspective
.. the view (e.g. trends view) should set its tab/tile status on
   the basis of the current perspective.

   this fixes an issue where toggle style got out of whack with
   what was on screen.
2021-11-28 17:51:09 +00:00
Mark Liversedge
d6274c0fff Cache pixelsize calculation in pixelSizeForFont
.. train view resize performance was terrible because each time
   a telemetry item was resized it would recalculate the right
   pixel size for the font.

   this was only a problem in hidpi displays, but these are
   becoming more and more popular.
2021-11-28 17:51:09 +00:00
Yukihiro Nagano
d6d969f819 Update Japanese Translation (#4086) 2021-11-28 09:12:08 -03:00
Alejandro Martinez
8dbaad3876 Fix copy paste error in DataFilter intervals
Fixes #4084
2021-11-27 20:35:02 -03:00
Alejandro Martinez
0762f0daaf Critical Power Chart - Fix no use of performance tests in Trends
I introduced this bug in 3a07cc5, sorry.
2021-11-27 20:16:16 -03:00
Mark Liversedge
f9b2b60b37 Standard Colors selection sorted
.. when choosing a standard color the dialog now sorts the
   list of standard colors to make it easier to find.
2021-11-25 11:39:57 +00:00
Mark Liversedge
b27d3d42c8 Color options sort
.. colors are organised by group in preferences and can
   be sorted by the user to help find what they are
   looking for.
2021-11-25 10:47:45 +00:00
Mark Liversedge
c74a1e76a3 Grouping Colors
.. standard colors now belong to groups:
   * Chart - chart decorations e.g. grid lines
   * Data - data series e.g. Power
   * Gui - Gui elements e.g. toolbar background

.. when selecting colors in user and trends charts we
   now filter out any colors that are not data related
   to make it easier for users to find a standard color.
2021-11-24 13:45:00 +00:00
Mark Liversedge
a8de13b7cf Add chartbar background color config
.. so users can configure the color of the chartbar, but more
   likely to just setup via themes.
2021-11-24 12:34:01 +00:00
Mark Liversedge
680f7b9665 User chart scaling option name change
.. "Scaling" becomes "Font scaling" to make it clearer
   to users what the setting does.
2021-11-24 08:51:15 +00:00
Alejandro Martinez
79fd18ef55 Train - Use Simulated Speed enabled by default for new users
Intended to minimize support questions from new users.
Fixes #4075
2021-11-23 17:17:20 -03:00
Mark Liversedge
77c9b8d645 Datafilter - append() update sum
.. vectors sum is pre-calculated as functions are
   evaluated. but was missing for the append() function.
2021-11-22 22:36:48 +00:00
Alejandro Martinez
8d3f580c0f Aerolab - scale x-axis distance when imperials units are used
Also zoom to interval limits
Fixes #4074
2021-11-21 11:04:49 -03:00
Mark Liversedge
20201c16a8 View sidebar controls
.. when enter/leave full screen mode the view sidebar is
   hidden and shown to increase screen real estate (and
   especially useful in train view).

.. since the user may want to show/hide for other reasons
   the view menu now also has an option to show/hide the
   view sidebar selector too.
2021-11-18 09:16:34 +00:00
Stefan
b12e1fa9b6 Fix font issue under Windows 10. 2021-11-17 12:54:18 +00:00
Mark Liversedge
2f703594e9 Hovering Color
.. add GColor(CHOVER) and used in sidebar, chartbar and
   toolbar when hovering over a button or tab.
2021-11-15 16:47:33 +00:00
Alejandro Martinez
32bd7955a8 Extend the range of default crank length
To include custom lengths from 130 to 220, default 175.
2021-11-13 20:37:20 -03:00
Alejandro Martinez
6e7931508f DataFilter - Use Duration for fatigue zone percentanges
W'bal series doesn't have gaps, so Time Recording can inflate
percentanges when there are pauses.
2021-11-11 19:21:13 -03:00
Alejandro Martinez
552c44d847 Fixed pre target 2021-11-10 21:31:09 -03:00
Alejandro Martinez
0cfa1e7d49 PythonEmbed - Duplicate timeout waiting for Python version output
Some users have reported intermitent errors, likely depending on machine load.
2021-11-10 09:18:28 -03:00
Alejandro Martinez
7ca84ecd3e Withings Authorization - Use https for callback URL
Fixes #4065
2021-11-09 16:39:38 -03:00
Mark Liversedge
5a2e1cc3a8 Update README.md
Add link to NOTIO forl
2021-11-08 17:05:21 +00:00
Mark Liversedge
595b38360e User Chart Label Font Scaling
.. the label annotations needed the scaled font applied.
2021-11-04 18:03:22 +00:00
Alejandro Martinez
89dc137a52 Rename Withings key defines in gcconfig.pri.in
[skip ci]
To to match those currently used in the code.
Fixes #4060
2021-11-04 10:44:54 -03:00
Mark Liversedge
655fb69b42 Overwiew Layout fixup
.. the renumbering of columns removed empty columns. This was not
   desirable since in some instances where spanning tiles are used
   the user may have deliberately done this.

.. thanks to Alan Benstead at the forums for an example chart to
   test this fix against.
2021-11-04 09:21:41 +00:00
Alejandro Martinez
320cddb1e1 SportTracks download - ensure termination while processing samples
Fixes #4044
2021-11-03 10:40:29 -03:00
Yukihiro Nagano
7a08f9e92c Update Japanese translation (#4059) 2021-11-03 09:15:13 -03:00
Alejandro Martinez
f04a20db21 Add metric description as what's this help to MetricSelect
Handy when a user is inspecting a pre-built Overview chart
2021-10-31 19:53:06 -03:00
Alejandro Martinez
0c4e5f3080 CloudService Sync - Honor metric/imperial setting
Fixes #4056
2021-10-31 14:48:55 -03:00
Mark Liversedge
5225ef0f02 Re-apply Another ChartSpace Layout fix (resolved)
.. when a spanning tile moves the layout needs to restart to
   take into account its new position (since it will displace
   other tiles).

.. to enable us to restart the layout we needed to refactor
   the updateGeometry() method to separate out the creation
   of animations from layout changes (because an item may be
   moved several times as spanners take precedence).

.. tile column numbers also need to be renumbered from 0 when
   arranging since it is possible to get out of sync as items
   are dragged around.

.. this refactor should also make it slightly easier to fix
   any other layout tweaks (now the previous issues have been
   resolved).
2021-10-31 15:26:15 +00:00