Closed timgl closed 4 years ago
Some screencasts of what is done:
The CSS is broken on this one. Showing browsing between pages though, if the site is built with modern tech:
Stats
Actions
Can show metrics under the created actions too
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
Hi, so a bunch of changes just went up in the PR #896 . The rundown:
Done outside of the toolbar:
frontend/src/toolbar
with code for the new toolbar, the old one remains in frontend/src/editor
. main
(app), editor
(old toolbar), toolbar
(new toolbar) so that different output could have different pluginssettings.py
POSTHOG_TOOLBAR="editor"
, which when set to "toolbar"
turns on the new toolbarposthog-js
to forward some values to the new toolbar and also the old one, e.g. jsURL
to help with HMR. I published the beta package under @mariusandra/posthog-js on NPM. Commit in the posthog-toolbar branch and I can publish updatesDone regarding the toolbar
TODO (and TODO new issues when needed):
Adding some nice screenshots from PR #974
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.
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'
(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 :).
I think this is a great/comprehensive list. A few more I think are necessary
<hr>
. Less urgent.Hi, great points! Quick comments on some:
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.
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?
Tickets
Linked discussions
741 "Dev toolbar ideas"
Other possibly related issues
911 "After Inspecting element on page to define action. Save does not redirect back to posthog"
Structure
High fidelity mock up