Skip to content
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

refactor: [IOBP-1094] Standardize legacy switch/radio for IDPay screen #6584

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

LeleDallas
Copy link
Contributor

Short description

This pull request align legacy IDPay switch/radio components with design standards

Warning

This PR depends on #6583

List of changes proposed in this pull request

  • Replace ListItemComponent with ListItemSwitch for switch rendering
  • Replace ListItemComponent with RadioGroup for radio rendering

How to test

Ensure that all legacy IDPay switch/radio are aligned with the established design requirements

replace TopScreenComponent with useHeaderSecondLevel
replace BaseScreenComponent with useHeaderSecondLevel
@LeleDallas LeleDallas added the IO-Bonus e pagamenti IO - Bonus e pagamenti label Jan 3, 2025
@LeleDallas LeleDallas self-assigned this Jan 3, 2025
Copy link
Contributor

github-actions bot commented Jan 3, 2025

Jira Pull Request Link

This Pull Request refers to the following Jira issue IOBP-1094

Copy link

codecov bot commented Jan 3, 2025

Codecov Report

Attention: Patch coverage is 2.50000% with 39 lines in your changes missing coverage. Please review.

Project coverage is 49.28%. Comparing base (b207270) to head (f01f6e0).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...pay/configuration/screens/IbanEnrollmentScreen.tsx 0.00% 6 Missing ⚠️
...boarding/screens/MultiValuePrerequisitesScreen.tsx 0.00% 6 Missing ⚠️
.../profile/playgrounds/IdPayOnboardingPlayground.tsx 0.00% 6 Missing ⚠️
...uration/screens/IdPayDiscountInstrumentsScreen.tsx 0.00% 5 Missing ⚠️
...figuration/screens/InstrumentsEnrollmentScreen.tsx 0.00% 5 Missing ⚠️
...atures/idpay/code/screens/IdPayCodeRenewScreen.tsx 0.00% 2 Missing ⚠️
...creens/profile/playgrounds/IdPayCodePlayground.tsx 0.00% 2 Missing ⚠️
...uration/screens/IbanConfigurationLandingScreen.tsx 0.00% 1 Missing ⚠️
...pay/configuration/screens/IbanOnboardingScreen.tsx 0.00% 1 Missing ⚠️
...ion/screens/InitiativeConfigurationIntroScreen.tsx 0.00% 1 Missing ⚠️
... and 4 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6584      +/-   ##
==========================================
- Coverage   49.30%   49.28%   -0.02%     
==========================================
  Files        1565     1565              
  Lines       32223    32223              
  Branches     7288     7330      +42     
==========================================
- Hits        15887    15881       -6     
- Misses      16298    16304       +6     
  Partials       38       38              
Files with missing lines Coverage Δ
...ures/idpay/code/screens/IdPayCodeDisplayScreen.tsx 96.15% <100.00%> (+0.15%) ⬆️
...nboarding/screens/BoolValuePrerequisitesScreen.tsx 5.88% <ø> (ø)
...uration/screens/IbanConfigurationLandingScreen.tsx 20.00% <0.00%> (-2.23%) ⬇️
...pay/configuration/screens/IbanOnboardingScreen.tsx 6.66% <0.00%> (ø)
...ion/screens/InitiativeConfigurationIntroScreen.tsx 15.00% <0.00%> (+0.71%) ⬆️
...ures/idpay/onboarding/screens/CompletionScreen.tsx 20.00% <0.00%> (-2.23%) ⬇️
...ayment/screens/IDPayPaymentAuthorizationScreen.tsx 12.50% <0.00%> (-0.41%) ⬇️
...ay/payment/screens/IDPayPaymentCodeInputScreen.tsx 11.76% <0.00%> (-0.74%) ⬇️
...ption/screens/UnsubscriptionConfirmationScreen.tsx 6.25% <0.00%> (ø)
...atures/idpay/code/screens/IdPayCodeRenewScreen.tsx 13.33% <0.00%> (-0.96%) ⬇️
... and 6 more

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c8f237...f01f6e0. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO-Bonus e pagamenti IO - Bonus e pagamenti
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant