Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Clear GV history after wiping of the history #1874

Closed
wants to merge 2 commits into from

Conversation

keianhzo
Copy link
Contributor

Fixes #1749 Clear navigation buttons after history is cleared by recreating the session. Also fixed the way history is cleared, before we could clear yesterday and last week's entries but seeing the way desktop does it it makes more sense to always clean from now to those ranges.

@keianhzo keianhzo requested a review from bluemarvin September 24, 2019 12:27
@bluemarvin
Copy link
Contributor

I think we should wait until GV support the session history clear. Having the windows disappear when clearing history is jaring. I think having the forward/back buttons still work is the lesser of the two issues. Maybe break out the fix for what history gets cleared to a different PR?

Copy link
Contributor

@bluemarvin bluemarvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's wait until we can do it right with GeckoView API support.

@bluemarvin
Copy link
Contributor

@bluemarvin bluemarvin added blocked Bugzilla Main activity on this bug is in Bugzilla labels Sep 25, 2019
@bluemarvin bluemarvin added this to the v1.5 milestone Sep 25, 2019
@bluemarvin
Copy link
Contributor

GeckoSession.purgeHistory() will probably be in the September 27th build of Nightly GeckoView.

@bluemarvin bluemarvin force-pushed the master branch 3 times, most recently from 918a522 to ae782b4 Compare September 27, 2019 19:36
@bluemarvin
Copy link
Contributor

@keianhzo The GeckoSession.purgeHistory() function is now available in GeckoView.

@bluemarvin
Copy link
Contributor

This is now addressed in #1903

@bluemarvin bluemarvin closed this Oct 2, 2019
@bluemarvin bluemarvin deleted the clear_history_navigation_buttons branch October 10, 2019 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked Bugzilla Main activity on this bug is in Bugzilla
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clearing history does not update the forward button.
2 participants