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

ref(ui): Replace releaseDetailsRequest with SessionsRequest #29252

Merged
merged 11 commits into from
Oct 13, 2021

Conversation

matejminar
Copy link
Member

@matejminar matejminar commented Oct 12, 2021

Replacing as many of these proprietary sessions API requests with generic reusable SessionsRequest as possible.

@matejminar matejminar requested a review from a team October 12, 2021 09:17
@matejminar matejminar requested a review from a team as a code owner October 12, 2021 09:17
@matejminar matejminar requested review from a team and removed request for a team October 12, 2021 09:17
Comment on lines +309 to +325
<SessionsRequest {...sessionsRequestProps}>
{({
loading: allReleasesLoading,
reloading: allReleasesReloading,
errored: allReleasesErrored,
response: allReleases,
}) => (
<SessionsRequest {...sessionsRequestProps} query={`release:"${version}"`}>
{({
loading: thisReleaseLoading,
reloading: thisReleaseReloading,
errored: thisReleaseErrored,
response: thisRelease,
}) => {
const loading = allReleasesLoading || thisReleaseLoading;
const reloading = allReleasesReloading || thisReleaseReloading;
const errored = allReleasesErrored || thisReleaseErrored;
Copy link
Member Author

Choose a reason for hiding this comment

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

Basically changed just this part

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2021

size-limit report

Path Base Size (e0ab3fa) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.89 KB 52.9 KB +0.01% 🔺
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.9 KB 70.9 KB 0%

Base automatically changed from ref/remove-legacy-release-detail to master October 13, 2021 09:32
@matejminar matejminar requested a review from a team October 13, 2021 09:32
@matejminar matejminar requested a review from a team as a code owner October 13, 2021 09:32
@matejminar matejminar removed request for a team October 13, 2021 09:41
@matejminar matejminar merged commit 716dd7a into master Oct 13, 2021
@matejminar matejminar deleted the ref/release-details-sessions-request branch October 13, 2021 10:04
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 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