woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 135 forks source link

[Fix] Open web views in 3/4 in the PaymentsHubFragment #12875

Closed kidinov closed 2 weeks ago

kidinov commented 2 weeks ago

Closes: #12625

Description

The PR makes all the web views to be open in 3/4 of the screen on, to make it consistent

Steps to reproduce

More -> Payments -> Learn more

Testing information

The tests that have been performed

Only STR

Images/gif

https://github.com/user-attachments/assets/d5b1d05a-5552-4a96-a80f-0165aac92957

Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

625
dangermattic commented 2 weeks ago
1 Warning
:warning: This PR is assigned to the milestone 21.1. This milestone is due in less than 2 days.
Please make sure to get it merged by then or assign it to a milestone with a later deadline.

Generated by :no_entry_sign: Danger

wpmobilebot commented 2 weeks ago
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commit7bfaf90ba177fd92f7794b5714a1bb2cf9d7d2ed
Direct Downloadwoocommerce-wear-prototype-build-pr12875-7bfaf90.apk
wpmobilebot commented 2 weeks ago

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commit7bfaf90ba177fd92f7794b5714a1bb2cf9d7d2ed
Direct Downloadwoocommerce-prototype-build-pr12875-7bfaf90.apk
codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.25%. Comparing base (55a383d) to head (7bfaf90). Report is 4 commits behind head on trunk.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #12875 +/- ## ========================================= Coverage 40.25% 40.25% Complexity 5786 5786 ========================================= Files 1249 1249 Lines 71174 71174 Branches 9934 9934 ========================================= Hits 28651 28651 Misses 39889 39889 Partials 2634 2634 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kidinov commented 2 weeks ago

@AnirudhBhat

This shouldn't be a problem. IMO, most of the Android users are familiar that they can swipe the view up (web view) if they want to read further. WDYT?

I think this is fine

Could you also go through the check list on the PR description?