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

Make trend page refresh friendly #179

Closed eidekrist closed 4 years ago

eidekrist commented 4 years ago

Fixes #177.

The active-trend command now uses the trend index instead of the trend id as its argument. The trend index is part of the route data, so we don't depend on a data from the server before sending this command.

Test by loading a project, hit play, navigate to a trend and hit F5. When the page reloads, the plot should continue to be updated, and not be frozen like described in the issue.