day8/re-frame-10x

Option to not automatically switch to the latest epoch

Closed this issue · 3 comments

I'm using re-frame-10x in an app with a timeout that fires an event every 20 seconds. When that happens, the dashboard automatically updates to the latest epoch. This is often inconvenient because it disrupts me while I'm inspecting a previous epoch. I don't want to ignore the event because I may be interested in inspecting information about it, but I don't want to automatically switch to its epoch when it happens. Is there a way around this problem?

Probably the best workaround at the moment would be to ignore that event, and then unignore it when you do want to inspect it. We’ll think about other ways to improve this behaviour.

kimo-k commented

This always bugged me, too. Now in #389, the view will stick when you select any epoch but the latest.