CodeforAustralia / school-finder

:eyes: Find schools by location
https://education.nsw.gov.au/school-finder
GNU General Public License v3.0
17 stars 7 forks source link

reset app state on 'new search' #297

Closed techieshark closed 7 years ago

techieshark commented 7 years ago

Notable changes:

Lilith-Palmer commented 7 years ago

@techieshark re the second change - is element clearing reliant on using the 'new search' button? That's how it's acting. I thought part of the issue was users scrolling and not using the button.

techieshark commented 7 years ago

@Lilith-Palmer yeah it doesn't make sense to remove things from the screen simply because someone scrolled up, so we don't remove UI elements on scroll (just on clicking button).

Lilith-Palmer commented 7 years ago

@techieshark ok no worries - didn't realize the original address entry would be hidden upon name search.

Lilith-Palmer commented 7 years ago

To clarify - the behavior of the tool is different, depending on whether a user:

This is to match user expectations. Use of the new search button hides the users address details from the original search. This is consistent with user expectations of a cleared or reloaded state.

When a user scrolls, the address details remain - as expected when no reload/refresh has been undertaken.

Lilith-Palmer commented 7 years ago

@Rustuma and myself have tested this commit - both happy for it to merge

techieshark commented 7 years ago

woo! thanks for testing! merging.