open-simulation-platform / cosim-demo-app

Application demonstrating libcosim features
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
17 stars 4 forks source link

Trend page is not refresh friendly #177

Closed eidekrist closed 4 years ago

eidekrist commented 4 years ago

Copied from #143:

Scenario 2:

Setup

  • Run cse-server-go (start it again), load house demo, press play

Action:

  • While running, have one of the trends page open. Press refresh

Result:

  • Models don't disappear (ok)
  • Trend freezes (not ok)
  • A lot of data is dumped to the terminal (not ok)

The client sends which plot is active as the first command after refresh, but does not have enough data to know what the actual id of the plot is, only the index. A possible solution could be to use the plot id as route parameter instead of index.