Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Issue 2949813003: [Payment Request] Formats phone number and credit card number in editors. (Closed)

Created:
3 years, 6 months ago by Moe
Modified:
3 years, 6 months ago
CC:
chromium-reviews, gogerald+paymentswatch_chromium.org, ios-reviews_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews+showcase_chromium.org, mahmadi+paymentswatch_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payment Request] Formats phone number and credit card number in editors. card number: http://imgur.com/a/ffyCF, http://imgur.com/a/pMl33 phone number: http://imgur.com/a/H7i6b, http://imgur.com/a/HpHto BUG=602666 Review-Url: https://codereview.chromium.org/2949813003 Cr-Commit-Position: refs/heads/master@{#481246} Committed: https://chromium.googlesource.com/chromium/src/+/8f116dbbd9f73e7d14c7f3276c0687cd3709761d

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Patch Set 3 : Fixed broken tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -57 lines) Patch
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 4 chunks +5 lines, -25 lines 0 comments Download
M components/payments/core/payment_request_data_util.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M components/payments/core/payment_request_data_util.cc View 1 2 chunks +21 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_coordinator.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_coordinator_unittest.mm View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/payments/address_edit_mediator.mm View 1 2 3 chunks +16 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/contact_info_edit_coordinator.mm View 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/contact_info_edit_coordinator_unittest.mm View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/payments/contact_info_edit_mediator.mm View 3 chunks +19 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/payments/contact_info_edit_mediator_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_coordinator.mm View 2 chunks +6 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/payments/credit_card_edit_mediator.mm View 3 chunks +13 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm View 1 2 chunks +14 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller_data_source.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_edit_view_controller_unittest.mm View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/showcase/payments/sc_payments_editor_coordinator.mm View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
Moe
Hi Rouslan, Louis, Please take a look at this. lpromero@ ios/ rouslan@ components/payments and c/b/ui/views/payments
3 years, 6 months ago (2017-06-20 16:09:36 UTC) #3
please use gerrit instead
Both gifs seem to show phone number formatting.
3 years, 6 months ago (2017-06-20 16:22:22 UTC) #4
please use gerrit instead
When you edit an existing address, is the phone pre-formatted in the input field? Same ...
3 years, 6 months ago (2017-06-20 16:27:04 UTC) #5
lpromero
https://codereview.chromium.org/2949813003/diff/1/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm File ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm (right): https://codereview.chromium.org/2949813003/diff/1/ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm#newcode415 ios/chrome/browser/ui/payments/payment_request_edit_view_controller.mm:415: dispatch_async(dispatch_get_main_queue(), ^{ It is not clear to me why ...
3 years, 6 months ago (2017-06-20 16:37:49 UTC) #6
Moe
Updated the gifs as well. PTAL? https://codereview.chromium.org/2949813003/diff/1/components/payments/core/payment_request_data_util.cc File components/payments/core/payment_request_data_util.cc (right): https://codereview.chromium.org/2949813003/diff/1/components/payments/core/payment_request_data_util.cc#newcode196 components/payments/core/payment_request_data_util.cc:196: // Do not ...
3 years, 6 months ago (2017-06-20 18:00:59 UTC) #9
please use gerrit instead
Payments LGTM.
3 years, 6 months ago (2017-06-20 18:09:57 UTC) #10
lpromero
lgtm
3 years, 6 months ago (2017-06-21 08:52:51 UTC) #11
Moe
Thank you!
3 years, 6 months ago (2017-06-21 13:07:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2949813003/20001
3 years, 6 months ago (2017-06-21 13:07:35 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/242389)
3 years, 6 months ago (2017-06-21 13:45:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2949813003/40001
3 years, 6 months ago (2017-06-21 16:03:39 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 18:20:49 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8f116dbbd9f73e7d14c7f3276c06...

Powered by Google App Engine
This is Rietveld 408576698