From cec373785c8c074cfc6a5e5cb79cb9775aac35cc Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Tue, 11 Nov 2025 15:14:26 -0800 Subject: [PATCH 1/2] chore(preprod): Add clickable link to _admin launchpad page for info fetch --- static/gsAdmin/views/launchpadAdminPage.tsx | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/static/gsAdmin/views/launchpadAdminPage.tsx b/static/gsAdmin/views/launchpadAdminPage.tsx index f4ffaca63fd355..d29b9c7e5449b0 100644 --- a/static/gsAdmin/views/launchpadAdminPage.tsx +++ b/static/gsAdmin/views/launchpadAdminPage.tsx @@ -380,6 +380,29 @@ function LaunchpadAdminPage() { {fetchedArtifactInfo && ( + {fetchedArtifactInfo.artifact_info?.project?.organization_slug && + fetchedArtifactInfo.artifact_info?.project?.slug && + fetchedArtifactInfo.artifact_info?.id && ( + + + + Artifact URL: + + + {`https://${fetchedArtifactInfo.artifact_info.project.organization_slug}.sentry.io/preprod/${fetchedArtifactInfo.artifact_info.project.slug}/${fetchedArtifactInfo.artifact_info.id}/`} + + + + )} Fetched Artifact Information
{JSON.stringify(fetchedArtifactInfo, null, 2)}
@@ -400,6 +423,14 @@ const StyledInput = styled(Input)` max-width: 300px; `; +const StyledLink = styled('a')` + color: ${p => p.theme.blue300}; + text-decoration: none; + &:hover { + text-decoration: underline; + } +`; + const InfoDisplay = styled('div')` background: ${p => p.theme.background}; border: 1px solid ${p => p.theme.border}; From 94428cacdb0025535b65068de4de3e8d9a0e63a3 Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Wed, 12 Nov 2025 17:32:45 -0800 Subject: [PATCH 2/2] feedback --- static/gsAdmin/views/launchpadAdminPage.tsx | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/static/gsAdmin/views/launchpadAdminPage.tsx b/static/gsAdmin/views/launchpadAdminPage.tsx index d29b9c7e5449b0..49963ed88a8098 100644 --- a/static/gsAdmin/views/launchpadAdminPage.tsx +++ b/static/gsAdmin/views/launchpadAdminPage.tsx @@ -7,6 +7,7 @@ import {Button} from 'sentry/components/core/button'; import {CompactSelect} from 'sentry/components/core/compactSelect'; import {Input} from 'sentry/components/core/input'; import {Container, Flex, Grid} from 'sentry/components/core/layout'; +import {Link} from 'sentry/components/core/link'; import {Heading, Text} from 'sentry/components/core/text'; import ConfigStore from 'sentry/stores/configStore'; import type {Region} from 'sentry/types/system'; @@ -393,13 +394,11 @@ function LaunchpadAdminPage() { Artifact URL: - {`https://${fetchedArtifactInfo.artifact_info.project.organization_slug}.sentry.io/preprod/${fetchedArtifactInfo.artifact_info.project.slug}/${fetchedArtifactInfo.artifact_info.id}/`} - +
)} @@ -423,14 +422,6 @@ const StyledInput = styled(Input)` max-width: 300px; `; -const StyledLink = styled('a')` - color: ${p => p.theme.blue300}; - text-decoration: none; - &:hover { - text-decoration: underline; - } -`; - const InfoDisplay = styled('div')` background: ${p => p.theme.background}; border: 1px solid ${p => p.theme.border};