TOSIT-IO / tdp-ui

Graphical interface for tdp-server
Apache License 2.0
3 stars 2 forks source link

Refresh variables when switching pages #169

Closed PaulFarault closed 1 year ago

PaulFarault commented 1 year ago

For now, variables are only fetched all at once when loading the app (either after login or when refreshing). We need to update corresponding sub-part of the slice when navigating through services and components.

PaulFarault commented 1 year ago

At first I'll only trigger the refresh at services level.

Idk how to handle it at component level. An user should be able to edit the variables service wide. We need to find a way to show that the service that being edited has been changed on the server.