Another way to navigate charts

533 views
Skip to first unread message

Panos

unread,
Jun 15, 2021, 8:31:37 AM6/15/21
to golden-cheetah-users

Hello

I have a big number of charts i have created both in the "activities" and the "trends" pages.
To navigate them i have to scroll left and right.

It would be more practical if the charts were also available under the "view" menu like
View>>Trends>>chart 1, chart2, chart 3....etc, like the View>>Add Chart menu is.

Thank you

Ale Martinez

unread,
Jun 15, 2021, 10:06:10 AM6/15/21
to golden-cheetah-users
I would like the chart bar to behave like the Google Chrome's Bookmark bar so, Instead of scrolling, all non-visible items overflow to a drop-down menu (>> icon)

Other interesting feature we could steal would be the folder like items with a drop-down menus of related charts, but this would require an additional UX to organize the structure.

Caveat: I have no idea how complex is to implement these features.

Ale Martinez

unread,
Jun 16, 2021, 7:55:00 PM6/16/21
to golden-cheetah-users
El martes, 15 de junio de 2021 a la(s) 11:06:10 UTC-3, Ale Martinez escribió:
I would like the chart bar to behave like the Google Chrome's Bookmark bar so, Instead of scrolling, all non-visible items overflow to a drop-down menu (>> icon)

I toyed with a simpler version of this idea: provide a dropdown menu to select without scrolling next to the right scroll button, it is visible only when scrolling is enabled and it looks like this using an already available icon:

ChartBarSelectionList.PNG 

It is just an idea for testing available at https://github.com/GoldenCheetah/GoldenCheetah/pull/3902

Panos

unread,
Jun 17, 2021, 8:40:09 AM6/17/21
to golden-cheetah-users
I think you approach is better.

I would only suggest to make the extra button always visible,  a bit bigger
and move it to the left side where there is only the left arrow button,
while on the right there are the right arrow and the plus buttons.

Additionally i think that it would a tiny bit more practical if the arrow buttons and the plus buttons were double their current size.

Mark Liversedge

unread,
Jun 17, 2021, 9:10:51 AM6/17/21
to golden-cheetah-users
I would like to be able to organise charts into groups e.g. Running, Swimming, Cycling in Activity view, or maybe Modelling, Tracking in Trends view.
I will work up a change with a "view" selector at the top next to the search box, with the ability to create and delete them.

Mark

Ale Martinez

unread,
Jun 17, 2021, 12:33:24 PM6/17/21
to golden-cheetah-users
El jueves, 17 de junio de 2021 a la(s) 10:10:51 UTC-3, Mark Liversedge escribió:
I would like to be able to organise charts into groups e.g. Running, Swimming, Cycling in Activity view, or maybe Modelling, Tracking in Trends view.
I will work up a change with a "view" selector at the top next to the search box, with the ability to create and delete them.

Great! I think that's a better solution, specially for multisport athletes.  

Ale Martinez

unread,
Jun 17, 2021, 3:59:39 PM6/17/21
to golden-cheetah-users
BTW, this notion (could we call them perspectives?) can also be useful for Train view, so the user can have one for Erg workouts and others for simulations, with or without video. 

Mark Liversedge

unread,
Jun 17, 2021, 5:20:57 PM6/17/21
to golden-cheetah-users
There was a similar concept called perspectives in WKO3, so umm. Dunno.

Mark

Ale Martinez

unread,
Jun 17, 2021, 7:17:07 PM6/17/21
to golden-cheetah-users
Oops my WKO journey ended with v2, then I switched to GC and never came back... viewpoint/angle?

Karl Billeter

unread,
Jun 18, 2021, 2:54:14 AM6/18/21
to golden-cheetah-users
I've seen "facet" in library catalogues.

K
> --
> _______________________________________________
> Golden-Cheetah-Users mailing list
> golden-che...@googlegroups.com
> http://groups.google.com/group/golden-cheetah-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/3b0e684b-e5d8-435e-9e75-91dab4c5642an%40googlegroups.com.

Ale Martinez

unread,
Jun 20, 2021, 3:56:45 PM6/20/21
to golden-cheetah-users
El jueves, 17 de junio de 2021 a la(s) 10:10:51 UTC-3, Mark Liversedge escribió:
I would like to be able to organise charts into groups e.g. Running, Swimming, Cycling in Activity view, or maybe Modelling, Tracking in Trends view.
I will work up a change with a "view" selector at the top next to the search box, with the ability to create and delete them.

The more I think about this idea, the more I like it.

Besides to avoid scrolling in Tabbed mode, it could give a new life to Tiled mode in Activities and Trends view, for example:
- perspectives with a few charts (2-4) carefully arranged to provide structured dashboards
- perspectives with just 1 chart to avoid the chart bar gaining vertical space

Making Tabbed/Tiled a property of Perspectives instead of Views would add flexibility 

Mark Liversedge

unread,
Jun 20, 2021, 5:38:33 PM6/20/21
to golden-cheetah-users
OK. I am working on it, it will behave as you describe mostly because I'm just going to map a perspective to a 'HomeWindow' class.
I am hoping to commit this week.

Cheers
Mark

Mark Liversedge

unread,
Jun 22, 2021, 11:53:51 AM6/22/21
to golden-cheetah-users
Have committed the main parts, so you can now create perspectives. As I tested it I found it does open up a few possibilities.

Crucially I think it allows for configuration that more closely mimics your own behaviours/ workflow. For example I created a perspective for critical power modelling that has lots of CP like charts, and one for web with Garmin, Strava etc. They are hidden away from the main perspective that focuses on the overview etc.

Will publish some binaries with the next commit that will allow you to delete/reorganise perspectives and their charts. Will be in the next couple of days.

Mark

Ale Martinez

unread,
Jun 23, 2021, 7:41:30 PM6/23/21
to golden-cheetah-users
El martes, 22 de junio de 2021 a la(s) 12:53:51 UTC-3, Mark Liversedge escribió:
Have committed the main parts, so you can now create perspectives. As I tested it I found it does open up a few possibilities.

Crucially I think it allows for configuration that more closely mimics your own behaviours/ workflow. For example I created a perspective for critical power modelling that has lots of CP like charts, and one for web with Garmin, Strava etc. They are hidden away from the main perspective that focuses on the overview etc.

Awesome feature Mark!

It is also very nice to be able to mix and match Tabbed/Tiled mode for different perspectives, I tried the 2 examples I commented before and they work very well:

1) Structured perspective with a few chart, in this case to view/edit intervals in map and ride chart simultaneously with metadata info:

StructuredPerspective.PNG

2) A single chart perspective without chart bar for specific tasks s.t. AeroLab analysis:

SingleChartPerspective.PNG

Message has been deleted

Mark Liversedge

unread,
Jul 4, 2021, 11:25:09 AM7/4/21
to golden-cheetah-users
I've worked up the config to rename, add, delete and re-order perspectives, you can also move charts between perspectives, which is particularly useful when you first start with them (likely want to move existing charts into separate sets).

perspectives.png

It begs the question, what should the default view look like, does anyone have any strong opinions about this?

Cheers,
Mark
Message has been deleted

pepe

unread,
Jul 5, 2021, 12:38:01 PM7/5/21
to golden-cheetah-users
Thanks for this awesome features. They work great and really organize and simplify working with charts.

Is  associate a Filter to a Perspective in the roadmap for future developments?

Mark Liversedge

unread,
Jul 5, 2021, 3:06:16 PM7/5/21
to golden-cheetah-users
I was thinking that it would be good to have an optional expression associated with a perspective.
So when a date range/ activity / workout is selected the expression is evaluated, if it evaluates to true we switch to that perspective automatically.

So e.g. in analysis view if the expression was "isRun" then the perspective would be selected when a run was being analysed...

Mark

Mark Liversedge

unread,
Jul 6, 2021, 2:41:55 AM7/6/21
to golden-cheetah-users
Actually, thinking this through I think the behaviour on Trends vs Analysis is different:

- on Trends a filter defined in the perspective should be applied to every chart. In this way, you could create a "Running" perspective and all the charts would only show data from runs.

- on Analysis a filter defined in the perspective would mean this perspective is selected if the activity just selected was relevant, you could create a "Running" perspective and the filter would be "isRun" meaning only switch to this view if it was a run. The default action would be to select the first perspective that returned true, if none did, then the first perspective that did not contain a filter (probably most typically the very first one).

I don't think it would apply to train view at this point, but might apply to a planning view later.

Mark

pepe

unread,
Jul 8, 2021, 7:39:43 AM7/8/21
to golden-cheetah-users
Hi Mark,

I updated GC to ci.3911 and I'm having the following issue:

When i open Manage Perspectives dialog box and then click the Edit button,
the Edit Prescriptive dialog box is open in the background but NOT accessible and CG become locked. Have to use OS tools to close that window to continue using GC .

Windows 8.1 Pro Portuguese

Thanks a lot.

Pepe
Capturar.JPG

Mark Liversedge

unread,
Jul 8, 2021, 8:01:06 AM7/8/21
to golden-cheetah-users
Alt-tab doesn't switch to it ?

pepe

unread,
Jul 8, 2021, 8:04:48 AM7/8/21
to golden-cheetah-users
No, it becomes stuck, only option is close the window with OS.

pepe

unread,
Jul 8, 2021, 11:29:12 AM7/8/21
to golden-cheetah-users
Hi Mark, the same issue reported earlier with ci.3912

Ale Martinez

unread,
Jul 8, 2021, 12:55:45 PM7/8/21
to golden-cheetah-users
It also happens in Windows 10,  AddPerspectiveDialog gets hidden behind PerspectiveDialog on Edit, can it be a parenting issue?

Mark Liversedge

unread,
Jul 8, 2021, 2:49:42 PM7/8/21
to golden-cheetah-users
I have added a raise() in there to tell  the window manager to bring it to the top.

Mark

Andreas Hunner

unread,
Jul 10, 2021, 11:15:52 AM7/10/21
to golden-cheetah-users
Hi Mark,

great stuff with the new UI. Is there a trick to map a Run activity with a Perspective with "isRun" in Switch expression. Sometimes it is working and after a couple of clicks on other activities using the General Perspective the Run or Bike activities also use the General and don´t switch on the Run or Bike  Perspective I created.

Thanks and regards

Andy

Mark Liversedge

unread,
Jul 10, 2021, 11:28:24 AM7/10/21
to golden-cheetah-users
Hi Andy,

If the currently selected perspective has an expression and its true then we don't switch.
If on the other hand it has an expression that is false or no expression at all then we will go looking for one to switch to.

Certainly a perspective on Analysis view with "isRun" should work, given the conditions above.

On trends view I've not been able to find a scheme that works well, so we don't autoswitch there (it is coded up, but was annoying, at least to me anyway).

Mark
Reply all
Reply to author
Forward
0 new messages