[UX] Quick Action Bar
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
This is only the animation and UI, no functionality for screenshots etc needed.
@colintheshots can this be pulled into milestone 1?
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.
@colintheshots Do we still want to talk about a single actionsheet?
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.
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 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 :)
FYI, we now have an experimentation setup to A/B test layouts. We can even try multiple versions.
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
@lime124 note that we need to reopen this, update designs to remove Screenshots from QAB and Library and notify engineering
For reference, this is what I have implemented right now:
Notes:
- 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.
- 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.
- 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.
- 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.

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.

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:

Thanks for raising these points, @eeejay! I am addressing them here
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.
@shorlander @lime124 do we want this show in custom tabs as well?
@brampitoyo ^
@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?
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.
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, yes it's my understanding that the Download button downloads the current page, and does not display a list of downloads.