inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

bug #1479: Configuration UI overlaps Combined-Services-Badge and Show-Logs-Icon #1489

Closed sbraitsch closed 1 year ago

sbraitsch commented 2 years ago

Closes #1479 Added a max width to the name template. Name + ID combinations that are too long will get ellipsized to prevent overlap. I also moved the service-count badge statically next to the show log and show config icons to make the position consistent. Added the name + id as a tooltip, so it can be seen fully even when it gets ellipsized.


This change is Reviewable

heiko-holz commented 2 years ago

Will be discussed in the week of 29.08-02.09.2022 when I'm in FFM

danipaniii commented 2 years ago

In order to always show the full name of the service name and not having to hover over it, there is the possibility to change the styling like this: .this :global(.might-overflow) { max-width: 19rem; display: inline-block; white-space: normal; overflow: visible; overflow-wrap: break-word; text-overflow: unset; }

danipaniii commented 2 years ago

The original solution:

original

When hovering over the name it looks like this:

original_hover

The alternative:

alternative
heiko-holz commented 2 years ago

We discussed in the team and decided for the version with the line-break. @danipaniii can you please implement and commit that version :)?