Skip to content

ref(insights): migrate screen load charts to widget platform #92491

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

Merged

Conversation

DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented May 29, 2025

  1. migrate screen load timeseries charts to widget platform
  2. Update the timeseries to read off of meta, this means we can remove the OUTPUT_TYPE constant.
  3. The bar charts aren't supported in the widget platform, therefore can't be migrated yet
  4. The widget platform charts have a min height set, so the layout has been adjusted accordingly, I borrowed some pieces from the standard widget library for the bar charts to work better. We made the total count chart the same size as the others so it doesn't look too tall and over emphasized.
  5. A height prop has been adjusted in the app starts breakdown chart to accommodate some of these changes (otherwise it's not the same as the chart next to it)
image

DominikB2014 and others added 3 commits May 29, 2025 14:14
This switches from using non-split enhancements (and sometimes also calculating split enhancements) to just using the split enhancements. In the time since the experiment was enabled, across over 150 million events, the results of the split enhancements have matched* those of the non-split ones, and the split enhancements have been running on average about 45% faster than the non-split ones. (See #92180 for a graph comparing the average times.)

* To be more precise, they have matched except in cases where the split enhancements have given different/better hints, in ways we expect:
- Because the rules are split, hints about marking things in-app or out of app only include the `+/-app` part of the rule, and hints about ignoring/unignoring only include the `+/-group` part.
- In cases where both an in-app and contributes change have happened, both are now included in the hint. 

This can be seen in the snapshot changes included in this PR.
…get library (#92484)

1. convert app starts "average cold start" widget to use the standard
widget, this makes it easy to add open in explore functionality directly
from the chart, and has benefits like full screen mode
<img width="613" alt="image"
src="https://github.com/user-attachments/assets/6fc9a195-6596-4697-b99d-fd09b3b61d06"
/>

2. Add a `none` option to the `showReleaseAs` prop in the widget.
Release bubbles aren't supported in mobile because the data is
explicitly filtered by two releases, therefore it doesn't make sense to
overlay all releases.

3. Add `always` option to `showLegend`. Originally the legend would hide
when there is only one series, but there is a case where you select two
releases and we only have series data for one. We wouldn't want to hide
the legend in this case because you won't know which data the release
pertains to.
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels May 29, 2025
@DominikB2014 DominikB2014 marked this pull request as ready for review May 29, 2025 19:20
@DominikB2014 DominikB2014 requested review from a team as code owners May 29, 2025 19:20
Copy link
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

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

lgtm. I noticed that the release selectors bar extends the full height of the ribbon though

Screenshot 2025-05-30 at 2 01 31 PM

@DominikB2014
Copy link
Contributor Author

DominikB2014 commented May 30, 2025

lgtm. I noticed that the release selectors bar extends the full height of the ribbon though

Screenshot 2025-05-30 at 2 01 31 PM

@narsaynorath nice catch! i'll try to fix that before merging. I don't recall seeing that though, is there something specific you did to see that?

(after slack discussion this was noticed on PR too, so it shouldn't block this PR)

@DominikB2014 DominikB2014 merged commit 2c50646 into master May 30, 2025
43 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-568-migrate-screen-load-charts branch May 30, 2025 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants