Open stratoula opened 3 months ago
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
I was between a bug and an enhancement but as I assume that this works like that for many minors I changed it to enhancement. Feel free to change it as you wish
It's a Legabughancement. It's related to https://github.com/elastic/kibana/issues/92886
https://github.com/elastic/kibana/issues/92886#issuecomment-789007146
So in 2021 I stated
when we get rid of legacy, the user should be able to remove the time column, so no more restrictions
This would work when we would have selected columns like @timestamp, @col1 , @col2 But for the default state, no columns selected, this wouldn't work, since we don't have virtual columns like Document ... yet
So I think it would make sense to implementing the ability for certain fields not being selectable in the sidebar or the DocViewer 👍
Describe the feature:
The Discover table always displays a time field column when the dataview has a default timestamp or if @timestamp is being detected in the ES|QL mode. This column can't be toggled from the table or the sidebar
but it can be toggled by the doc viewer.
By toggling this does nothing. Actually it adds it on the selected columns but the table is not affected of course. If I click again nothing happens, it doesnt even remove it from the selected columns. The toggle action should be hidden for this field in the doc viewer for consistency with the reset components and for not causing confusion