Skip to content

Display the Tango unit

Hello.

At SOLEIL Synchrotron, we tried webjive and started working on a fork.

We did some enhancements in classic webjive attribute display in order to :

  • Have a better display for image attributes (colored ImageViewer for number image attributes, black and white ImageViewer for boolean image attributes, table for string image attributes, and value at mouse position for both boolean and number image attributes) boolean_image_ro double_image_ro double_image_ro-mouse-position string_image_ro

  • Ensure to display all scalar state attributes the same way (this implies some code refactoring) and ensure to respect the official tango state colors state

  • Attempt (failed) to display meta information like format and unit (following screenshot is obtained when clicking on information (i) button) float_scalar-info

I used my personal email address, candelrg@hotmail.com, to make a gitlab account, so you will see modifications done by that account (GIRARDOT @candelrg).

I pushed everything in the “develop” branch. I’m definitely not a javascript/typescript/web expert, nor a git one. I’m not sure about the procedure to follow concerning the modifications I did, but if you are interested in them, don’t hesitate to merge the code and feel free to do the modifications you want if you think I didn’t do things the right way.

Regards,

Raphaël GIRARDOT, SOLEIL Synchrotron

Edited by Vincent Hardion

Merge request reports