Page MenuHomePhabricator

Contextual actions for list item
Closed, ResolvedPublic5 Estimated Story Points

Description

Design

👉 Search in “My lists“ | T214506 on Zeplin

Flow

https://overflow.io/s/QEVP3O/?node=72a041d1

Key aspects

  • Tapping “More“ (three dots) on a list search result item triggers the standard dropdown menu.
  • Tapping “More“ (three dots) on an article search result item triggers the article bottom sheet.

Event Timeline

Charlotte created this task.

Change 487980 had a related patch set uploaded (by Cooltey; owner: Cooltey):
[apps/android/wikipedia@master] [WIP] Contextual actions for list item

https://gerrit.wikimedia.org/r/487980

scblr updated the task description. (Show Details)

Hi @schoenbaechler, I have a question regarding the bottom dialog when clicking on the overflow menu of an "article" list item.

As the screenshots below, I have an article "Ricki Lake" saved in two lists (as shown in the red rectangle)

Screenshot_20190208-164332.png (2×1 px, 556 KB)

When searching "Ricki" and it will show only one result on the list (T214504), but the "remove article" function in the bottom dialog will only allow the user to remove from a single list once.

Screenshot_20190208-164346.png (2×1 px, 198 KB)

My question is, how should the flow be done if the article exists in multiple lists? Should it pop up a dialog that allows the user to pick the lists to be removed from?

+1 to this idea since this dialog already exists when a user taps to unsave an article on multiple reading lists from the Explore feed:

Screenshot_20190209-020205.png (1×1 px, 396 KB)

IIRC @Sharvaniharan worked on this back in the day.

+2 - @schoenbaechler, can you sketch out the flow for this? We can re-use the concept @RHo posted above I think.

+3 @cooltey @Charlotte @RHo – updated the flow and screens on Zeplin to represent these enhancements. Used the original designs for the “Remove from reading lists“ dialog and design the feature. I’m not quite sure why the actual implementation is designed differently. @cooltey feel free to use the component design that is already in use.

Thanks @schoenbaechler, @Charlotte and @RHo

For the following, would you recommend to also update the design of removing from reading lists dialog in the Explore feed to be as the same as the design in Zeplin?

I’m not quite sure why the actual implementation is designed differently.

@cooltey please use the same design that is already in use in the explore feed. A redesign of it is not in the scope, I’ll think about filing a task that addresses this difference in design/implementation. Thanks!

Change 487980 abandoned by Cooltey:
Contextual actions for list item

Reason:
Moved to GitHub

https://gerrit.wikimedia.org/r/487980

Thanks @cooltey, feedback below.


Can we use Roboto Regular instead of Medium for the list names (Saved, People, etc) in this view:

Screenshot_20190301-161210.jpg (2×1 px, 242 KB)

Everything’s too bold currently.


Moving it back to “Did not pass QA“ for now. Thanks.

Nice @cooltey, moving it to “Ready for signoff“.