Skip to content

Conversation

@mtopo27
Copy link
Contributor

@mtopo27 mtopo27 commented Nov 17, 2025

  • small style changes
  • abstract card into component to reuse in follow up pr
image

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@mtopo27 mtopo27 requested a review from a team as a code owner November 17, 2025 19:25
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 17, 2025
@mtopo27 mtopo27 changed the title abstract metric cards for build comparison chore(preprod): abstract metric cards for build comparison Nov 17, 2025
);
}

const IconButton = styled('button')`
Copy link
Member

Choose a reason for hiding this comment

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

I think you can just use https://sentry.sentry.io/stories/core/button#icon-only-buttons with priority transparent

return {variant: 'muted'};
}

const DiffText = styled(Text)`
Copy link
Member

Choose a reason for hiding this comment

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

Any reason Text doesn't work here? Seems like nothing in this is necessarily warranting a styled component.

Copy link
Member

Choose a reason for hiding this comment

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

Additionally if it's for the Flex related stuff, like gap/flex-wrap, would recommend just using <Flex>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just kept it like it was in the old component which used a style component, will change

@mtopo27 mtopo27 merged commit 5ce6afe into master Nov 17, 2025
47 checks passed
@mtopo27 mtopo27 deleted the mtopo27/abstract-comparison-metric-cards branch November 17, 2025 20:28
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.

3 participants