From cfa0dedb378eb018ca8bf9d1f2af17387ae0fff9 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Tue, 31 Jan 2017 18:15:52 -0500 Subject: [PATCH 1/9] feat(buyandsell): clearer language and better expectations in buyandsell view --- src/sass/variables.scss | 1 + src/sass/views/buyandsell.scss | 34 ++++++++++++++++++++++++++++++++++ src/sass/views/views.scss | 1 + www/views/buyandsell.html | 21 +++++++++++++++------ 4 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 src/sass/views/buyandsell.scss diff --git a/src/sass/variables.scss b/src/sass/variables.scss index fecc7bed2..db0b86431 100644 --- a/src/sass/variables.scss +++ b/src/sass/variables.scss @@ -46,6 +46,7 @@ $item-default-border: $subtle-gray; $item-default-text: $dark-gray; $item-default-active-bg: darken(#ffffff, 7%); $item-default-active-border: darken($subtle-gray, 7%); +$item-divider-bg: $subtle-gray; $bar-default-border: $subtle-gray; diff --git a/src/sass/views/buyandsell.scss b/src/sass/views/buyandsell.scss new file mode 100644 index 000000000..908287f9a --- /dev/null +++ b/src/sass/views/buyandsell.scss @@ -0,0 +1,34 @@ +#buy-and-sell { + .explain { + text-align: center; + margin-top: 1em; + } + .buy-and-sell-icon { + display: inline-block; + width: 50px; + height: 50px; + border-radius: 50%; + box-shadow: $subtle-box-shadow; + background-color: #fa912b; + img { + height: 100%; + width: 100%; + } + } + .explain { + &-heading { + font-size: 20px; + margin: 1rem; + } + &-description { + margin-left: auto; + margin-right: auto; + opacity: .6; + max-width: 300px; + padding: 0 1em; + } + } + .item-note { + color: $light-gray; + } +} diff --git a/src/sass/views/views.scss b/src/sass/views/views.scss index e26092690..774029341 100644 --- a/src/sass/views/views.scss +++ b/src/sass/views/views.scss @@ -15,6 +15,7 @@ @import "bitpayCard"; @import "bitpayCardIntro"; @import "bitpayCardPreferences"; +@import "buyandsell"; @import "address-book"; @import "addresses"; @import "wallet-backup-phrase"; diff --git a/www/views/buyandsell.html b/www/views/buyandsell.html index b48b777f2..bd2a32466 100644 --- a/www/views/buyandsell.html +++ b/www/views/buyandsell.html @@ -1,21 +1,30 @@ - + - Buy and sell + Buy & Sell Bitcoin
+
+ + + +
Connect an Exchange
+
Buy and sell bitcoin directly from your wallet by connecting an exchange account.
+
- - +
From 9ae213c5285c9db686d6d0368aabf7023aed0e85 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Tue, 31 Jan 2017 19:31:16 -0500 Subject: [PATCH 2/9] feat(coinbase): clean up coinbase integration onboarding --- src/js/controllers/coinbase.js | 29 ++++++++++- src/js/services/coinbaseService.js | 22 +++++--- src/sass/views/integrations/coinbase.scss | 4 +- src/sass/views/integrations/integrations.scss | 43 +++++++++++++++ src/sass/views/views.scss | 4 +- www/views/coinbase.html | 52 +++++++++---------- 6 files changed, 114 insertions(+), 40 deletions(-) create mode 100644 src/sass/views/integrations/integrations.scss diff --git a/src/js/controllers/coinbase.js b/src/js/controllers/coinbase.js index a038e6546..357cb4cab 100644 --- a/src/js/controllers/coinbase.js +++ b/src/js/controllers/coinbase.js @@ -1,6 +1,6 @@ 'use strict'; -angular.module('copayApp.controllers').controller('coinbaseController', function($scope, $timeout, $ionicModal, $ionicHistory, $log, coinbaseService, lodash, platformInfo, ongoingProcess, popupService, externalLinkService) { +angular.module('copayApp.controllers').controller('coinbaseController', function($scope, $timeout, $ionicModal, $ionicHistory, $log, coinbaseService, lodash, platformInfo, ongoingProcess, popupService, externalLinkService, gettextCatalog) { var isNW = platformInfo.isNW; var isCordova = platformInfo.isCordova; @@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('coinbaseController', function $scope.currency = coinbaseService.getAvailableCurrency(); coinbaseService.getStoredToken(function(at) { $scope.accessToken = at; - + // Update Access Token if necessary $scope.loading = true; coinbaseService.init(function(err, data) { @@ -79,11 +79,35 @@ angular.module('copayApp.controllers').controller('coinbaseController', function } } + this.openSignupWindow = function() { + var url = coinbaseService.getSignupUrl(); + var optIn = true; + var title = gettextCatalog.getString('Create Account'); + var message = gettextCatalog.getString('This will open Coinbase.com, where you can create an account.'); + var okText = gettextCatalog.getString('Go to Coinbase'); + var cancelText = gettextCatalog.getString('Back'); + externalLinkService.open(url, optIn, title, message, okText, cancelText); + } + + this.openSupportWindow = function() { + var url = coinbaseService.getSupportUrl(); + var optIn = true; + var title = gettextCatalog.getString('Coinbase Support'); + var message = gettextCatalog.getString('Help and support for the Coinbase service is available on their website.'); + var okText = gettextCatalog.getString('Open Help Center'); + var cancelText = gettextCatalog.getString('Go Back'); + externalLinkService.open(url, optIn, title, message, okText, cancelText); + } + this.getAuthenticateUrl = function() { $scope.showOauthForm = isCordova || isNW ? false : true; return coinbaseService.getOauthCodeUrl(); }; + this.toggleOauthForm = function() { + $scope.showOauthForm = !$scope.showOauthForm; + } + this.submitOauthCode = function(code) { var self = this; ongoingProcess.set('connectingCoinbase', true); @@ -112,6 +136,7 @@ angular.module('copayApp.controllers').controller('coinbaseController', function var self = this; $scope.$on("$ionicView.beforeEnter", function(event, data) { + $scope.showOauthForm = false; coinbaseService.setCredentials(); if (data.stateParams && data.stateParams.code) { coinbaseService.getStoredToken(function(at) { diff --git a/src/js/services/coinbaseService.js b/src/js/services/coinbaseService.js index 9057ae729..7ab78909f 100644 --- a/src/js/services/coinbaseService.js +++ b/src/js/services/coinbaseService.js @@ -28,7 +28,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ name: '10%' } ]; - + root.selectedPriceSensitivity = root.priceSensitivity[1]; root.setCredentials = function() { @@ -117,7 +117,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ var satToBtc = 1 / 100000000; var unitToSatoshi = config.unitToSatoshi; var amountUnitStr; - + // IF 'USD' if (currency) { amountUnitStr = $filter('formatFiatAmount')(amount) + ' ' + currency; @@ -128,10 +128,18 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ amount = (amountSat * satToBtc).toFixed(8); currency = 'BTC'; } - + return [amount, currency, amountUnitStr]; }; + root.getSignupUrl = function() { + return credentials.HOST + '/signup'; + } + + root.getSupportUrl = function() { + return 'https://support.coinbase.com/'; + } + root.getOauthCodeUrl = function() { return credentials.HOST + '/oauth/authorize?response_type=code&client_id=' @@ -483,7 +491,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ }; // Pending transactions - + root.savePendingTransaction = function(ctx, opts, cb) { _savePendingTransaction(ctx, opts, cb); }; @@ -516,7 +524,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ storageService.getCoinbaseTxs(credentials.NETWORK, function(err, txs) { txs = txs ? JSON.parse(txs) : {}; coinbasePendingTransactions.data = lodash.isEmpty(txs) ? null : txs; - + root.init(function(err, data) { if (err || lodash.isEmpty(data)) { if (err) $log.error(err); @@ -529,7 +537,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ if ((dataFromStorage.type == 'sell' && dataFromStorage.status == 'completed') || (dataFromStorage.type == 'buy' && dataFromStorage.status == 'completed') || dataFromStorage.status == 'error' || - (dataFromStorage.type == 'send' && dataFromStorage.status == 'completed')) + (dataFromStorage.type == 'send' && dataFromStorage.status == 'completed')) return; root.getTransaction(accessToken, accountId, txId, function(err, tx) { if (err || lodash.isEmpty(tx) || (tx.data && tx.data.error)) { @@ -593,7 +601,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $ $log.debug('Updating pending transactions...'); root.setCredentials(); var pendingTransactions = { data: {} }; - root.getPendingTransactions(pendingTransactions); + root.getPendingTransactions(pendingTransactions); }, 20000); var _updateTxs = function(coinbasePendingTransactions) { diff --git a/src/sass/views/integrations/coinbase.scss b/src/sass/views/integrations/coinbase.scss index 08521b72b..d002aef37 100644 --- a/src/sass/views/integrations/coinbase.scss +++ b/src/sass/views/integrations/coinbase.scss @@ -9,7 +9,7 @@ stroke: #0067c8; fill: #0067c8; } - + .add-bottom-for-cta { bottom: 92px; } @@ -73,7 +73,7 @@ color: $item-label-color; margin-bottom: 8px; } - + .capitalized { text-transform: capitalize; } diff --git a/src/sass/views/integrations/integrations.scss b/src/sass/views/integrations/integrations.scss new file mode 100644 index 000000000..307563fda --- /dev/null +++ b/src/sass/views/integrations/integrations.scss @@ -0,0 +1,43 @@ +@import "coinbase"; +@import "glidera"; +@import "amazon"; + +.integration-onboarding { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + &-logo { + display: inline-block; + img { + max-width: 170px; + } + } + &-heading { + font-size: 20px; + margin: 1rem; + } + &-description { + margin-top: 0; + margin-left: 2rem; + margin-right: 2rem; + margin-bottom: 100px; + opacity: .6; + max-width: 300px; + } + &-support-link { + cursor: pointer; + } + &-cta, &-oauthform { + position: absolute; + bottom: 5vh; + width: 100%; + } + &-oauthform { + input { + border-bottom: 2px solid $light-gray; + } + } +} diff --git a/src/sass/views/views.scss b/src/sass/views/views.scss index 774029341..2ced0150f 100644 --- a/src/sass/views/views.scss +++ b/src/sass/views/views.scss @@ -42,7 +42,5 @@ @import "includes/tx-status"; @import "includes/itemSelector"; @import "includes/walletSelector"; -@import "integrations/coinbase"; -@import "integrations/glidera"; -@import "integrations/amazon"; +@import "integrations/integrations"; @import "custom-amount"; diff --git a/www/views/coinbase.html b/www/views/coinbase.html index dc85681f9..a40ebbcc8 100644 --- a/www/views/coinbase.html +++ b/www/views/coinbase.html @@ -4,35 +4,32 @@ Coinbase - - - -
-
- + + + + +
+ -
- -

Connect your Coinbase account to get started

- - - +
Connect a Coinbase Account
+
If you have trouble with the Coinbase service, please contact Coinbase support for direct assistance.
+
+ +
-
+ +
-
-
+ -
+ + +
@@ -52,7 +52,7 @@ {{buyPrice.amount}} {{buyPrice.currency}} - | + | {{sellPrice.amount}} {{sellPrice.currency}}
@@ -77,7 +77,7 @@
Activity -
+
Date: Wed, 1 Feb 2017 15:24:02 -0500 Subject: [PATCH 3/9] feat(coinbase): clearer expectations on coinbase integration onboarding --- src/sass/views/integrations/integrations.scss | 19 +++++++++++-------- www/views/coinbase.html | 9 +++++---- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/sass/views/integrations/integrations.scss b/src/sass/views/integrations/integrations.scss index 307563fda..24c6dc4f1 100644 --- a/src/sass/views/integrations/integrations.scss +++ b/src/sass/views/integrations/integrations.scss @@ -11,31 +11,34 @@ text-align: center; &-logo { display: inline-block; + margin-bottom: 1em; img { max-width: 170px; } } - &-heading { - font-size: 20px; - margin: 1rem; - } &-description { margin-top: 0; margin-left: 2rem; margin-right: 2rem; - margin-bottom: 100px; + margin-bottom: 130px; opacity: .6; max-width: 300px; } - &-support-link { - cursor: pointer; - } &-cta, &-oauthform { position: absolute; bottom: 5vh; width: 100%; + max-width: 350px; } &-oauthform { + .item { + border: 0 none; + } + .item-floating-label { + padding-left: 0; + margin-left: 1em; + margin-right: 1em; + } input { border-bottom: 2px solid $light-gray; } diff --git a/www/views/coinbase.html b/www/views/coinbase.html index a40ebbcc8..615f64713 100644 --- a/www/views/coinbase.html +++ b/www/views/coinbase.html @@ -15,11 +15,11 @@ -
Connect a Coinbase Account
-
+
Coinbase's service is available in 33 countries, and can take 3-5 days to buy or sell bitcoin.
+
If you have trouble, contact Coinbase support for direct assistance.
- - + +
@@ -35,6 +35,7 @@ +
From 905b0f8c8d358292f993fefdcd9c0448341d83ca Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Wed, 1 Feb 2017 16:58:24 -0500 Subject: [PATCH 4/9] feat(glidera): clearer expectations on glidera integration setup --- src/js/controllers/glidera.js | 33 ++++++ src/js/services/glideraService.js | 8 ++ src/sass/views/integrations/integrations.scss | 6 + www/views/buyandsell.html | 4 +- www/views/coinbase.html | 4 +- www/views/glidera.html | 104 +++++++++--------- 6 files changed, 101 insertions(+), 58 deletions(-) diff --git a/src/js/controllers/glidera.js b/src/js/controllers/glidera.js index bb746274f..d47721c67 100644 --- a/src/js/controllers/glidera.js +++ b/src/js/controllers/glidera.js @@ -114,7 +114,40 @@ angular.module('copayApp.controllers').controller('glideraController', }); }; + $scope.openAuthenticateWindow = function() { + $scope.openExternalLink($scope.getAuthenticateUrl()); + $scope.showOauthForm = true + } + + $scope.openLoginWindow = function() { + var glideraUrl = ($scope.network === 'testnet') ? 'https://sandbox.glidera.io/login' : 'https://glidera.io/login'; + $scope.openExternalLink(glideraUrl); + } + + $scope.openSupportWindow = function() { + var url = glideraService.getSupportUrl(); + var optIn = true; + var title = gettextCatalog.getString('Glidera Support'); + var message = gettextCatalog.getString('You can email glidera at support@glidera.io for direct support, or you can contact Glidera on Twitter.'); + var okText = gettextCatalog.getString('Tweet @GlideraInc'); + var cancelText = gettextCatalog.getString('Go Back'); + externalLinkService.open(url, optIn, title, message, okText, cancelText); + } + + $scope.retry = function() { + $scope.connectingGlidera = true; + $scope.update({'fullUpdate': true}); + $timeout(function(){ + $scope.connectingGlidera = false; + }, 300); + } + + $scope.toggleOauthForm = function() { + $scope.showOauthForm = !$scope.showOauthForm; + } + $scope.$on("$ionicView.beforeEnter", function(event, data) { + $scope.showOauthForm = false; initGlidera(); }); diff --git a/src/js/services/glideraService.js b/src/js/services/glideraService.js index 06e30cf14..94efde61a 100644 --- a/src/js/services/glideraService.js +++ b/src/js/services/glideraService.js @@ -48,6 +48,14 @@ angular.module('copayApp.services').factory('glideraService', function($http, $l return credentials.NETWORK; }; + root.getSignupUrl = function() { + return credentials.HOST + '/register'; + } + + root.getSupportUrl = function() { + return 'https://twitter.com/GlideraInc'; + } + root.getOauthCodeUrl = function() { _setCredentials(); return credentials.HOST + '/oauth2/auth?response_type=code&client_id=' + credentials.CLIENT_ID + '&redirect_uri=' + credentials.REDIRECT_URI; diff --git a/src/sass/views/integrations/integrations.scss b/src/sass/views/integrations/integrations.scss index 24c6dc4f1..4f0c0aaba 100644 --- a/src/sass/views/integrations/integrations.scss +++ b/src/sass/views/integrations/integrations.scss @@ -2,6 +2,12 @@ @import "glidera"; @import "amazon"; +#coinbase, #glidera { + .button-small { + font-size: 13px; + } +} + .integration-onboarding { height: 100%; display: flex; diff --git a/www/views/buyandsell.html b/www/views/buyandsell.html index bd2a32466..7bd442f9e 100644 --- a/www/views/buyandsell.html +++ b/www/views/buyandsell.html @@ -11,13 +11,13 @@
Connect an Exchange
-
Buy and sell bitcoin directly from your wallet by connecting an exchange account.
+
Buy and sell bitcoin directly from your wallet by connecting your exchange accounts.
- International + 33 Countries diff --git a/www/views/coinbase.html b/www/views/coinbase.html index 615f64713..e7ad4f4db 100644 --- a/www/views/coinbase.html +++ b/www/views/coinbase.html @@ -5,7 +5,7 @@ Coinbase - @@ -35,7 +35,7 @@ - +
diff --git a/www/views/glidera.html b/www/views/glidera.html index 645a6df1e..8f6ee3698 100644 --- a/www/views/glidera.html +++ b/www/views/glidera.html @@ -3,72 +3,68 @@ Glidera - - - - -
- Glidera is disabled for this application -
- -
- Testnet wallets only work with Glidera Sandbox Accounts -
- -
- -
-
- + + + + + +
+ The Glidera integration is currently disabled. +
+
+ Testnet wallets only work with Glidera Sandbox Accounts. +
+
+ -
-

You can buy and sell Bitcoin with a US bank account directly in this app.

- -

Connect your Glidera account to get started.

- - -
-
-

Glidera Inc. (Glidera) is providing the service of buying or selling bitcoin to BitPay users. To enable this service, Glidera has registered with US Treasury Department’s FinCEN as a Money Service Business (#31000042625755). Users of BitPay must agree to the service agreement presented by Glidera prior to obtaining Glidera’s service of buying or selling bitcoin.

-

Service is available in the U.S. and Canada.

-
+
Glidera's service is available in the United States, and can take 1-2 weeks to buy or sell bitcoin.
+
If you have trouble, contact Glidera support for direct assistance.
+
+ +
-
-
-
-
-
+ -
-
- + +
+ +
Please complete your account verification on Glidera's website. If you have trouble, contact Glidera's support for direct assistance.
+
+ + +
-
-

Complete Setup

-
Your Glidera account is not ready to transact. Please, verify it at Glidera.io
- - Go to Glidera - + + + +
+
Date: Wed, 1 Feb 2017 18:04:24 -0500 Subject: [PATCH 5/9] fix(buyandsell): minor language improvements to buyandsell flows --- src/js/controllers/coinbase.js | 4 ++-- src/js/services/bitpayCardService.js | 2 +- src/js/services/buyAndSellService.js | 2 +- www/views/buyandsell.html | 4 ++-- www/views/coinbase.html | 2 +- www/views/glidera.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/js/controllers/coinbase.js b/src/js/controllers/coinbase.js index 9ac2fe924..fda27ad1d 100644 --- a/src/js/controllers/coinbase.js +++ b/src/js/controllers/coinbase.js @@ -82,7 +82,7 @@ angular.module('copayApp.controllers').controller('coinbaseController', function this.openSignupWindow = function() { var url = coinbaseService.getSignupUrl(); var optIn = true; - var title = gettextCatalog.getString('Create Account'); + var title = gettextCatalog.getString('Sign Up for Coinbase'); var message = gettextCatalog.getString('This will open Coinbase.com, where you can create an account.'); var okText = gettextCatalog.getString('Go to Coinbase'); var cancelText = gettextCatalog.getString('Back'); @@ -93,7 +93,7 @@ angular.module('copayApp.controllers').controller('coinbaseController', function var url = coinbaseService.getSupportUrl(); var optIn = true; var title = gettextCatalog.getString('Coinbase Support'); - var message = gettextCatalog.getString('Help and support for the Coinbase service is available on their website.'); + var message = gettextCatalog.getString('You can email support@coinbase.com for direct support, or you can view their help center.'); var okText = gettextCatalog.getString('Open Help Center'); var cancelText = gettextCatalog.getString('Go Back'); externalLinkService.open(url, optIn, title, message, okText, cancelText); diff --git a/src/js/services/bitpayCardService.js b/src/js/services/bitpayCardService.js index a2ce4aa52..4f87bba50 100644 --- a/src/js/services/bitpayCardService.js +++ b/src/js/services/bitpayCardService.js @@ -1295,7 +1295,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($log, var nextStepItem = { name: 'bitpaycard', - title: 'Add Bitpay VISA Card', + title: 'Add BitPay Visa® Card', icon: 'icon-bitpay-card', sref: 'tabs.bitpayCardIntro', }; diff --git a/src/js/services/buyAndSellService.js b/src/js/services/buyAndSellService.js index bbfbe6632..bffbb7252 100644 --- a/src/js/services/buyAndSellService.js +++ b/src/js/services/buyAndSellService.js @@ -23,7 +23,7 @@ angular.module('copayApp.services').factory('buyAndSellService', function($log, if (linkedServices.length == 0) { nextStepsService.register({ - title: 'Buy and Sell', + title: 'Buy or Sell Bitcoin', name: 'buyandsell', icon: 'icon-buy-bitcoin', sref: 'tabs.buyandsell', diff --git a/www/views/buyandsell.html b/www/views/buyandsell.html index 0feb987b1..c35e75811 100644 --- a/www/views/buyandsell.html +++ b/www/views/buyandsell.html @@ -2,7 +2,7 @@ - Buy & Sell Bitcoin + Buy or Sell Bitcoin
@@ -11,7 +11,7 @@
Connect an Exchange
-
Buy and sell bitcoin directly from your wallet by connecting your exchange accounts.
+
Buy or sell bitcoin directly from your wallet by connecting your exchange accounts.
diff --git a/www/views/coinbase.html b/www/views/coinbase.html index e7ad4f4db..016ecfaf5 100644 --- a/www/views/coinbase.html +++ b/www/views/coinbase.html @@ -15,7 +15,7 @@ -
Coinbase's service is available in 33 countries, and can take 3-5 days to buy or sell bitcoin.
+
Coinbase's exchange service is available in 33 countries, and can take 3-5 days to buy or sell bitcoin.
If you have trouble, contact Coinbase support for direct assistance.
diff --git a/www/views/glidera.html b/www/views/glidera.html index 8f6ee3698..eea690702 100644 --- a/www/views/glidera.html +++ b/www/views/glidera.html @@ -23,7 +23,7 @@ -
Glidera's service is available in the United States, and can take 1-2 weeks to buy or sell bitcoin.
+
Glidera's exchange service is available in the United States, and can take 1-2 weeks to buy or sell bitcoin.
If you have trouble, contact Glidera support for direct assistance.
From 9abdcb93ed8c86e5c31727a5a6576c3ceaf4f17a Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Thu, 2 Feb 2017 19:19:55 -0500 Subject: [PATCH 6/9] fix(integrations): correct cta positioning on safari --- src/sass/views/integrations/integrations.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sass/views/integrations/integrations.scss b/src/sass/views/integrations/integrations.scss index 4f0c0aaba..338d7f6f1 100644 --- a/src/sass/views/integrations/integrations.scss +++ b/src/sass/views/integrations/integrations.scss @@ -34,7 +34,6 @@ position: absolute; bottom: 5vh; width: 100%; - max-width: 350px; } &-oauthform { .item { @@ -42,8 +41,8 @@ } .item-floating-label { padding-left: 0; - margin-left: 1em; - margin-right: 1em; + margin-left: 2em; + margin-right: 2em; } input { border-bottom: 2px solid $light-gray; From f46a210d48c7f52994b5e05f3417e4931732c4c3 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Thu, 2 Feb 2017 19:21:01 -0500 Subject: [PATCH 7/9] fix(amazon): correct amazon home card item names --- src/js/services/amazonService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/services/amazonService.js b/src/js/services/amazonService.js index d0c715220..cfd990f1e 100644 --- a/src/js/services/amazonService.js +++ b/src/js/services/amazonService.js @@ -18,14 +18,14 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo var homeItem = { name: 'amazon', - title: 'Amazon Gift Cards', + title: 'Amazon.com Gift Cards', icon: 'icon-amazon', sref: 'tabs.giftcards.amazon', }; var nextStepItem = { name: 'amazon', - title: 'Buy a gift card', + title: 'Buy Amazon.com Gift Cards', icon: 'icon-amazon', sref: 'tabs.giftcards.amazon', }; From 2f2569411055a4758ea78af4b1c359c6b35dfae6 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Fri, 3 Feb 2017 15:59:49 -0500 Subject: [PATCH 8/9] fix(buyandsell): correct bitcoin icon path --- www/views/buyandsell.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/views/buyandsell.html b/www/views/buyandsell.html index c35e75811..7b5b72618 100644 --- a/www/views/buyandsell.html +++ b/www/views/buyandsell.html @@ -8,7 +8,7 @@
- +
Connect an Exchange
Buy or sell bitcoin directly from your wallet by connecting your exchange accounts.
From e42f33d35762929f13d836ee1c8ea17acd4c1a4c Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Fri, 3 Feb 2017 16:24:03 -0500 Subject: [PATCH 9/9] feat(amazon): improve amazon integration landing view to match others --- www/views/amazon.html | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/www/views/amazon.html b/www/views/amazon.html index 7e058a037..33c3af301 100644 --- a/www/views/amazon.html +++ b/www/views/amazon.html @@ -5,28 +5,29 @@ Amazon.com Gift Cards - - +
- Sandbox version. Only for testing purpose + Sandbox version. Only for testing purpose. +
+
+ +
Gift Cards are only redeemable on Amazon.com (US website). Cards never expire and can be redeemed towards millions of items.
+
+ + +
+
+
+ +
+ Sandbox version. Only for testing purpose.
Amazon.com Gift Card -
Only redeemable on www.amazon.com (USA website)
-
- -
- - - -
- Amazon.com Gift Cards never expire and can be redeemed towards millions of items at - www.amazon.com -
+
Only redeemable on www.amazon.com (US website).