-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Insights table - New UI #4700
Insights table - New UI #4700
Conversation
I love these new table changes, so excited for when we roll this out! Quick heads up, there is a bug where when we toggle the compare previous option, only one date is shown in the columns. See Ninja editFound out why this is happening. It looks like the backend is returning differently formed data depending on whether the I've opened a ticket (#4718) with the analytics team. I think we should aim to fix this in the backend first, but the hacky stopgap solution here would be to check for Hope you don't mind my commit to fix this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this! Thank you for taking the reins here — hope some of the CSS I wrote a couple weeks ago was helpful :)
Thanks for the reviews! The baseline code you both set up on tooltips and the insight table was indeed super helpful to get this moving quickly. |
416a6e0
to
3270d43
Compare
@mariusandra FYI rebased from master post-merge of #4651. Will wait for your review before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the new look and feel, yet some things still to do before it sparks joy :)
-
We could add this table also below the "bar chart > time" view (and another for "bar chart > value").
-
This is definitely unexpected (possible reason marked out with an inline comment):
-
It's a bit weird if I have just one line with a breakdown, I don't see the "event", only the breakdown value:
vs multiple:
I guess it's fine if this is intentional... if not, might be worth a look. Since the table is infinitely scrollable, it's probably also fine to add more values for clarity/screenshottability.
Thanks for the review @mariusandra. FYI comments below. If you find anything else let me know and I’ll address in the follow-up PR.
|
On point #4 raised by Marius, I definitely see both sides of it. I don't think it makes a huge difference either way, and given that I think I'd opt to include the event names for consistency and erring on the side of clarity. One piece of feedback I did have – I feel like it was better to have the aggregate close to the event name. I feel like the first thing you want to see on the table is usually the total sum as the chart shows the values over time. edit: I realize maybe I've just been trained this way now from seeing it that way in PostHog, so if there was a compelling reason to move it, I'm all for forming a new habit. |
Thanks @kpthatsme, makes sense. Re location of aggregate column I actually had it as column 3 on my original mockups, but felt this wasn't very intuitive (following typical patterns), but happy to get push back on this. I'll keep it for now and we can iterate too. |
Ah cypress acting up again, can't seem to getting running at all. Tests were passing the final minor fixes, so merging based off of that. |
Changes
Closes #4492.
Checklist