Page MenuHomePhabricator

Turn Flow ToC bar into a Search/ToC bar (Search)
Open, MediumPublic2 Estimated Story Points

Assigned To
None
Authored By
DannyH
Feb 13 2015, 12:51 AM
Referenced Files
F2568199: flow-toc-disabled2.png
Sep 11 2015, 10:07 AM
F2568150: Screen Shot 2015-09-11 at 11.31.49.png
Sep 11 2015, 10:07 AM
F2568196: flow-toc-disabled.png
Sep 11 2015, 10:07 AM
F2568201: flow-toc-new-activity.png
Sep 11 2015, 10:07 AM
F190663: temporary_sorting-toc.png
Jul 9 2015, 5:31 PM
F190665: temporary_sorting-search.png
Jul 9 2015, 5:31 PM
F189164: temporary sorting.png
Jul 6 2015, 5:23 PM
F41754: sorting-basic.png
Feb 16 2015, 5:40 PM

Description

Spec:

The ToC bar becomes a combined Search/ToC bar.

The default state:

search_bar_default.jpg (385×836 px, 98 KB)

When the Search area gets the input focus (e.g., the user clicking on it or switching to it using the tab key), the ToC area reduces to an icon:

search_bar_search.jpg (427×857 px, 143 KB)

When the user clicks on the ToC, "Browse topics" is highlighted, and the topics list opens underneath:

basic-toc-open.png (424×553 px, 40 KB)

When the user scrolls, the bar becomes sticky (fixed to the top of the page), the ToC part takes most of the space showing the current topic title (search becomes an icon), and the ToC is scrolled so that the visible topics in the list are the ones next. Note that the expansion of the ToC part on scroll will not occur if the input focus is on search (or there is an active search).

toc-sticky-header.png (51×622 px, 5 KB)

Design notes

  • When the different parts of the Search/ToC bar expand/contract, a quick transition should be used to avoid the change to feel jarring.
  • Keeping the access to sorting options. Until the advanced search panel is available (were sorting options may go in the future) we want to provide access to sort options in the following way:
    • In the ToC, show a footer with the drop-down to select between the two sorting options.

temporary_sorting-toc.png (288×608 px, 17 KB)

  • When the text focus is on the search bar, show the same component below the search bar to suggest the options to sort.

temporary_sorting-search.png (137×608 px, 8 KB)

Event Timeline

DannyH assigned this task to Pginer-WMF.
DannyH raised the priority of this task from to Medium.
DannyH updated the task description. (Show Details)
DannyH subscribed.

@DannyH, I added details to the task description to answer your questions. Feel free to remove the questions if you consider them to be answered.

DannyH renamed this task from Turn ToC bar into a Search/ToC bar (with questions for Pau) to Turn ToC bar into a Search/ToC bar .Feb 18 2015, 1:02 AM
DannyH removed Pginer-WMF as the assignee of this task.
DannyH updated the task description. (Show Details)
DannyH added a subscriber: Pginer-WMF.

@Pginer-WMF, thanks! I updated the ticket, and we'll talk about it in the estimation meeting tomorrow. :)

DannyH renamed this task from Turn ToC bar into a Search/ToC bar to Turn ToC bar into a Search/ToC bar (Search).Feb 18 2015, 1:10 AM

Once search and filters are available, the plan is to support sorting through the advanced search panel (T99875 ). However, we don't want to remove the functionality until the advanced panel is available. Thus, we'll need a temporary access to sorting on the initial steps of implementing search (when the basic search bar is available but there are no filters or advanced panels.

The idea is to provide the sorting option through a simplified toolbar shown when the search bar gets the input focus and at the footer of the ToC. This is similar to way quick filters (T90471) will be presented but considering only one selector to select the sorting options.

temporary sorting.png (433×608 px, 25 KB)

The simplest way to provide some basic support would be to extend the current sorting menu with a "Favourites" that would show the topics you starred first. That will not solve all filtering needs but it would provide users at least with an option to mark items for later and not having to hunt for them with lots of scrolling. I'm not sure if the internal data structures make it an easier change, engineers can provide a better estimate on this if we consider the change worth it.

@Pginer-WMF: is you idea related to T99785: Show richer info on Flow topics at the Table of Contents?
I've suggested on T106410 to display a "resolved" mark on the TOC, can it be done at the same time?

@Pginer-WMF: is you idea related to T99785: Show richer info on Flow topics at the Table of Contents?

Its in the same area but not directly related. Enhancing the ToC facilitates visual scanning but the elements you are not interested in are still in the middle.

What I commented here would result in something like this:

Screen Shot 2015-09-11 at 11.31.49.png (300×755 px, 40 KB)

It uses sorting as a basic replacement for filtering, but it would allow you to get easily to the items you expressed your interest in before with minimal scrolling. It will not solve all usecases, but will facilitate different patterns that are quite hard right now.

I've suggested on T106410 to display a "resolved" mark on the TOC, can it be done at the same time?

My concern with the resolved mark is that it may be emphasising those elements where we I'd expect users to focus on the pending ones more. It would be great to be able to allow to discriminate completed items without affecting the scanning line or drawing too much attention to them.
In the ticked you linked we were exploring the option of having some visual cues on the left side for that purpose. We can try to apply the same approach to increment a bit the prominence of resolved topics. Some mockups below to illustrate how that may look in different contexts:

One resolved topic:

flow-toc-disabled.png (513×756 px, 48 KB)

Two resolved topics:

flow-toc-disabled2.png (514×763 px, 58 KB)

Future uses of the same pattern to highlight other elements (e.g., items with recent activity the user has not read yet):

flow-toc-new-activity.png (505×761 px, 51 KB)

Thank you for your detailed answer!
I like the highlight principle, but I'm still concerned by accessibility concerns (I don't always see the light grey you use, which is black to me). :)

Krinkle renamed this task from Turn ToC bar into a Search/ToC bar (Search) to Turn Flow ToC bar into a Search/ToC bar (Search).May 4 2020, 9:52 PM