Closed stephmilovic closed 3 weeks ago
Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)
Pinging @elastic/kibana-presentation (Team:Presentation)
You're correct that this logic is based on if there is a data view present. This is a shared UX component and a common pattern in other apps. This was added here based on this meta issue. I think that potentially rather than changing this to check if there are any Dashboards, the data view check should be extended to also check for ad-hoc data views.
Pinging @elastic/appex-sharedux (Team:SharedUX)
Reassigning to the shared UX team for now. Ideally this is something that could be fixed in the shared component!
https://github.com/user-attachments/assets/aad605b6-6c42-4639-8fa5-4af84830403d
I tried to reproduce the issue locally on latest main
branch. Couldn't reproduce it as the navigation works properly. I also tried navigating out of Connectors
page and going back there manually and the link still works. Same for the Dashboards -> OpenAI Token Usage
flow.
It also works fine for Gemini
and Amazon Bedrock
(all GenAI related connectors). All tests were done on superuser
account.
Closing the issue as it's fixed.
Kibana version: main/8.9
Elasticsearch version: main/8.9
Original install method (e.g. download page, yum, from source, etc.): Run es from snapshot and kibana locally
Describe the bug:
We have added behavior to install a dashboard when a certain type of connector is created: https://github.com/elastic/kibana/pull/159075
Starting with a fresh ES, no dashboards or data views. Creating the connector creates the dashboard. However, when we click the link to the dashboard from the connector, the dashboard app takes me to a "Welcome to Analytics! Add your data to get started, ..." empty page. Now add a data view on anything. After adding the data view, the link works, and the dashboard page shows the dashboard, instead of the "Welcome to Analytics" page.
Our GenAI Dashboard uses an ad-hoc data view.
Seems like that welcome page is driven off whether there are data views, but it should be based on whether there are dashboards. Can we please fix this?
Steps to reproduce:
Expected behavior: Dashboard should be shown