Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put totals at the bottom, independent Y-axis, redesign horizontal charts #324

Merged
merged 15 commits into from Jul 3, 2020

Conversation

arp242
Copy link
Owner

@arp242 arp242 commented Jun 30, 2020

GoatCounter has always had a "path-first" interface, rather than a
"totals first" interface. I always much preferred it like that myself.
The "Totals" at the top always seemed kind of misplaced to me, but I
wasn't sure where/how to do it better.

Placing it at the bottom under a separate header actually seems like a
pretty good solution. My original thought was to display it as a
half-width together with the "browsers", "systems", etc. charts (and
bring back the "top refs"), but that didn't really look too good.

Some people may still prefer to have the Totals at the top, the
configurable dashboard discussed in #302 will enable that eventually
(should be fairly soon). You can also set the pagination for the paths
to e.g. 5 so it's still in view on page load.

The "Top referrals" is now also back as a separate chart at the bottom;
I found that actually worked better

Fixes #291

@arp242 arp242 added the wip label Jun 30, 2020
@arp242 arp242 added this to the Version 1.4 milestone Jun 30, 2020
@arp242 arp242 changed the title Put totals at the bottom Put totals at the bottom, independent Y-axis, redesign horizontal charts Jul 1, 2020
@arp242 arp242 force-pushed the bottom-totals branch 4 times, most recently from b35de26 to ddfb665 Compare July 3, 2020 04:07
@arp242 arp242 removed the wip label Jul 3, 2020
arp242 added 10 commits July 3, 2020 14:08
GoatCounter has always had a "path-first" interface, rather than a
"totals first" interface. I always much preferred it like that myself.
The "Totals" at the top always seemed kind of misplaced to me, but I
wasn't sure where/how to do it better.

Placing it at the bottom under a separate header actually seems like a
pretty good solution. My original thought was to display it as a
half-width together with the "browsers", "systems", etc. charts (and
bring back the "top refs"), but that didn't really look too good.

Some people may still prefer to have the Totals at the top, the
configurable dashboard discussed in #302 will enable that eventually
(should be fairly soon). You can also set the pagination for the paths
to e.g. 5 so it's still in view on page load.

The "Top referrals" is now also back as a separate chart at the bottom;
I found that actually worked better

TODO:

- Different scaling for "totals" and the paths.
No need to get a separate one, and move logic to get the count to a new
function in case we do.
Been going back and forth on this, but it probably looks better, and
adding the display numbers at the bottom of the navigation box is rather
meh.
I don't know what that -3 was supposed to account for, but it seems
wrong.
Just refactors the code a bit, no UI to actually configure it yet.
@arp242 arp242 merged commit e9c5988 into master Jul 3, 2020
@arp242 arp242 deleted the bottom-totals branch July 3, 2020 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with Y-axis scale
1 participant