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-1152] Replace legacy BaseScreenComponent #6636

Merged
merged 7 commits into from
Jan 28, 2025

Conversation

LeleDallas
Copy link
Contributor

@LeleDallas LeleDallas commented Jan 24, 2025

Short description

This pull request primarily focuses on improving the user interface and navigation for the payments feature by replacing existing components with the IOScrollViewWithLargeHeader component and making adjustments to screen options.
These changes also address a dark mode issue related to the B&P stream

List of changes proposed in this pull request

  • Replaced BaseScreenComponent and ScrollView with IOScrollViewWithLargeHeader
  • Added InputAccessoryView for showing CTA on iOS (thanks @dmnplb)

How to test

Ensure that the app works as before with no regression
Tip: Test it on a real device 📱 to ensure proper functionality across all scenarios

Preview

Android iOS
Screen.Recording.2025-01-24.at.15.36.16.mov
ScreenRecording_01-24-2025.15-31-51_1.MP4
Screenshot 2025-01-24 at 15 38 56

replace BaseScreenComponent with IOScrollViewWithLargeHeader
replace BaseScreenComponent with IOScrollViewWithLargeHeader
this will be visible only on iOS, for Android is integrated with IOScrollViewWithLargeHeader
@LeleDallas LeleDallas added the IO-Bonus e pagamenti IO - Bonus e pagamenti label Jan 24, 2025
@LeleDallas LeleDallas self-assigned this Jan 24, 2025
Copy link
Contributor

github-actions bot commented Jan 24, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 49.53%. Comparing base (47e46f3) to head (7c14ad2).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...t/screens/WalletPaymentInputNoticeNumberScreen.tsx 0.00% 11 Missing ⚠️
...out/screens/WalletPaymentInputFiscalCodeScreen.tsx 0.00% 6 Missing ⚠️
...ts/barcode/screens/PaymentsBarcodeChoiceScreen.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6636      +/-   ##
==========================================
- Coverage   49.54%   49.53%   -0.02%     
==========================================
  Files        1547     1547              
  Lines       32179    32187       +8     
  Branches     7286     7248      -38     
==========================================
  Hits        15944    15944              
- Misses      16197    16205       +8     
  Partials       38       38              
Files with missing lines Coverage Δ
...features/payments/barcode/navigation/navigator.tsx 66.66% <ø> (ø)
...eatures/payments/checkout/navigation/navigator.tsx 66.66% <ø> (ø)
...ts/barcode/screens/PaymentsBarcodeChoiceScreen.tsx 8.69% <0.00%> (ø)
...out/screens/WalletPaymentInputFiscalCodeScreen.tsx 3.57% <0.00%> (-0.60%) ⬇️
...t/screens/WalletPaymentInputNoticeNumberScreen.tsx 6.89% <0.00%> (-1.11%) ⬇️

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 47e46f3...7c14ad2. Read the comment docs.

Copy link
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link
Contributor

@Hantex9 Hantex9 left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

2 participants