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

Handle missing scroll depth #2 #5017

Merged
merged 23 commits into from
Jan 29, 2025
Merged

Handle missing scroll depth #2 #5017

merged 23 commits into from
Jan 29, 2025

Conversation

macobo
Copy link
Contributor

@macobo macobo commented Jan 27, 2025

Changes

Promised refactor of #4979

This PR:

  1. Adds a new scroll_depth_visible_at field to Team
  2. Extracts scroll_depth module for checking feature visibility/availability.
  3. Makes the code less dependant on clickhouse being available
  4. Add an extra check next to the feature flag - if site.engagement_metrics_enabled_at is set, show scroll_depth on the dashboard + include it in dashboard CSV and Full CSV exports

To be followed up with:

  1. Instead of checking clickhouse on page load, use a cache worker for this. This is a blocker for release of the feature.

@macobo macobo marked this pull request as ready for review January 27, 2025 07:26
Copy link
Contributor

@RobertJoonas RobertJoonas left a comment

Choose a reason for hiding this comment

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

Looks good to me - just one question inline.

@macobo macobo added this pull request to the merge queue Jan 29, 2025
Merged via the queue into master with commit 7c6ba04 Jan 29, 2025
8 checks passed
@macobo macobo deleted the missing-scroll-depth branch January 29, 2025 09:54
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