equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 38 forks source link

RobotCard overflows if the RobotName is too big #1307

Closed UsamaEquinorAFK closed 10 months ago

UsamaEquinorAFK commented 10 months ago

Describe the bug The robot name overflows from the robot card if it is too big

To Reproduce Add a new robot from Dev database with a huge name and check.

Expected behavior The name should stay inside the card possibly adapt by decreasing text size.

Image

tsundvoll commented 10 months ago

Not sure the best ting is to adapt by decreasing text size, I think capping the robot name, for example like "THEMANNNN..." is better, possibly also adding tooltip when hovering over the name showing the full name.

Adding the UX tag to the issue as well.

UsamaEquinorAFK commented 10 months ago

https://github.com/equinor/flotilla/pull/1310

UsamaEquinorAFK commented 10 months ago

Expands to full name if you hover over it

Image