eui icon indicating copy to clipboard operation
eui copied to clipboard

Change EUIExpression examples and recommendations to avoid 2 clicks

Open JasonStoltz opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. The primary example of EUIExpression shows a configurable "When" value which takes 2 clicks to update.

Screen Shot 2023-10-24 at 11 29 27 AM

In actual usage cases in Kibana, this is poor UX. We've heard through a variety of sources (including here) that this is a pain point for users.

This could be accomplished in a single click with a slight variation of that approach, as documented here.

test

There is nothing preventing users from implementing this today with the current EUIExpression component, we believe this is a result of:

  1. Lack of guidance on this issue on the EUIExpression docs page
  2. The primary example illustrating the less optimal approach

Describe the solution you'd like I believe this could be solved by:

  1. Updating the primary example to use the 1-click approach
  2. Offer guidance around when to use a different approach

Describe alternatives you've considered

Desired timeline

Additional context

JasonStoltz avatar Oct 24 '23 15:10 JasonStoltz