elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.04k forks source link

[Infra] Container flyout state in Inventory #184440

Open jennypavlova opened 1 month ago

jennypavlova commented 1 month ago

Summary

After introducing the container flyout in inventory, the flyout state is not persisted after returning back from the details page:

https://github.com/elastic/kibana/assets/14139027/d6c624d5-9fe0-450d-8afe-9fec7ed6003d

Implementation details

https://github.com/elastic/kibana/assets/14139027/81421617-2710-43d9-8633-982859f17427

Solution ideas

The best solution will be to persist the show drop-down selection (Docker Containers in this case). It will require some investigation because of the way the saved views currently work.

A possible workaround will be to not persist the flyout state when the user is back to the Inventory page (only in case of inventory - the hosts page should work as expected)

elasticmachine commented 1 month ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

smith commented 1 month ago

A possible workaround will be to not persist the flyout state when the user is back to the Inventory page (only in case of inventory - the hosts page should work as expected)

I think this is a good option.

Are there other open bugs about the inventory not keeping its state when navigating in and out? I found https://github.com/elastic/kibana/issues/85122, which looks like it's about saved views specifically, but if there weren't these bugs in the inventory, everything would be behaving as designed.

smith commented 3 weeks ago

Moving this out of ECO and Ready to the maintenance backlog. We're ok with the current state of things for the moment, and can fix the navigation problem with the inventory in the future.