-
Notifications
You must be signed in to change notification settings - Fork 41
Sorting options #71
Comments
I'm curious about the best way to make this component accessible for vision-impaired users. |
Dependent on #152 |
@sandysage @changecourse should the alphabetic sorting rely on only the item's title, or other parameters as well / if the title is missing? |
@changecourse @nickbrandt what should the selector in the upper left look like when the user has selected "Recently Used" as their sorting option? |
@sashei I added a screen showing how this would appear. Essentially we are just replacing the label with "Recent". |
@nickbrandt @changecourse also, there is no "highlighted" or "selected" color for this button in Zeplin. |
Let's handle this the same way we are with the "pressed" state for the Back button on the detail page, where we reduce the opacity to 60% of the clicked item. |
Let's start with just the item title. It's my understanding then, any items with missing titles would appear first in the ordering. Does that seem right? And then maybe numerical titles (eg an IP address)? |
should the alphabetic sorting rely on only the item's title, or other parameters as well / if the title is missing?
And I don’t know if this would be appropriate, but perhaps this is an opportunity to standardize and use a the same/similar approach to what @jimporter has implemented in the extension for alpha sorting and search matching (and fallbacks conditions)?
|
@devinreams Yeah, that's probably the best course. What do you recommend for having shared product requirements between repos? Is there a doc that this best lives within? As I understand it for the extension:
So for this issue, I think what we have offers parity with the extension in addition to the functionality @sashei has implemented for sorting. |
@sashei How are we determining recency? Is that an attribute in the datastore that is shared across our product offerings? I just can't recall :P |
It may be useful to document shared requirements in the http://github.com/mozilla-lockbox/mozilla-lockbox.github.io/ where we have other overlapping documentation (process, architecture design).
That was the idea: @sashei just implemented the field in the datastore itself: mozilla-lockwise/lockbox-datastore#96 And there are two corresponding stories to actually do something with it:
Please note metadata like this does exist in the existing Firefox login store: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/LoginStore.jsm#24-27 (date created, date last used, date changed, times used). |
Per discussions, the concept of "Recency" is local to Firefox desktop, is not synced. Solution A: concept of "Last Used" has to be incorporated in the local storage, knowing any implementation would be specific to the mobile device. (DEPENDS ON: FxA storage) If removing recency, we'll want to consider altering the sort options to Alpha and Reverse Alpha sort. @sashei I believe this story is now on hold pending feedback on FxA storage, yes? |
Visual Design
InVision
https://mozilla.invisionapp.com/share/7JEUG47ZU#/screens/268014044
Recently Used Selected: https://mozilla.invisionapp.com/share/XCEV238ZD#/285909362_Entry_List_-_Sorted_Recently
Zeplin
https://zpl.io/bokk6mX
Recently Used Selected: https://zpl.io/VxB3Kxk
The text was updated successfully, but these errors were encountered: