-
Notifications
You must be signed in to change notification settings - Fork 0
[CORRUPTED] Synthetic Benchmark PR #103469 - chore(preprod): abstract metric cards for build comparison #2
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: Corrupted (contains bugs)
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 into reusable component for build comparison
Remove styled components dependency from main content file
Optimize metrics calculation with useMemo hook
Create new MetricCard component with flexible action support
Diagram Walkthrough
File Walkthrough
BuildComparisonMetricCards.tsx
New metric cards component with calculation logicstatic/app/views/preprod/buildComparison/main/BuildComparisonMetricCards.tsx
indicators
sizeCompareMainContent.tsx
Refactor metrics rendering to external componentstatic/app/views/preprod/buildComparison/main/sizeCompareMainContent.tsx
BuildComparisonMetricCards
call
metricCard.tsx
New reusable metric card componentstatic/app/views/preprod/components/metricCard.tsx