[Infrastructure UI] urlStateStorage is missing when integrating LogsStream #154030
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Metrics UI
Metrics UI feature
Feature:ObsHosts
Hosts feature within Observability
Team:Infra Monitoring UI - DEPRECATED
DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
📓 Summary
When integrating the LogsStream into a different context, the page renders the following error
urlStateStorage.get is not a function
, with no chance to retrieve the logs entries correctly.It may be related to the new changes introduced with #152933
The following screenshot refers to the Logs tab on the Hosts View page, but it also affects all the features using the LogStream component.
The cause for this issue seems to be a missing provider
KbnUrlStateStorageFromRouterProvider
for the external consumers of the LogStream component.Inside the
infra
plugin we have it at the Logs page level, while the other consumer is missing it.✔️ Acceptance criteria
👨💻 Implementation Hints
We could provide the proxy component LogStream with the missing provider
KbnUrlStateStorageFromRouterProvider
, this should allow any consumer to have the required dependency.The text was updated successfully, but these errors were encountered: