-
Notifications
You must be signed in to change notification settings - Fork 0
[CLEAN] Synthetic Benchmark PR #103469 - chore(preprod): abstract metric cards for build comparison #1
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
base: base_pr_103469_20251204_2377
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
User description
Benchmark PR getsentry#103469
Type: Clean (correct implementation)
Original PR Title: chore(preprod): abstract metric cards for build comparison
Original PR Description: - small style changes
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.
Original PR URL: getsentry#103469
PR Type
Enhancement
Description
Extract metric cards rendering into reusable component
Abstract build comparison metrics display logic
Remove inline styled components and consolidate styling
Simplify main content component by delegating card rendering
Diagram Walkthrough
File Walkthrough
BuildComparisonMetricCards.tsx
New metric cards component for build comparisonstatic/app/views/preprod/buildComparison/main/BuildComparisonMetricCards.tsx
metrics
metricCard.tsx
New reusable metric card componentstatic/app/views/preprod/components/metricCard.tsx
border
sizeCompareMainContent.tsx
Refactor to use extracted metric cards componentstatic/app/views/preprod/buildComparison/main/sizeCompareMainContent.tsx
IconDownload
DiffTextcomponent definitionBuildComparisonMetricCardscomponent import and usage