Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discover] [Unified Data Table] Improve UX when all columns are removed except those with absolute widths #189817

Closed
davismcphee opened this issue Aug 2, 2024 · 1 comment · Fixed by #190288
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Feature:UnifiedDataTable impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@davismcphee
Copy link
Contributor

When removing all columns from the Discover data grid except those with absolute pixel widths, the grid looks odd since the remaining columns do not fill the available space, and there is no way to fix it as a user other than removing and re-adding a column so that it resets to auto width:
Jul-31-2024 13-48-30

We should do something to improve the UX here. Possible solutions include:

  • We could add a "Reset width" or "Auto width" option to the column menu popover. This would solve the issue of having to remove and re-add a column to reset it back to auto width, but still involves a manual step by the user. In general, a reset width option for columns probably makes sense regardless.
  • We could try to be a bit smarter about it to avoid needing a manual step, such as automatically resetting the last column to auto width when all other auto width columns are removed. This seems more convenient for users but involves some assumptions about what the user would want and potentially risks introducing an unexpected behaviour.
@davismcphee davismcphee added Feature:Discover Discover Application enhancement New value added to drive a business result Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Feature:UnifiedDataTable labels Aug 2, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@davismcphee davismcphee added the Project:OneDiscover Enrich Discover with contextual awareness label Aug 7, 2024
@kertal kertal added the impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Discover Discover Application Feature:UnifiedDataTable impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Project:OneDiscover Enrich Discover with contextual awareness Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants