Skip to content

workflows: improve or replace tooltips #2313

@oliver-sanders

Description

@oliver-sanders

The status indicators next to each workflow contain contextual information which is revealed when you hover over it.

This feature is carried over from Cylc 7 where it was introduced as the result of a request from operators.

These tooltips were flagged as being too noisy / getting in the way at a recent meeting with operators.

Ideas for improving the tooltips:

  • Delay tooltip activation (i.e. make it so you have to hover more purposefully to reveal the tooltip).
  • Disable tooltips for elements where there is no contextual information available (e.g. if there are no failed tasks, disable the tooltip rather than a message saying there are no failed tasks).
  • Prevent multiple tooltips from opening at once (can happen when you move the mouse quickly)
  • Add a timeout to ensure stale tooltips get cleaned up.

Idea for replacing the tooltips:

  • Replace on-hover tooltips with on-click menus.
    • Pros:
      • No tooltips, no tooltip related issues.
      • Mobile friendly (on-hover don't work for touch devices!).
      • Can open a more complex menu if desired (e.g, could display warnings more elegantly).
    • Cons:
      • Context info slightly harder to access.
      • Context info less discoverable (why would a user think to click on the icon?).
      • Dismissing a warning triangle becomes three clicks, one to open the menu, one to dismiss the warning, one to close the menu (might be able to hack away the last one?).
  • Replace task-state tooltips with a "click through" feature.
    • I.E, if you click on the failed task indicator, it could take you to that workflow and pop up a tree view pre-filtered for the failed state.
    • Pros:
      • Much easier to access the selected tasks.
      • Resolves tooltip issues.
      • Mobile friendly.
    • Cons:
      • Feature less discoverable.
      • Warning triangles may remain implemented via tooltips so some would remain.

Note: To improve feature discoverability, we could keep a tooltip with a long delay that makes users aware that the icon can be clicked (e.g, "click for more info" or "click to view failed tasks" or whatever).

Metadata

Metadata

Assignees

No one assigned

    Labels

    designquestionFlag this as a question for the next Cylc project meeting.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions