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

fix(perf): Fix widgets using EventsRequest #29822

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Nov 5, 2021

Summary

The changes limiting which provided props were passed to events request also excluded some, such as period, project, environment, that should be updated and passed in.

The changes limiting which provided props were passed to events request also excluded some, such as period, project, environment, that should be updated and passed in.
@k-fish k-fish requested a review from a team as a code owner November 5, 2021 18:24
Comment on lines 159 to 168
{...pick(provided, [
'children',
'organization',
'yAxis',
'period',
'start',
'end',
'environment',
'project',
])}
Copy link
Member

Choose a reason for hiding this comment

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

Nit: having this list as a constant somewhere might be useful

Copy link
Member Author

Choose a reason for hiding this comment

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

True

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2021

size-limit report

Path Base Size (46bca38) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.76 KB 52.76 KB -0.01% 🔽
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.89 KB 70.89 KB 0%

@k-fish k-fish enabled auto-merge (squash) November 5, 2021 18:36
@k-fish k-fish merged commit 9a5c1a2 into master Nov 5, 2021
@k-fish k-fish deleted the fix/perf-landing-provided-props-events-request branch November 5, 2021 18:52
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants