8000 MBL-1956: Terms of use hyperlink in checkout screen by leighdouglas · Pull Request #2193 · kickstarter/android-oss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MBL-1956: Terms of use hyperlink in checkout screen #2193

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

Merged
merged 6 commits into from
Jan 9, 2025

Conversation

leighdouglas
Copy link
Contributor
@leighdouglas leighdouglas commented Jan 8, 2025

📲 What

New PLOT checkout UI has a "terms of use hyperlink", we want to open the web page when a user taps this link. Also discovered a bug on checkout screen where the disclaimer and accountability hyperlinks were not hooked up.

🤔 Why

For the new PLOT UI, but we also need all of the hyperlinks to work.

🛠 How

This PR also fixes an issue discovered where the other hyperlinks on the crowdfund checkout are not working. Using the same logic as in the ProjectPageActivity to open the accountability and disclaimer hyperlinks.

📋 QA

Test regular crowdfund checkout, as well as PLOT with a pledge that meets the minimum PLOT threshold. Expand the PLOT ui and tap terms of use, should open the terms of use page on web.
Test the other hyperlinks on the screen and make sure they link to their correct respective pages.

Story 📖

MBL-1956: Terms of use hyperlink in checkout screen
MBL-1963: Disclaimer and Accountability hyperlinks not working in crowdfund checkout

@codecov-commenter
Copy link
codecov-commenter commented Jan 8, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 53.84615% with 6 lines in your changes missing coverage. Please review.

Project coverage is 68.42%. Comparing base (5806a36) to head (a3fb2b2).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...tarter/ui/views/compose/checkout/CollectionPlan.kt 57.14% 0 Missing and 3 partials ⚠️
...i/activities/compose/projectpage/CheckoutScreen.kt 0.00% 2 Missing ⚠️
...arter/ui/views/compose/checkout/PaymentSchedule.kt 75.00% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2193      +/-   ##
============================================
- Coverage     68.43%   68.42%   -0.01%     
  Complexity     2188     2188              
============================================
  Files           351      351              
  Lines         23558    23561       +3     
  Branches       3455     3458       +3     
============================================
  Hits          16122    16122              
- Misses         5610     5611       +1     
- Partials       1826     1828       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leighdouglas leighdouglas marked this pull request as ready for review January 9, 2025 15:32
@ycheng-kickstarter
Copy link
Contributor

LGTM!

Copy link
Contributor
@Arkariang Arkariang left a comment

Choose a reason for hiding this comment

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

lgtm

@leighdouglas leighdouglas merged commit a128995 into master Jan 9, 2025
3 checks passed
@leighdouglas leighdouglas deleted the leigh/mbl-1956-plot-hyperlink branch January 9, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0