Page MenuHomePhabricator

As a user of the Wikipedia app, I would like to be able to add or edit title descriptions from the app (eg. Wikidata descriptions)
Closed, ResolvedPublic

Assigned To
Authored By
cmadeo
May 3 2018, 12:01 AM
Referenced Files
F26638529: IMG_0076.PNG
Oct 19 2018, 8:51 PM
F26638528: IMG_0075.PNG
Oct 19 2018, 8:51 PM
F26638519: IMG_2356.PNG
Oct 19 2018, 8:51 PM
F26567944: IMG_4EA0E10D2014-1.jpeg
Oct 12 2018, 8:10 PM
F18064540: Title description editing: First time user.png
May 7 2018, 11:53 PM
F18064538: Title description editing: Reverted edit.png
May 7 2018, 11:53 PM
F18064539: Title description editing: Existing user.png
May 7 2018, 11:53 PM
F17606235: 07 Wikidata descriptions.png
May 3 2018, 12:01 AM
Tokens
"Cup of Joe" token, awarded by JMinor.

Description

Why are we doing this?

The Android app currently allows users to edit or add title descriptions (eg. Wikidata descriptions) to articles. We would like to expand this functionality to the iOS app.

Proposed solution

The flow below follows Android's implemented flow closely.

Prototype

https://wikimedia.invisionapp.com/share/BVHXMGQNJPW

Mocks

Editing

Edit reversion notification

Flows

First time user

Title description editing: First time user.png (2×13 px, 756 KB)

Existing user

Title description editing: Existing user.png (2×9 px, 585 KB)

Reverted edit

Title description editing: Reverted edit.png (1×8 px, 391 KB)

Design details

  • First time users of the feature are shown two on boarding screens
  • First time users of the feature are shown a confirmation overlay after publishing their first description edit
  • On subsequent edits users will not be shown the on boarding screens
  • On subsequent edits users will be shown a system alert to confirm that their edit was published, not the overlay
  • Users are notified by push notification or system alert when their edit is reverted

Scenarios

First time user

  1. User navigates to an article that does not have a title description
  2. User taps on CTA to 'Add title description'
  3. User is shown the Title description on boarding flow
  4. User taps through on boarding and taps on the CTA to 'Start editing'
  5. User is navigated to the 'Add a description view'
  6. Once the user enters a string between 1 and 90 characters long the 'Publish description' button is activated
  7. If the user enters a string over 90 characters long the 'Publish description' button is activated AND a warning is shown with the character count highlighted in a warning color
  8. User taps on 'Publish description'
  9. User is shown the 'Description published' overlay
  10. User taps on 'Done'
  11. User is returned to article and their published title description is visible.

Non-first time user eg. has used the feature once before

  1. User navigates to an article that does not have a title description
  2. User taps on CTA to 'Add title description'
  3. User is navigated to the 'Add a description view'
  4. Once the user enters a string between 1 and 90 characters long the 'Publish description' button is activated
  5. If the user enters a string over 90 characters long the 'Publish description' button is activated AND a warning is shown with the character count highlighted in a warning color
  6. User taps on 'Publish description'
  7. User is returned to article and their published title description is visible. System alert is shown stating that their edit has been published.

Reverted edit

  1. Users title description edit is reverted by another user

2a. If the user has the app open a system alert is shown
2b. If user does not have the app open a push notification is shown

  1. User taps on CTA or notification
  2. User is navigated to the 'Reverted edit' view

Related Objects

Event Timeline

Vvjjkkii renamed this task from As a user of the Wikipedia app, I would like to be able to add or edit title descriptions from the app (eg. Wikidata descriptions) to 0qdaaaaaaa.Jul 1 2018, 1:12 AM
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 0qdaaaaaaa to As a user of the Wikipedia app, I would like to be able to add or edit title descriptions from the app (eg. Wikidata descriptions).Jul 2 2018, 4:42 AM
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Testing notes:

  • This will need to be tested in a language other than English which has special handling and override capabilities.
  • As far as I know there is no way to test this in a staging or test environment, though Android tested and released this last year so they may have figured out a way to do so.

How will the user be informed that descriptions should not generally start with a capital letter in most languages?

Hi @Sjoerddebruin, thanks for asking.
Currently when a user taps into 'learn more' link on the description editing screen they are instructed to only capitalize proper nouns.

IMG_4EA0E10D2014-1.jpeg (2×1 px, 692 KB)

ABorbaWMF subscribed.

Initially tested on 6.1.0 (1502) and I did not see the revert notification, but I just installed 6.1.0 (1503) and saw the notifications. LGTM

Moving back to QA. Need additional language testing.

Working for me across English, French, Italian, Russian, German and Chinese.

JMinor awarded a token.