Closed Bug 1038232 Opened 11 years ago Closed 11 years ago

Allow users to clear search history

Categories

(Firefox for Android Graveyard :: Search Activity, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1022105

People

(Reporter: eedens, Assigned: eedens)

References

Details

Attachments

(1 file)

We collect search history for the search activity. Users should be able to clear this in the same way they clear other private info (browsing history, cache, etc). The "Clear private data" UI shows two places this might make sense -- "Browsing history" and "Form & search history". So we'll need to decide which will trigger clearing the search history. Content provider: https://lxr.mozilla.org/mozilla-central/source/mobile/android/base/db/SearchHistoryProvider.java Unit tests and examples: https://lxr.mozilla.org/mozilla-central/source/mobile/android/base/tests/testSearchHistoryProvider.java
As dria mentioned in bug 1038912, it would also be nice to give users a more fine-grained tool to clear individual search terms. This may be out of the scope of this bug, but it's something to consider. Maybe a contextual action on search history items that appear?
Flags: needinfo?(ibarlow)
Flags: needinfo?(alam)
I'd think that the 3-dot menu along the bottom would be a good place to put this (at least for now). We could probably use the same styling as the current 3-dot menu on Firefox for Android but (as the gravy on top) I'd like to see if we can show an animation before actually clearing all items. This would be a simple slide that shows the 'x' by sliding over all cards before clearing them. This will probably help the discover-ability of 'per item deleting' while also providing a better experience overall. Thoughts?
Flags: needinfo?(alam)
Assignee: wjohnston → eedens
Priority: -- → P1
Merging this with bug 1022105 which adds the ability to clear search history from a settings menu. For clearing *individual* history items, see bug 1030896.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(ibarlow)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: