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

[BUG]Indices - "Data streams" drop down - name not readable when too long #368

Closed
toby181 opened this issue Nov 9, 2022 · 6 comments
Closed
Labels
bug Something isn't working

Comments

@toby181
Copy link

toby181 commented Nov 9, 2022

Describe the bug

We're using data streams (link) instead of regular indices.
The name of the data streams is build by this scheme: logstream-<kubernetes_cluster>-, which can lead to names that are too big for the drop down, see screenshot below.
There's no possibility to see the full name, except if it's selected and shown search bar left to the drop down. In case there are multiple streams that got a similar naming, the actual part that distinguishes them is truncated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "Index Management" - "Indices"
  2. Click on "Show data stream indices" - "Data streams"
  3. Drop down is shown with the available data streams

Expected behavior
The drop down should expand to the full name of the data stream automatically or by increasing it manually. If done manually, this setting should be saved somehow.

OpenSearch Version
2.3.0

Dashboards Version
2.3.0

Plugins

image

Screenshots

image

Host/Environment (please complete the following information):

  • OS: macOS 12.6
  • Browser and version:
    -- Google Chrome, Version 107
    -- Mozilla Firefox, Version 105
@toby181 toby181 added bug Something isn't working untriaged labels Nov 9, 2022
@kavilla kavilla transferred this issue from opensearch-project/OpenSearch-Dashboards Nov 9, 2022
@phestecAMZN
Copy link
Contributor

Looking into this one.

@phestecAMZN
Copy link
Contributor

I've been following a string of issues regarding this exact issue, ultimately ending up here - . It appears at some point truncation options will be added for this Elastic ui component to allow for instance - truncate beginning | middle | end of a string. In the meantime I will investigate to see if that functionality can be added to the plugin as a workaround.

@phestecAMZN
Copy link
Contributor

Fix, at least for most cases, on the way - auto expands popover to enclose longest data stream name. Thank you css fit-content

@phestecAMZN
Copy link
Contributor

Screen Shot 2022-11-29 at 2 42 20 PM

Screen Shot 2022-11-29 at 2 37 25 PM

@toby181
Copy link
Author

toby181 commented Nov 30, 2022

Awesome, thank you @phestecAMZN

@phestecAMZN
Copy link
Contributor

Glad I could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants