We are currently storing the page in localStorage in all of our listing pages which means it'll be remembered "indefinitely". This causes a bug where whenever you go back to that listing page and that data is no longer there, it'll show "no data" message even though there might still be data on the first page.
Steps to reproduce:
localStorage.removeItem('xpack.monitoring.data') and refresh the pagePossible solutions:
localStorage. There is still a possibility of triggering the same bug with this solution, but it's less likely.I personally favor solution # 1, since it'll be that fastest and the easiest to implement (with less potential for bugs). Would like to here other opinions though
Pinging @elastic/stack-monitoring (Team:Monitoring)
I'm starting to like # 1 too. I don't know how useful this feature has been - I think the downsides might outweigh the benefit here. Honestly, our filtering/sorting capabilities should make it easy for a user to find anything in case they are going back and forth.
Most helpful comment
I'm starting to like # 1 too. I don't know how useful this feature has been - I think the downsides might outweigh the benefit here. Honestly, our filtering/sorting capabilities should make it easy for a user to find anything in case they are going back and forth.