Fenix: Launch icon for private browsing

Created on 8 Feb 2019  Ā·  18Comments  Ā·  Source: mozilla-mobile/fenix

Why/User Benefit/User Problem

As a user, I want to be able to open the browser in private mode with TP on, so I can do quick private searches where no history is retained.

Acceptance Criteria (how do I know when I’m done?)

Allow user to always open 3rd party links in PBM + TP on #514
I can launch a search in private mode with 1 click (without opening the regular browser first)

E5 AndroidIntegration PrivateBrowsing engverified

Most helpful comment

Instead of creating a separate launcher icon (and potentially confusing users) could we consider supporting a private browsing shortcut? They offer similar functionality AND can be added to the home screen if the user chooses so.

For example with Chrome:

Shortcuts:

shortcuts_chrome

Added to home screen:

shortcuts_chrome

Compatibility

  • Shortcuts are available since Android 7.1
  • Since Android 8.0 shortcuts can be pinned (added to home screen)
  • Shortscuts can be dynamic too (e.g. if we want to have shortcuts for sync/linked devices).

All 18 comments

I just tested Facebook version 1.9.0 (Download APK). It was originally built around the time of Android version 4 (Ice Cream Sandwich and Jelly Beans), but can still be installed in Android Pie. It has lots of warnings, but many functionalities were surprisingly intact.

This version of Facebook was special, because it adds three launcher icons for three separate activities: Facebook, Camera and Messenger.

Pre sign in

Tapping all icons would bring you to the same sign in screen:

Post sign in

  • Tapping Facebook would bring you to your timeline on Facebook.app
  • Tapping Messenger would bring you to the ā€œMessagesā€ tab on Facebook.app
  • Tapping Camera would bring you to a camera view (?) that behaves as if it was a separate app

Facebook and Messenger

Both launcher icons share the same behaviour:

  • They are shortcuts to two views within the same Facebook.app
  • If you go to the app switcher, Android System sees one app

Facebook itself promotes these icons not as separate apps, but as ā€œshortcuts for sharingā€.

Camera

This launcher icon behaves differently:

  • Distinct, unique UI from Facebook/Messenger
  • There’s no entry point to access Facebook/Messenger from Camera, and vice versa
  • If I go to the app switcher, Android System thinks that it’s totally different from Facebook/Messenger

In other words, Camera behaves as if it’s a separate app.

Possible next steps

It seems as if we can design private browsing to behave in two ways:

  1. Launcher icon will open private browsing mode within Fenix.app
  2. Launcher icon will open private browsing that behaves as if it’s a totally separate app from Fenix

From our recent user research shareout, we know that there’s an opportunity for a specialised private browsing which is good at:

  1. Basic browsing performance: simple, lightweight, gets you there quickly
  2. Making privacy easy and convenient: no more worries about manually cleaning
  3. Creating a clean, distraction-free space: to help you feel organised, productive and tidy

To do this, we may have to pick an approach that defaults to private without requiring forethought or extra steps to switch into a mode within an app.

Is there’s an argument to be made for making private browsing its own thing?

Instead of creating a separate launcher icon (and potentially confusing users) could we consider supporting a private browsing shortcut? They offer similar functionality AND can be added to the home screen if the user chooses so.

For example with Chrome:

Shortcuts:

shortcuts_chrome

Added to home screen:

shortcuts_chrome

Compatibility

  • Shortcuts are available since Android 7.1
  • Since Android 8.0 shortcuts can be pinned (added to home screen)
  • Shortscuts can be dynamic too (e.g. if we want to have shortcuts for sync/linked devices).

This is in our Q3, but since it hasn't gone through the UX process yet, maybe we could use it as a case study for UX-Eng early collaboration, @lime124 ? Like @vesta0 decides how long we want to spend on an MVP, and then Eng and UX work together to come up with a solution that fits within that budget. (Maybe @sblatz can be part of this collaboration experiment?)

If we do this "UX-Eng Collab", then we could put it into this upcoming sprint 7.2!? (Depending on UX bandwidth)

I'd love to be involved in this šŸ˜„

We decided to timebox this to 1 sprint. Follow-up with QA during the planning to make sure they're comfortable with the QA time allotted.

I think if we're supporting a full-time Focus Mode, it makes sense to disable the default launcher icon and enable a different one. I've done this before and it works great. It would not only allow us to change the icon and the name string, if desired. It would also allow us to change any flags or extras on startup.

Nobody mentioned this but Firefox Light has this feature.
IMG_20190720_150838

@andreicristianpetcu I thought that this (otherwise great and useful!) feature has the possibility of introducing some confusion.

When I initially launch Firefox Lite, the app switcher looks like this. So far so good.

Let’s launch Private Browsing Mode. As a user, I notice that the same icon is now used to represent two different apps. Or is it two instances of the same apps?

Even when the icons are identical, each start page has a distinct visual design, so I can still tell the difference between the two modes.

Finally, let’s open some websites. Can I still tell the difference between the modes? Not easily, but yes.

  1. Private mode has a dark toolbar
  2. Private mode has a purple mask icon, and different set of icons on its toolbar (e.g. garbage bin)

However, if I activate Night Mode on Firefox Lite, normal browsing now has a dark toolbar too. The only way to tell which mode you’re in is by looking for the purple mask.


Seen from a visual design perspective, solving this problem seems relatively easy:

  1. If separated into a different instance, Private Browsing Mode should have a distinct icon.
  2. Private Browsing Mode should have a visually distinct appearance when compared to normal browsing – especially on dark theme.

We’ve done (or are in the process of doing) item 2. I’ve designed Private Browsing Mode to have a distinct start page and toolbar.

We haven’t done 1, and I’m wondering whether that’s possible within the constraint of Android OS?

removed ux label -it's on our radar already as it's part of the Q3 plan

@lime124 sizing UX effort as Medium here.

@AmyYLee to investigate if we need the "toggle" to set "always open in private mode". How does Firefox Lite work? Do we need to add the shortcut to the home screen in order to see the private mode as an option when setting default browser?

@sblatz @vesta0 @lime124 I looked into this on Firefox Lite. You don't need a PBM shortcut on homescreen in order to set links to always Open in Fenix PBM as default. In that case, I don't think we need to have the toggle switch in Fenix settings to always open in PBM. I can update the spec to reflect this.

Sounds good @AmyYLee :) Thanks for always thinking about intuitive lean solutions!

"toggle" to set "always open in private mode"

It would be awesome! :D I really need this! I get to allow stupid cookies on all sites yet they will be deleted.

The 3rd party links part is done, but I need more time on the shortcuts after Amy and I had our discussion about pinned shortcuts vs separate launcher.

Isn't issue #5054 related to this one in a way?

Verified that in Settings - Privacy section there is a new option "Add private browsing shortcut" which adds a private browsing shortcut to the device's home screen. Launcher icon opens private browsing mode within Fenix.app.
Tested on RC 2.0.0-rc.2 with Xiaomi Mi Pad 2 (Android 5.1), and One Plus 5T (Android 9).

Was this page helpful?
0 / 5 - 0 ratings