If a dashboard contains a visual of type "Table", which in turn contains a "Date Histogram" column, then the "config" menu accessed via the cogwheel icon on the top right will be empty
To Reproduce
Steps to reproduce the behavior:
Create a table visual
Ensure that at least one column is a Date Historgram by splitting rows appropriately
Save and create a dashbaord
Add the table to your dashbaord
Attempt to click on the config icon
Note the menu does not appear
The same behavior is NOT observed if your table does NOT have a Date Histogram column
Expected behavior
the menu should appear as shown below
OpenSearch Version
2.9.0
Dashboards Version
2.9.0
Host/Environment (please complete the following information):
OS: Linux
Browser and version latest chrome
Potential Fix
For version 2.9.0, modify this line:
Describe the bug
If a dashboard contains a visual of type "Table", which in turn contains a "Date Histogram" column, then the "config" menu accessed via the cogwheel icon on the top right will be empty
To Reproduce Steps to reproduce the behavior:
Create a table visual
Ensure that at least one column is a
Date Historgram
by splitting rows appropriatelySave and create a dashbaord
Add the table to your dashbaord
Attempt to click on the config icon
Note the menu does not appear
The same behavior is NOT observed if your table does NOT have a Date Histogram column
Expected behavior the menu should appear as shown below
OpenSearch Version 2.9.0
Dashboards Version 2.9.0
Host/Environment (please complete the following information):
Potential Fix For version 2.9.0, modify this line:
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/1f82eda3935dc5b648cb31587662c84cb43f3801/src/plugins/vis_augmenter/public/utils/utils.ts#L32
From this:
to this:
Additional context Looking at the code for the "main" branch indicates the bug may be present there as well but I have not verified this
PS credit to @timothetoulain and @dagfinnur for highlighting this bug