Skip to content

[dashboard] Automatic Tooltip for long widget title #9833

@knoobie

Description

@knoobie

Describe your motivation

It's possible to define a custom wrap-behavior for the dashboard widget by using --vaadin-dashboard-widget-title-wrap: nowrap;. This can result in non-readable titles if the value is too long:

Image

Having "jumping" widget title heights depending on the content feels "bad", therefore nowrap is used to improve the visual clarity - which results in a bad UX for people trying to read the whole title.

Describe the solution you'd like

Once a DashboardWidget detects the presence of --vaadin-dashboard-widget-title-wrap and the title is overflowing, a tooltip should be automatically created with the full text.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions