OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] Saved search panel in a dashboard doesn't correctly display less than 5 items

Open alison-mtsi opened this issue 1 year ago • 1 comments

Describe the bug

A saved search panel in a dashboard does not accurately display less than 5 objects when filters are applied. When one object should be present, nothing is displayed. When 2-4 objects are present, an unexpected scroll bar appears regardless of the size of the query panel; user is unable to view all of them without scrolling.

To Reproduce Steps to reproduce the behavior:

  1. Go to Discover, select an index
  2. Select any number of fields to view
  3. Save the search (Save > Save search)
  4. Add saved search to a new or existing dashboard
  5. Add a filter to down select to 1-5 specific results

If step 5 is replicated in the Discover tab for the index, the filtering accurately displays the desired items. Only when the saved query is placed within a dashboard does the behavior seem to happen.

Expected behavior Visually the saved search should be identical to the results in the Discover tab.

OpenSearch Version AWS GovCloud Managed service, latest - 2.11

Plugins None

Screenshots Note: one item should be present but is not visible. Scrollbar appears but scrolling does not display any item. saved-query-panel-on-dashboard-1-item

Four items should be visible, but only three are. Scroll bar appears and must scroll to see fourth item. saved-query-panel-on-dashboard-4-items

Host/Environment (please complete the following information):

  • OS: Windows
  • Browser and version: Chrome 123.0.6312.107

Additional context

Add any other context about the problem here.

I'm using OpenSearch as a managed service in AWS GovCloud. I reported this problem to AWS Support; they were able to reproduce on their end but directed me to submit a bug report here.

alison-mtsi avatar Apr 18 '24 14:04 alison-mtsi

@ananzh is this resolved in 2.13?

kavilla avatar Apr 23 '24 17:04 kavilla