GH issue to track design work. Nicole is the designer
Fenix Flows WIP
https://docs.google.com/drawings/d/11Kj7OAvit6bE6QQt_ven0xnHGhmwu4Jc_N_oazdryAo/edit
@topotropic - this would have to be done before milestone 2 for engineering start (Feb 8).
Please comment add mock-ups as they are ready. Please also connect with @colintheshots on feasibility.
From Eng meeting to review stories [1] @topotropic
Please let us know when this will be finalized?
Just FYI - I edited Barbara's comment just now to @ nicole and add in the notification comment from that eng meeting.

Private Browsing is a mode that you can go back and forth from. To go in or get out of Private Browsing, tap the mask icon on the home screen.

When you go into then Private Browsing home screen:
a. IF no private tab exists, THEN Fenix will show an empty home screen with informational text
b. IF private tab(s) exists, THEN Fenix will show a home screen with tab preview underneath

Tapping on the Private Browsing search bar will bring it up to the top and open the keyboard, allowing you to search and/or go to websites.
Tapping on the search bar while youāre browsing will also open it up for editing.
This behaviour is identical to normal browsing, except in Private Browsing, Fenix uses a dark colour scheme.

To view the tab list, tap the Tab icon on the search bar. Note how the Tab icon has a mask inside it. This mask and the dark colour scheme are visual indicators that youāre browsing privately.
To get out of Private Browsing, you can always tap the mask icon.

To delete all Private Browsing tabs, tap the āDelete Sessionā button underneath the tab list. When tabs are deleted, we show the empty Private Browsing start page, so itās ready to go.

When there are multiple tabs, you need to scroll down a bit to access the āDelete Sessionā button. Itās a bit cumbersome with all the scrolling, but the UI is consistent. Weāll design a more accessible way to delete session in subsequent versions.

To add a new private tab, go to the tab list view and tap on the search bar. All searching and browsing performed from here will open the link in a new tab.
Tapping on the ā+ā icon next to the āPrivate Sessionā heading will also activate the search bar! (Credit to @topotropic).

While browsing normally, you can also add a new private tab. Open the main menu, then tap āPrivate Tabā.

Once you tap on the mask icon and enter Private Browsing, Fenix will stay there (even if it has been quit and reopened), unless you manually tap the mask again to exit Private Browsing.
Translation: you can make Fenix always start in Private Browsing using just one tap.
Those screens looks great! Tbh I wish Fenix would always look like in those private mode screens. :)
I wonder how using light/dark themes to distinguish between normal/private browsing affects our battery meta (#240) and generic dark mode (#252)? If battery live is something we really want to have an impact on then it seems counter-productive to have a bright white app by default? (CC @colintheshots)
@pocmo
I wonder how using light/dark themes to distinguish between normal/private browsing affects our battery meta and generic dark mode?
With the next version of Android rumored to support dark mode, it seems smart to decouple light/dark themes with normal/private browsing modes.
What we may want to consider instead is to have theme selection under Settings (which can be either āLightā, āDarkā or āFollow system settingsā).
To mark private browsing, we colour it differently from other icons āĀ neither light grey or dark blue, but purple.
Finding something that looks distinct from every other icons, but equally at home in both dark and light themes, is hard. Take the mockup below with a grain of salt.

Maybe something to consider in future versions?
One question Iād like to pose to the team is whether weād like Private Browsing history and tabs to persist or be erased/closed when the app is quit.
Scenario
Question
Should Private Browsing reopen its last state, or should it erase itself and start from scratch?
On iOS Safari, Firefox and Chrome
On Android Chrome and Firefox
Proposed Fenix behaviour
In summary, when Fenix is force quit while in Private Browsing, it will erase your Private Browsing history, but will remember that you still want Private Mode to open first.
Do we need further input from @colintheshots on this one before closing? Or can I close this out and eng can file follow up tickets?
When there are multiple tabs, you need to scroll down a bit to access the āDelete Sessionā button. Itās a bit cumbersome with all the scrolling, but the UI is consistent. Weāll design a more accessible way to delete session in subsequent versions.
@brampitoyo is there a reason we can't just have the "delete session" button just pinned to the bottom of the screen and the tabs just appear from beneath it as you scroll up? That way the button is always visible and you can still see lots of tabs at once.
@sblatz wrote:
@brampitoyo is there a reason we can't just have the "delete session" button just pinned to the bottom of the screen and the tabs just appear from beneath it as you scroll up?
Yes, we can āĀ and thanks for pointing it out!
In fact, the first set of concepts that Iāve explored has an āEraseā FAB on the tab list view (you can ignore the rest of the UI):

We can return to this UI again after v1 has released.
@brampitoyo one more question for you: do you have a specific transition animation in mind for switching the home view from normal to private mode (namely the background gradient)
@brampitoyo if not - we can have amy take a look when she's able to. i'm going to have her look at other animations as well . /cc @sblatz
@brampitoyo love the design and flow!
One question Iād like to pose to the team is whether weād like Private Browsing history and tabs to persist or be erased/closed when the app is quit.
I echo your suggestion for Fenix: "In summary, when Fenix is force quit while in Private Browsing, it will erase your Private Browsing history, but will remember that you still want Private Mode to open first."
@brampitoyo how do we want the browser menu to look in private mode? This is how it is by default:

Most helpful comment
@sblatz wrote:
Yes, we can āĀ and thanks for pointing it out!
In fact, the first set of concepts that Iāve explored has an āEraseā FAB on the tab list view (you can ignore the rest of the UI):
We can return to this UI again after v1 has released.