Skip to content

Update index.tsx

43bf754
Select commit
Loading
Failed to load commit list.
Draft

refactor(components): Unify all primary buttons into a single component #19788

Update index.tsx
43bf754
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 16, 2025 in 0s

25.60% (-0.09%) compared to c627083

View this Pull Request on Codecov

25.60% (-0.09%) compared to c627083

Details

Codecov Report

❌ Patch coverage is 88.67925% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 25.60%. Comparing base (c627083) to head (43bf754).
⚠️ Report is 11 commits behind head on edge.

Files with missing lines Patch % Lines
components/src/atoms/buttons/Button.tsx 91.66% 3 Missing ⚠️
components/src/atoms/buttons/AltPrimaryButton.tsx 50.00% 2 Missing ⚠️
...s/src/organisms/ProtocolTimelineScrubber/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             edge   #19788      +/-   ##
==========================================
- Coverage   25.68%   25.60%   -0.09%     
==========================================
  Files        3515     3519       +4     
  Lines      294575   294974     +399     
  Branches    32819    32968     +149     
==========================================
- Hits        75662    75519     -143     
- Misses     218891   219433     +542     
  Partials       22       22              
Files with missing lines Coverage Δ
...omponents/src/atoms/buttons/AlertPrimaryButton.tsx 100.00% <100.00%> (ø)
components/src/atoms/buttons/PrimaryButton.tsx 100.00% <100.00%> (ø)
components/src/atoms/buttons/index.ts 100.00% <100.00%> (ø)
components/src/organisms/Toolbox/index.tsx 97.11% <ø> (-0.03%) ⬇️
...s/src/organisms/ProtocolTimelineScrubber/index.tsx 6.07% <0.00%> (ø)
components/src/atoms/buttons/AltPrimaryButton.tsx 50.00% <50.00%> (-2.64%) ⬇️
components/src/atoms/buttons/Button.tsx 91.66% <91.66%> (ø)

... and 26 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.