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(stories): Add RouteAnalyticsContextProvider to stories so we can see what is viewed #81108

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Nov 21, 2024

I realized recently that we could have analytics about which story files are most commonly referenced. It would help to know what's used often because it might indicate something that needs more attention, similarly something not referenced might be because it's either intuitive, or unused in new code.

This is a half step though. This RouteAnalyticsContextProvider used relies on the react-hook:route-activated hook provided to the HookStore, in dev that won't be implemented. So the data we collect will only be from people using sentry.io/stories which might not cover everyone.

@ryan953 ryan953 requested review from roggenkemper and a team November 21, 2024 05:13
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 21, 2024
@ryan953 ryan953 enabled auto-merge (squash) November 21, 2024 06:20
@ryan953 ryan953 merged commit abde780 into master Nov 21, 2024
44 of 45 checks passed
@ryan953 ryan953 deleted the ryan953/stories-routeAnalytics branch November 21, 2024 17:49
iamrajjoshi pushed a commit that referenced this pull request Nov 24, 2024
… see what is viewed (#81108)

I realized recently that we could have analytics about which story files
are most commonly referenced. It would help to know what's used often
because it might indicate something that needs more attention, similarly
something not referenced might be because it's either intuitive, or
unused in new code.

This is a half step though. This `RouteAnalyticsContextProvider` used
relies on the `react-hook:route-activated` hook provided to the
HookStore, in dev that won't be implemented. So the data we collect will
only be from people using sentry.io/stories which might not cover
everyone.
harshithadurai pushed a commit that referenced this pull request Nov 25, 2024
… see what is viewed (#81108)

I realized recently that we could have analytics about which story files
are most commonly referenced. It would help to know what's used often
because it might indicate something that needs more attention, similarly
something not referenced might be because it's either intuitive, or
unused in new code.

This is a half step though. This `RouteAnalyticsContextProvider` used
relies on the `react-hook:route-activated` hook provided to the
HookStore, in dev that won't be implemented. So the data we collect will
only be from people using sentry.io/stories which might not cover
everyone.
evanh pushed a commit that referenced this pull request Nov 25, 2024
… see what is viewed (#81108)

I realized recently that we could have analytics about which story files
are most commonly referenced. It would help to know what's used often
because it might indicate something that needs more attention, similarly
something not referenced might be because it's either intuitive, or
unused in new code.

This is a half step though. This `RouteAnalyticsContextProvider` used
relies on the `react-hook:route-activated` hook provided to the
HookStore, in dev that won't be implemented. So the data we collect will
only be from people using sentry.io/stories which might not cover
everyone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants