numberscope / frontscope

Numberscope's front end and user interface: responsible for specifying sequences and defining and displaying visualizers
MIT License
7 stars 15 forks source link

[ui2] Browser "back" not working (at least not reliably) #414

Open gwhitney opened 3 weeks ago

gwhitney commented 3 weeks ago

To reproduce, at least from the current contents of #406:

  1. Open the Tau Many Primes gallery visualization, e.g., http://localhost:5173/?name=Tau+Many+Primes&viz=FactorFence&signs=false&seq=OEIS+A000594
  2. Hit change sequence and select A000045, V-F numbers
  3. Use the browser's back button.

What I am observing is that the URL in the browser's URL bar changes back to the one shown above, but the visualization does not return to showing the Ramanujan tau numbers. Hitting the browser reload returns to that visualization. But it should not be necessary to hit reload, the visualization should update automatically when the URL changes.

gwhitney commented 2 weeks ago

This needs an e2e test for sure.