elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.23k forks source link

[Inline editing] Pause before editor is shown #188575

Open ThomThomson opened 4 months ago

ThomThomson commented 4 months ago

Issue There is a noticeable pause after clicking on any Dashboard panel type with inline editing in the add panel menu where the Dashboard appears to be doing nothing.

To reproduce

  1. Empty cache and hard reload the Dashboard
  2. Once the Dashboard is loaded, throttle your network
  3. Press the add panel menu
  4. Choose any panel type with an inline editor, especially ESQL, Links and Image embeddables.
  5. See the flyout close and nothing happens on the Dashboard until the editor is ready. Wait

Expected behaviour Inline editors should show their flyout immediately, with a loading indicator while the contents of the flyout are loading.

elasticmachine commented 4 months ago

Pinging @elastic/kibana-presentation (Team:Presentation)

cqliu1 commented 3 months ago

We should tackle this at the same time as #174136 and handle this on the flyout wrapper level for all embeddables that use flyouts.