PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.36k stars 1.35k forks source link

Toolbar Epic #870

Closed timgl closed 4 years ago

timgl commented 4 years ago

Tickets

Linked discussions

Other possibly related issues

Structure

High fidelity mock up

mariusandra commented 4 years ago

Some screencasts of what is done:

screencast 2020-06-01 17-00-38

The CSS is broken on this one. Showing browsing between pages though, if the site is built with modern tech:

screencast 2020-06-01 17-06-56

EDsCODE commented 4 years ago

Stats

Screen Shot 2020-06-01 at 1 17 50 PM Screen Shot 2020-06-01 at 1 17 55 PM
EDsCODE commented 4 years ago

Actions

Screen Shot 2020-06-01 at 1 59 10 PM

Can show metrics under the created actions too

EDsCODE commented 4 years ago

Dashboards

This one is quite barebones. As far as I understand this page it's just to show mini pinned dashboards so listing them like this should be sufficient

Screen Shot 2020-06-01 at 3 10 06 PM
mariusandra commented 4 years ago

Hi, so a bunch of changes just went up in the PR #896 . The rundown:

Done outside of the toolbar:

Done regarding the toolbar

TODO (and TODO new issues when needed):

screencast 2020-06-03 11-13-34

mariusandra commented 4 years ago

Adding some nice screenshots from PR #974

image

image

image

mariusandra commented 4 years ago

More epic updates!

Now that PR #974 is (almost) in master, there's a lot more we can play with! 🤩

Here's a short overview of the state of things.

  1. If you're logged in to PostHog (and have the new toolbar enabled), visit your site and you'll find this:

screencast 2020-06-16 14-14-18

  1. Click it and you'll be taken to a screen like this:

image

  1. After that you can play with the toolbar. You get two nice buttons: "inspect" and "heatmap". The first one (inspect) shows all clickable elements on the site. The second (heatmap) shows statistics on how many times were those elements clicked in the last 7 days.

screencast 2020-06-16 14-16-43

  1. Alternatively, click on "Toolbar" and you'll see the same stuff on the right side of the screen... plus even more details.

screencast 2020-06-16 14-19-53

While this toolbar shows some cool info, it's not yet as practical as it should be. More on this in the next reply.

To enable the toolbar in its current state, edit settings.py and set TOOLBAR_VERSION = 'toolbar'

mariusandra commented 4 years ago

(Edited 2020-06-23 to add headers and a few points. Head jaanipäeva!)

Here's an in-exhaustive list of things still to do. Some of them are more important than others, yet all should be done at one point or another.

Actions

UI Consistency

All of this is totally up for debate! I don't know what the end result will look like!

UX

Other Bigger Questions


I'll probably edit this list and add points as they come up.

The tasks with * are things that should be done before we can soft launch this. It's not a lot of work, yet it has taken a long time to get to a point where I can now focus on them :).

timgl commented 4 years ago

I think this is a great/comprehensive list. A few more I think are necessary

mariusandra commented 4 years ago

Hi, great points! Quick comments on some:

timgl commented 4 years ago

One other thing that definitely is crucial for launch is instrumentation. A used toolbar would suffice if the user interacted with anything at all, and then individual used heatmap, used inspect etc.

mariusandra commented 4 years ago

I made a project for the toolbar here: https://github.com/PostHog/posthog/projects/7 ... and added all the things I could find in this epic as draft issues. Thus I propose to retire this epic.

Any objections?