HolodexNet / Holodex

Holodex frontend source code
https://holodex.net
MIT License
532 stars 92 forks source link

Feature: navigation based on history for sub tabs #725

Closed INCENDE closed 12 months ago

INCENDE commented 1 year ago

Fixes #607

Updated the HomeFave view:

  1. When changing tabs, uses router.push instead of router.replace to ensure that the tab navigation history is saved internally by vue-router
  2. Add listener when user presses back button (onpopstate) which ensures the tabs are loaded a. And also cleanup listener when leaving page
sphinxrave commented 12 months ago

Thank you for the PR as always 🙏