manekinekko / angular-search-experience

Algolia + Angular = 🔥🔥🔥
MIT License
166 stars 28 forks source link

Browser history flood and user experience #21

Open maximelafarie opened 5 years ago

maximelafarie commented 5 years ago

Describe the bug Each time a request is made, it makes a new entry in the browser history.

To Reproduce Steps to reproduce the behavior:

  1. Go to the app's GitHub repo
  2. Click on the app link near the repo title in order to access the app
  3. Once on the app, type any word in the app's homepage search bar (e.g. "fruit" [for Fruit Ninja])
  4. Try to go to back to the app GitHub repo (with browser button or trackpad) where we were in step 1
  5. (Optional) Check your browser history

Expected behavior Go to the previous page easily and/or don't spam the browser history

Screenshots Below is what my browser history looks like: image

Desktop (please complete the following information):

Additional context Actually I think it's useful to keep a search entry in the user's browser history, but not for each character he typed. 😉

Btw: awesome app! Thank you! 🖖🤓