[UX] Delete browsing data
User Story
As a user, I want to quickly delete my browsing data – history, cookies, cache, etc. – whether it’s recent or from a long time ago.
(Private Browsing data can easily be deleted using a Floating Action Button, so it’s irrelevant for this issue).
Invision Spec: https://mozilla.invisionapp.com/share/HNRJ99EF3E6
┆Issue is synchronized with this Jira Task
Question:
A session is a time-bounded collection of tabs. Each tab contains one or a few history items.
We don’t provide the ability to delete session. Instead, the user is able to delete:
- Open tabs: which will delete the current session
- History: which will delete all sessions within a time range
Does separating the notion of open tabs (session that’s currently open) and history (sessions that are in the past) make sense, or is it confusing?
@mheubusch may have more questions, as well.
@brampitoyo You can delete a session - if you select the three dot menu on each session (kabob) you can Delete or Send and share I think the question is if you delete a session should you also remove the sites/pages in the session from your browsing history? If you delete some part of your history, will it also remove that part from your Sessions?
@brampitoyo are users still able to delete the browsing history from Library or are you suggesting that is revised as well?
@mheubusch wrote:
[…] if you delete a session should you also remove the sites/pages in the session from your browsing history?
This sounds like a clear “yes” to me. If you delete a session, all history items associated with that session should also be deleted.
If you delete some part of your history, will it also remove that part from your Sessions?
Hypothetical corner case (which may very well be superficial):
I have a session with many tabs. Some tabs are >60 minutes old. Some tabs are <60 minutes old. Let’s say that I’m erasing history within the time range of an hour ago?
Do I expect my set of tabs to stay either 100% kept or 100% deleted if it belongs to a session, or is it okay if some tabs within a session are deleted, and some are intact?
I think the “100%” answer is the more correct one, because it’s cleaner. But if that’s the case, when a session sits right in the time boundary, should we err towards keeping it, or deleting it?
@hmcgaw wrote:
are users still able to delete the browsing history from Library or are you suggesting that is revised as well?
Users will still be able to delete particular facets of their data from the library sub-pages. And for Site Permissions, there is a “Clear all permissions for this site” button that users can access on a per-site basis.
This is meant to complement those methods with facets that we cannot normally expose, like cookies, cache and offline website data.
@bbinto @vesta0 Is there a corresponding Meta for Deleting All Browsing Data? I can't find it but do you think it belongs in an existing feature, like Settings?
There is not, I'd say settings is the best epic to assign it to, @mheubusch
@cpeterso Here are revised (and ugly) wireframes for our propsal to clear different types of data. https://docs.google.com/presentation/d/1ZQcGlkmt9c9FU4Rh_81GA8cz7ZVFJ-kkl3uEnVhyTRs/edit?usp=sharing
What we'd like to know is 1. can GV support these categories? and 2. if not, can we meet to discuss what our options are?
GV does not currently have an API to delete browsing history separately from "cookies and site data". This is GV bug https://bugzilla.mozilla.org/show_bug.cgi?id=1489669. The GV team also has some plans for a StorageController API to selectively delete site data, but nothing decided or in progress.
Resetting just site permissions is possible because site permissions are managed by Fenix, not GV.
Closing just open and saved tabs should be possible because tabs are managed by Fenix, not GV.
@mheubusch @shorlander posted updated spec in description up top and moved card to Design Review.
@AmyYLee I don't think you posted the correct link - it is the old spec that bram designed.
@mheubusch I updated the spec. Let me know if there's any additional edits. Thanks
@shorlander pls review
@shorlander @AmyYLee Do we want tab collections to be a part of this UI? They are the only item in this list that isn't "browsing data".. To me it would be akin to having Bookmarks, or a read it later list in this section as well. I think collection management would be better suited to the Library.
@shorlander @mheubusch would you please share the latest mocks on this? The current implementation does not map to any of the existing mocks and I'd like to know if the mocks have changed or if the implementation is incomplete.
@shorlander @mheubusch would you please share the latest mocks on this? The current implementation does not map to any of the existing mocks and I'd like to know if the mocks have changed or if the implementation is incomplete.
https://mozilla.invisionapp.com/d/main#/console/16853870/358010183/preview
Looks right to me. Although it is missing Search History.
@mheubusch can we close this issue? Any enhancements can be tracked in a new issue.
This is implemented, let's file follow-up issues if necessary :)