[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Step 1: Error messages: on save. solvable. log in
Closed, InvalidPublic

Description

As an ... I want to ... in order to ...

Problem:

Example:

  • assert user failed (the user is/was logged-in in wikipedia/client, but is not/no longer logged in wikidata/repo)

Screenshots/mockups

Desktop

T247250_Desktop.png (1×1 px, 83 KB)

Mobile

T247250_Mobile.png (1×642 px, 73 KB)

figma artboard

BDD
GIVEN
AND
WHEN
AND
THEN
AND

Acceptance criteria:

Notes:
when logging in

  • opens in a new tab
  • bridge modal reverts back to the UI before the warning (as if "go back" was clicked)
  • after logging in we show an alert message, letting users know that they're logged in now and that they can go back to the previous tab
  • user must click "publish" once again

Event Timeline

Looked into how we can tell apart API responses for failing saves:

  • being logged in as a different user yields assertnameduserfailed
  • not being logged in at all yields assertuserfailed

If truly needed, there is also https://en.wikipedia.org/w/api.php?action=help&modules=query%2Buserinfo which we could use after giving the user to re-login to get to the username which they now go by (which may or may not be the same as before).

darthmon_wmde renamed this task from Error messages: on save. solvable. log in (5) to Step 1: Error messages: on save. solvable. log in (5).Mar 18 2020, 4:29 PM
Charlie_WMDE updated the task description. (Show Details)
Sarai-WMDE renamed this task from Step 1: Error messages: on save. solvable. log in (5) to Step 1: Error messages: on save. solvable. log in.Mar 19 2020, 3:40 PM
Sarai-WMDE updated the task description. (Show Details)

declining since we're handling it in a different ticket