Skip to content

feat: APP-551 crypto purchase email#2599

Merged
blushi merged 7 commits intodevfrom
feat-APP-551-crypto-purchase-email
Feb 20, 2025
Merged

feat: APP-551 crypto purchase email#2599
blushi merged 7 commits intodevfrom
feat-APP-551-crypto-purchase-email

Conversation

@blushi
Copy link
Member

@blushi blushi commented Feb 13, 2025

Description

Needs https://github.com/regen-network/regen-server/pull/524 before it can be tested

Closes: https://regennetwork.atlassian.net/browse/APP-551


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • provided a link to the relevant issue or specification
  • provided instructions on how to test
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

How to test

From https://deploy-preview-2599--regen-marketplace.netlify.app/project/C01-001/buy, log in with Keplr and buy some credits with crypto (retired then tradable) to receive the email confirmation. Don't forget to provide an email in the form if your account doesn't have any email connected to it yet.

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items
.

I have...

  • confirmed all author checklist items have been addressed
  • reviewed code correctness and readability
  • verified React components follow DRY principles
  • reviewed documentation is accurate
  • reviewed tests
  • manually tested (if applicable)

@blushi blushi requested a review from r41ph February 13, 2025 16:30
@netlify
Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for regen-website ready!

Name Link
🔨 Latest commit 9374f46
🔍 Latest deploy log https://app.netlify.com/sites/regen-website/deploys/67b6fcf18d249f0008515eb5
😎 Deploy Preview https://deploy-preview-2599--regen-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for terrasos ready!

Name Link
🔨 Latest commit 9374f46
🔍 Latest deploy log https://app.netlify.com/sites/terrasos/deploys/67b6fcf154e2c400083639df
😎 Deploy Preview https://deploy-preview-2599--terrasos.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.


let href = '';
if (baseDenom === GRAVITY_USDC_DENOM)
href = 'https://regen-registry.s3.us-east-1.amazonaws.com/usdc.grv.png';
Copy link
Member Author

Choose a reason for hiding this comment

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

we need image urls to use in the confirmation email

maybe we could set them as env var?
but not sure it's gonna change very often so maybe it's fine to have it hardcoded here
thoughts @r41ph?

Copy link
Contributor

Choose a reason for hiding this comment

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

If the URLs are not going to change often and they are consistent between environments, we probably don't need them in env vars. We could use a config file instead or constants but if it's not likely that we are going to use them anywhere else in the codebase, we could just kepp them hardcoded.

Regarding the URL, do we have more images or icons in S3? I wonder if we should move the images to a dedicated directory, i.e: like /assets/icons maybe?: https://regen-registry.s3.us-east-1.amazonaws.com/assets/icons/****.png

Copy link
Member Author

Choose a reason for hiding this comment

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

@blushi
Copy link
Member Author

blushi commented Feb 19, 2025

@erikalogie @S4mmyb see testing instructions

@erikalogie
Copy link
Collaborator

the email LGTM but this page of the form is weird:
Screenshot 2025-02-19 at 7 37 17 AM

@blushi blushi force-pushed the feat-APP-551-crypto-purchase-email branch from b2ac6f4 to 7095554 Compare February 19, 2025 12:08
@blushi
Copy link
Member Author

blushi commented Feb 19, 2025

the email LGTM but this page of the form is weird: Screenshot 2025-02-19 at 7 37 17 AM

this should be fixed @erikalogie

@erikalogie
Copy link
Collaborator

the email LGTM but this page of the form is weird: Screenshot 2025-02-19 at 7 37 17 AM

this should be fixed @erikalogie

LGTM

@blushi blushi requested a review from r41ph February 19, 2025 13:57
@blushi blushi force-pushed the feat-APP-551-crypto-purchase-email branch from b18d810 to 9374f46 Compare February 20, 2025 09:59
@blushi blushi enabled auto-merge (squash) February 20, 2025 10:00
@blushi blushi merged commit c820042 into dev Feb 20, 2025
11 of 14 checks passed
@blushi blushi deleted the feat-APP-551-crypto-purchase-email branch February 20, 2025 10:01
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.

3 participants