woocommerce / google-listings-and-ads

Sync your store with Google to list products for free, run paid ads, and track performance straight from your store dashboard.
https://woo.com/products/google-listings-and-ads/
GNU General Public License v3.0
45 stars 21 forks source link

Support pasting the phone verification code. #1001

Open tomalec opened 3 years ago

tomalec commented 3 years ago

User story

As a merchant, I'd like to easily copy the verification code from SMS and past it into GLA input fields. (Personally, I find such flow useful when using my mobile)

Currently, when I paste, only the first character is put into the first number field.

paste

Technical

Figma link

Acceptance criteria

Unknowns

Out of bounds/rabbit holes

Event tracking

puntope commented 2 years ago

@tomalec

I'm working on this issue.

Possible to have step by step guide in order to reproduce the issue?

Thanks!

puntope commented 2 years ago

Possible to have step by step guide in order to reproduce the issue?

  1. Setup merchant page
  2. Section 4 (Confirmation)
  3. Send Verification code

Screenshot 2021-11-17 at 13 12 38

tomalec commented 2 years ago

Possible to have step by step guide in order to reproduce the issue?

Sorry, that I didn't add detailed steps in advance. I created it in the times when the flows and URLs where this component was available were quite volatile. And I consider this a feature request for a single component, regardless of its placement.

Yep, that's one way to get this view:

Setup

  1. Start the setup /wp-admin/admin.php?page=wc-admin&path=%2Fgoogle%2Fsetup-mc
  2. Complete the setup through 4th step /wp-admin/admin.php?page=wc-admin&path=%2Fgoogle%2Fsetup-mc&google-mc=connected
  3. Provide a real phone number go to phoneverification

Settings

The other is, once you're set up

  1. Go to settings
  2. Click "Edit" in phone number card, and go to /wp-admin/admin.php?page=wc-admin&subpath=%2Fedit-phone-number&path=%2Fgoogle%2Fsettings