fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[UX] Quick Action Bar

Open lime124 opened this issue 7 years ago • 27 comments

Update 3/21 - Need to remove Screenshots from QAB and Library and notify engineering

User Story: As a user I want easy access to common functionality for using the information I find on the web.

Current Design Status:

  • In Good Shape
  • Foundational Design Done
  • Needs more design detail work

Design Priority: P1

Mockups: https://mozilla.invisionapp.com/share/Y5Q1NM7VMN9#/341653120_Quck_Action_Bar

┆Issue is synchronized with this Jira Task

lime124 avatar Jan 16 '19 23:01 lime124

This is only the animation and UI, no functionality for screenshots etc needed.

@colintheshots can this be pulled into milestone 1?

bbinto avatar Jan 23 '19 19:01 bbinto

Eitan mentioned an accessibility note (for when we implement this--just don't have an engineering ticket right now):

The custom gesture we use to activate the quick action menu will require some extra work to support TalkBack since all gestures are redirected when it is enabled.

sblatz avatar Jan 28 '19 18:01 sblatz

@colintheshots Do we still want to talk about a single actionsheet?

boek avatar Jan 29 '19 00:01 boek

Yes, I like the idea of a single actionsheet. I have mixed feelings about leaving half of the buttons revealed with a tiny drawer handle. If it were me, I'd make the handle bigger, use a touch delegate to make it bigger still, and bounce the sheet briefly so the user knows the buttons are there. Affordances aren't usually easy or obvious and I won't pretend to have the answers.

colintheshots avatar Jan 29 '19 01:01 colintheshots

Yes, I like the idea of a single actionsheet. I have mixed feelings about leaving half of the buttons revealed with a tiny drawer handle. If it were me, I'd make the handle bigger, use a touch delegate to make it bigger still, and bounce the sheet briefly so the user knows the buttons are there. Affordances aren't usually easy or obvious and I won't pretend to have the answers.

@boek @colintheshots do you mean having the browser toolbar and the quick actions on the same sheet?

shorlander avatar Jan 30 '19 21:01 shorlander

@shorlander Yep! I I think the main concern with how many touch targets there would be at the bottom of the phone. I have no problem problem implementing the current design so we can test it out and iterate based on feedback :)

boek avatar Jan 31 '19 23:01 boek

FYI, we now have an experimentation setup to A/B test layouts. We can even try multiple versions.

colintheshots avatar Feb 01 '19 00:02 colintheshots

That sounds great! There are several different versions we could try. If we can start with this one I can also post some of the other ideas. Is that a enough to get started and for me to close this? @boek / @colintheshots

shorlander avatar Feb 01 '19 01:02 shorlander

@lime124 note that we need to reopen this, update designs to remove Screenshots from QAB and Library and notify engineering

mheubusch avatar Mar 21 '19 14:03 mheubusch

For reference, this is what I have implemented right now:

Notes:

  1. I took the liberty of adding a fun "bounce" animation. This automatically plays the first two times a user enters the browser view to give the user some idea what's behind the pull tab.
  2. A shorter, less pronounced "bounce" animation plays when a user taps the grab handle to indicate to them that they must swipe up in order to activate it.
  3. The pull tab itself does not have to be touched in order to pull up the sheet. Instead, a user can swipe anywhere from beneath the tab to start revealing the quick action sheet, this makes it so that users don't have to press a tiny touch target in order to get the menu.
  4. If a user has a screen reader active, the quick action bar will always stay open and will not collapse even when the user scrolls (just like is the behavior of the toolbar currently)

Let me know if we don't want the animation as a discoverability tool or if you'd like me to change any of the design.

tab grab

sblatz avatar Mar 21 '19 16:03 sblatz

4. If a user has a screen reader active, the quick action bar will always stay open and will not collapse even when the user scrolls (just like is the behavior of the toolbar currently)

I don't think that would be the desired behavior. It takes up an nontrivial amount of screen space.

I think this should work similar to the app drawer in the home screen. There is a little arrow that appears when TalkBack is on. It becomes focusable with the cursor. Double tapping it opens the app drawer. We don't even need to add a special widget for TalkBack users since it looks like we have a little pull tab already.

using the app drawer icon

Note, a TalkBack user can use a two finger swipe which passes through to the app as a one finger swipe. So in the app drawer case, a familiar user would know they can do a two finger swipe in the bottom fourth of the screen as a shortcut. This should be considered a power-move and not be the expected way for users to do this, since it requires dexterity and is not discoverable.

Here is an example: using two finger swipe

eeejay avatar Mar 21 '19 16:03 eeejay

Thanks for raising these points, @eeejay! I am addressing them here

sblatz avatar Mar 21 '19 18:03 sblatz

I like the concept and I'm glad to see it working.

In practice though, the handle while collapsed is too small and very difficult to swipe up properly. It's even worse when the URL bar is offscreen because newer Android versions have the task manager on swipe up and it's really not possible to tell that there's a quick action bar there. On Focus multitasking v2, we used a small handle tab in the middle of the screen to increase the touch area and the user's knowledge that it was there. There must be a number of ways to solve the issue.

colintheshots avatar Mar 22 '19 17:03 colintheshots

@shorlander @lime124 do we want this show in custom tabs as well?

sblatz avatar Mar 22 '19 17:03 sblatz

@brampitoyo ^

lime124 avatar Mar 22 '19 21:03 lime124

@sblatz @shorlander @lime124

do we want this show in custom tabs as well?

Sorry for the overdue reply!

Yes. I think that the Quick Action Bar should appear on the Custom Tabs, because “Share”, “Favorite” and “Read” are all helpful actions to have when you open a third-party website.

I think that “Download” also has a place if you want to save pieces of information on the page to access later.

Custom tab app bar will be shown on top of the screen, so we’ll show the Quick Action Bar below it.

Thoughts, @shorlander?

brampitoyo avatar Apr 01 '19 01:04 brampitoyo

Thoughts, @shorlander?

Yes, I agree. It's one of the pieces we discussed bringing into Custom Tabs to make it easier to access this functionality without leaving the Custom Tab.

shorlander avatar Apr 08 '19 23:04 shorlander

I think that “Download” also has a place if you want to save pieces of information on the page to access later.

This is really weird - I thought "Download" was going to be a list of downloads (which I guess doesn't make a hell of a lot of sense to appear as a quick action on every page, but...).

The way you make it sound, Download is something more like a "take a screenshot" on desktop or "Save".

Either of those would be far less confusing if the "Download" button isn't just a list of Downloads.

yoasif avatar Apr 09 '19 00:04 yoasif

@yoasif, yes it's my understanding that the Download button downloads the current page, and does not display a list of downloads.

sblatz avatar Apr 09 '19 14:04 sblatz