waltz-controls / waltz

A general purpose web application that provides the interface between SCADA(s) system and the scientific users who define and calibrate their experiments
https://waltz-docs.readthedocs.io/en/latest/
GNU General Public License v3.0
17 stars 6 forks source link

Alias not shown in Dashboard #240

Closed feinfinger closed 4 years ago

feinfinger commented 4 years ago

In the dashboard profiles it was possible to make a table with device attributes and the alias name of the device. This still works, but when reopening Waltz, the alias names in the dashboard are not shown anymore, but the motor tango device names are shown instead. Would it be possible to make the column Device selectable for Tango device name / alias?

Ingvord commented 4 years ago

@feinfinger thanks for reporting this issue.

This is a known issue due to #225. The problem is that when one reopens Waltz Dashboard fetches device names from the UserContext. At that point Dashboard does not know anything about aliases... seems that easy-to-do fix is to store aliases along with device names in the UserContext.

Also adding switch between aliases and names sounds like a good idea to me. Thanks for the hint!

Ingvord commented 4 years ago

Should be deployed with the next release!