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

feat: add user_clicked_save to analytics_summary view #3972

Merged
merged 9 commits into from
Nov 20, 2024

Conversation

RODO94
Copy link
Contributor

@RODO94 RODO94 commented Nov 18, 2024

For the metabase ticket: https://trello.com/c/2j5CC6IG/3124-expose-userclickedsave-in-analyticssummary

Added extra data to the analytics_summary view to support the pilot work

Updated permissions to mirror has_clicked_help

I am only using the SaveAndResumeButton component to trigger this trackEvent()

Note

It will not populate analytics_logs if it is on the first node, due to lastVisibleNodeAnalyticsLogId being undefined so it will fail if (shouldSkipTracking()) return; in trackEvent(). In normal cases, I'd imagine we'd have some form of intro node or something similar and this is the current behaviour for all cases so I wasn't going to begin pulling on threads here.

Copy link

github-actions bot commented Nov 18, 2024

Removed vultr server and associated DNS entries

@RODO94 RODO94 marked this pull request as ready for review November 18, 2024 16:11
@RODO94 RODO94 requested a review from a team November 18, 2024 16:11
DafyddLlyr

This comment was marked as resolved.

Copy link

github-actions bot commented Nov 19, 2024

🤖 Hasura Change Summary compared a subset of table metadata including permissions:

Updated Tables (1)

  • public.analytics_logs permissions:

    insert select update delete
    public / /
    2 added column permissions
    insert select update
    public ➕ has_clicked_save ➕ has_clicked_save

@RODO94 RODO94 force-pushed the rory/metab-user-clicked branch from 7634e30 to 9e22abe Compare November 19, 2024 13:02
@RODO94 RODO94 requested a review from DafyddLlyr November 19, 2024 14:14
Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick turnaround - great to see!

A few small comments regarding naming and the metadata to take a look at 👍

@RODO94 RODO94 force-pushed the rory/metab-user-clicked branch from 43c1966 to a981794 Compare November 19, 2024 16:38
@RODO94 RODO94 force-pushed the rory/metab-user-clicked branch from af91e7a to c45dd19 Compare November 19, 2024 17:22
@RODO94 RODO94 requested a review from DafyddLlyr November 20, 2024 10:10
@RODO94 RODO94 requested a review from DafyddLlyr November 20, 2024 11:36
@RODO94 RODO94 merged commit 8b7f886 into main Nov 20, 2024
12 checks passed
@RODO94 RODO94 deleted the rory/metab-user-clicked branch November 20, 2024 11:56
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.

2 participants