Skip to content

Conversation

@CDRussell
Copy link
Member

@CDRussell CDRussell commented Jun 1, 2020

Task/Issue URL:

Description:
Fixes the navigation state problems for the overflow and privacy grade.

Steps to test this PR:

  1. From a fresh tab, perform a search
  2. Go back to return to blank tab
  3. Verify the overflow menu options are correct for this state. Everything disabled except:[go forward, bookmarks desktop site, settings]
  4. Go forward to return to SERP
  5. Verify the privacy grade shown correctly as A
  6. Verify the overflow menu options are correct; everything enabled except go forward

Internal references:

Software Engineering Expectations
Technical Design Template

CDRussell added 3 commits June 1, 2020 10:44
This ensures that when you navigate forwards, the state is correctly identified as having changed from the previous state. Without this, the states are compared and we conclude the state is unchanged, and the `site` is never rebuilt so remains null.
@CDRussell CDRussell requested a review from malmstein June 1, 2020 15:18
@CDRussell CDRussell marked this pull request as ready for review June 1, 2020 15:18
@malmstein malmstein self-assigned this Jun 1, 2020
Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

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

We went through the changes together and this PR solves what intends to. I've been playing around with API 21, API 26 and Android 10 and it works as expected.

Good job @CDRussell !

@CDRussell CDRussell merged commit d03a97c into develop Jun 2, 2020
@CDRussell CDRussell deleted the feature/craig/fix_overflow_menu_state_upon_navigating_back_home branch June 2, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants