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

feat: added BTC variant to ramps-card and illustration image #25615

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

k-g-j
Copy link
Contributor

@k-g-j k-g-j commented Jul 1, 2024

Description

Updates the Ramps banners for BTC accounts.

Added

  • BTC to RAMPS_CARD_VARIANT_TYPES with illustractionSrc, gradient, title, and body in the RAMPS_CARD_VARIANTS
  • BTC illustration to app/images
  • BtcBanner to RampsMetaMaskEntry enum

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/accounts-planning/issues/496

Manual testing steps

N/A
@georgeweiler is working on subsequent PR to include BTC in the list of buyable tokens, which will render the new banner in that flow.

Screenshots/Recordings

Screenshot 2024-07-01 at 3 50 59 PM

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

github-actions bot commented Jul 1, 2024

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@k-g-j k-g-j added the area-UI Relating to the user interface. label Jul 1, 2024
@k-g-j k-g-j marked this pull request as ready for review July 1, 2024 19:52
@k-g-j k-g-j requested a review from a team as a code owner July 1, 2024 19:52
@metamaskbot
Copy link
Collaborator

Builds ready [ba02869]
Page Load Metrics (476 ± 345 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint704001267235
domContentLoaded1097302010
load572190476719345
domInteractive1097302010
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 323 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.60%. Comparing base (548b54a) to head (9102b0e).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #25615   +/-   ##
========================================
  Coverage    69.60%   69.60%           
========================================
  Files         1364     1364           
  Lines        48173    48173           
  Branches     13291    13291           
========================================
  Hits         33527    33527           
  Misses       14646    14646           

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

Copy link

sonarqubecloud bot commented Jul 2, 2024

@k-g-j k-g-j merged commit 05904ca into develop Jul 2, 2024
72 of 73 checks passed
@k-g-j k-g-j deleted the feat/buy-btc-banner branch July 2, 2024 14:38
@github-actions github-actions bot locked and limited conversation to collaborators Jul 2, 2024
@metamaskbot metamaskbot added the release-12.2.0 Issue or pull request that will be included in release 12.2.0 label Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UI Relating to the user interface. release-12.2.0 Issue or pull request that will be included in release 12.2.0 team-accounts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants