Page MenuHomePhabricator

[BUG] Login status incorrect when changing password (or when cookies expire)
Closed, ResolvedPublic

Assigned To
Authored By
JoeWalsh
Oct 18 2018, 12:08 PM
Referenced Files
F27244726: IMG_0085.PNG
Nov 16 2018, 7:37 PM
F27244724: Image-1 (2).jpg
Nov 16 2018, 7:37 PM
F27221014: keepSavedArticles.png
Nov 14 2018, 4:53 PM
F27219560: IMG_EE894C20B06C-1.jpeg
Nov 14 2018, 3:36 PM
F27020679: Auth issue warning.png
Nov 2 2018, 4:58 PM
Tokens
"Burninate" token, awarded by JMinor.

Description

How many times were you able to reproduce it?

Always

Steps to reproduce

  1. Login to the app with an account
  2. Change the same accounts password on the web (invalidates all sessions)
  3. Go to settings

Expected results

After an authenticated request fails (30-60 seconds if you have reading list sync enabled) "Log in" is shown, indicating the user is logged out

We should also discuss if we want to post an error message when this occurs.

Actual results

User name is still visible

Environments observed

App version: 6.0.2


Mocks

Copy

TitleBodyCTAClose link text
You have been logged outThere was a problem authenticating your account. In order to sync your reading lists and edit under your user name please log back in.Log back in to your accountContinue without logging in

Event Timeline

  • This occurs for multiple stories, so solution needs to be generic for any scenario where the user is logged out not of their own volition.
  • Do we want to notify users if this occurs? Pop-up, alert, or indicator on the log-in screen?

IMG_EE894C20B06C-1.jpeg (2×1 px, 665 KB)

@NHarateh_WMF this is working really well!
The second link text looks a bit far away from the primary CTA.

Can we have the second link be 10 pt below the CTA and 30pt from the bottom of the card? Also just double checking that it is using 13pt as the font size.

@cmadeo it's using the same popover as "Keep saved articles on device?" and other popovers

keepSavedArticles.png (2×1 px, 255 KB)

Do you want to move all of the second links to be 10 pt below the CTA and 30pt from the bottom of the card? Right now there's 14pt of spacing between all the elements (image, title, subtitle, primary button, secondary button) and 18pt from the bottom

Looks like the font is 11pt (we're using the default Caption 2: https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/typography/) - do you want to use 13pt?

Hi @NHarateh_WMF eep, sorry I should have caught this on another card. Would it be possible to make those updates now (13 pt and updated spacing?)

Thank you!

@cmadeo this is what it looks like with 30pt spacing top & bottom, 10pt spacing between the CTA and the 2nd link and 13pt font for the 2nd link

Simulator Screen Shot - iPhone X - 2018-11-14 at 13.57.49.png (2×1 px, 249 KB)

👍 or different spacing?

This is what the "Keep saved articles on device?" looks like with the changes

Simulator Screen Shot - iPhone X - 2018-11-14 at 15.12.33.png (2×1 px, 554 KB)

and this is what panels would look like with footer text

Simulator Screen Shot - iPhone X - 2018-11-14 at 15.13.58.png (2×1 px, 293 KB)

Looks great, thanks for the updates @NHarateh_WMF!

JMinor awarded a token.