chanzuckerberg / single-cell-data-portal

The data portal supporting the submission, exploration, and management of projects and datasets to cellxgene.
MIT License
60 stars 12 forks source link

Analytics (update): <Update to Explorer Analytics> #7155

Open niknak33 opened 3 months ago

niknak33 commented 3 months ago

Overview

Tool: <Explorer> Feature: <Filters, Panels, >

Description: Engagement is currently classed by any user who opens a dataset and selects color by cell type. Change the current exploring, interaction, engagement thresholds for Explorer. Most specifically Explorer engagements will now be measured at a higher level than previous. We believe this change will allow us to identify specific actions the users undertake, align with our new understanding of what engagement means for users vs old explorer analytics

Color by category events

EXPLORER_COLORBY_CATEGORY_EXPAND

EXPLORER_COLORBY_CATEGORY_HIGHLIGHT_HISTOGRAM

rename EXPLORER_CENTROID_LABEL_TOGGLE_BUTTON_CLICKED -> EXPLORER_SHOW_LABELS

EXPLORER_COLORBY_CATEGORY_CHANGE_EMBEDDING

Color by histogram events

EXPLORER_COLORBY_HISTOGRAM_EXPAND_CATEGORY

EXPLORER_COLORBY_HISTOGRAM_HIGHLIGHT_HISTOGRAM

EXPLORER_COLORBY_HISTOGRAM_CHANGE_EMBEDDING

Select using lasso

EXPLORER_LASSO

EXPLORER_LASSO_CHANGE_EMBEDDING

BONUS changes:
  1. EXPLORER_COLORBY_CATEGORIES_BUTTON_CLICKED and EXPLORER_COLORBY_HISTOGRAM_CONTINUOUS_BUTTON_CLICKED -> fire when color by is turned on AND off -> don't send events when OFF ✅
  2. EXPLORER_SELECT_HISTOGRAM -> fires when histogram is selected and deselected -> don't send events when DESELECTED ✅

================= PART 2 ✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️✌️

Add gene

rename EXPLORER_SUGGEST_MENU_ITEM_CLICKED event to EXPLORER_ADD_GENE

rename EXPLORER_COLORBY_GENE_BUTTON_CLICKED to EXPLORER_COLORBY_GENE

rename EXPLORER_MAXIMIZE_GENE_BUTTON_CLICKED to EXPLORER_GENE_VIEW_DISTRIBUTION

rename EXPLORER_ADD_GENE_AND_SELECT_HISTOGRAM to EXPLORER_GENE_HISTOGRAM_HIGHLIGHT

rename EXPLORER_DISPLAY_SCATTERPLOT to EXPLORER_GENE_DISPLAY_PLOT

rename EXPLORER_GENE_INFO_BUTTON_CLICKED to EXPLORER_VIEW_GENE_INFO

Add gene set

rename EXPLORER_SUBMIT_GENESET_BUTTON_CLICKED to EXPLORER_ADD_GENE_SET

rename EXPLORER_COLOR_BY_ENTIRE_GENESET_BUTTON_CLICKED to EXPLORER_COLORBY_GENE_SET

rename EXPLORER_GENESET_EXPAND_BUTTON_CLICKED to EXPLORER_GENE_SET_VIEW_DISTRIBUTION

EXPLORER_GENE_SET_HISTOGRAM_HIGHLIGHT

Other

EXPLORER_CLIP

Events to remove

EXPLORER_ADD_GENE_AND_COLORBYEXPLORER_ADD_GENE_AND_DISPLAY_SCATTERPLOT

Checklist

People to cc

PM: @niknak33 DS: @ainfeld

Privacy policy: https://cellxgene.cziscience.com/privacy

tihuan commented 1 month ago

Hey @ainfeld thanks for all the event descriptions! One clarifying question - is clipping a histogram the same action as highlighting a histogram? If not, I might need help knowing the difference 🙏 Thank you!

ainfeld commented 1 month ago

Hey @tihuan thanks for checking!! The EXPLORER_CLIP event has to do with the button highlighted in the photo below.

image
tihuan commented 1 month ago

OH!!! I never knew that functionality existed LOL Makes sense now thank you so much 😆!