8000 Enable SMS Verification directly from Trust Bonus tab by apbendi · Pull Request #7456 · gitcoinco/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enable SMS Verification directly from Trust Bonus tab #7456

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 5 commits into from
Sep 17, 2020

Conversation

apbendi
Copy link
Contributor
@apbendi apbendi commented Sep 17, 2020

Instead of kicking users over to the cart to verify their SMS, they can now do it directly from the Trust Bonus tab.

Screen Shot 2020-09-17 at 2 55 31 PM

Note: This PR extracts and modifies code from the cart to create a vue component used on the Trust Bonus tab. The component is NOT currently shared with the cart, but should be, to DRY things up. This needed refactoring is noted in TODO comments, and should be tackled post Round 7.

molecula451 and others added 4 commits September 17, 2020 13:49
* Updates the Trust Bonus tab such that SMS verification can
  be done directly on the page
* Create a Vue component by extracting all relevant SMS code
  from the cart page
* Tie the new component to the Trust Bonus tab and display it
  when the user clicks the verify button
Copy link
Contributor
@octavioamu octavioamu left a comment

Choose a reason for hiding this comment

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

just a comment, rest look good to me


if (document.getElementById('gc-sms-modal')) {

const app = new Vue({
Copy link
Contributor

Choose a reason for hiding this comment

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

can we do something like const appTrust here? I want to avoid coalitions with others apps loaded on the same page.

@octavioamu octavioamu merged commit 2341e74 into gitcoinco:stable Sep 17, 2020
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
0