day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
636 stars 68 forks source link

[Bug]: UI doesn't update as you scroll through epochs in Event History panel #353

Closed Gregg8 closed 2 years ago

Gregg8 commented 2 years ago

When you press the back arrow any number of times (and forward arrow), or you click directly on an epoch, the UI remains unchanged.

I can confirm that app-db DOES correctly update, which makes it all the more confusing.

Is it updating a copy of app-db?

10x Version

1.2.3

Reagent Version

1.1.0

re-frame Version

1.2.0

What browsers are you seeing the problem on?

Chrome

Gregg8 commented 2 years ago

This should be added to: https://github.com/day8/re-frame-10x/issues/302

superstructor commented 2 years ago

@MawiraIke Please look at this only as bug fix on existing code. Don't attempt #302 yet. Thanks

MawiraIke commented 2 years ago

@superstructor looks like this functionality already exists in settings as sync app-db with epoch navigation. However, I find it to be a pain to have to switch it every time I need to "Time travel" and so I would suggest we also add it to local-storage for persistence during page reloads e.t.c.

superstructor commented 2 years ago

Thanks, agreed @MawiraIke