-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
When viewing Serverless project, user should be able to see the name of the project #166182
Comments
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Pinging @elastic/kibana-core (Team:Core) |
Just to clarify: the goal of this issue is just to replace the generic "Project" with the actual name of the project. We are not adding links back to Cloud UI as part of this |
Apparently the info (project name) is already available in the k8s project controller. I will update the |
I created #166330 to add the config setting to Kibana and expose it from the Note that this PR will need to be deployed to production before being able to merge the controller counter-part, otherwise Kibana will fail to start in environment where the Kibana change is not present because of unknown config key. (I made the config more permissive in #166330 to avoid that situation if we need to add more fields later) |
#166330 has been merged, meaning that development on the UI side can be started. The controller PR still has to wait for the kibana PR to be in a version promoted to production |
> [!IMPORTANT] > I plan to merge this as an intermediate state. The next step is changing the breadcrumbs component and make the project name as part of it #166593 ## Summary close #166182 Shows project name in the Kibana header. To test locally add to the `config/serverless.yml`: ``` xpack.cloud.serverless.project_id: "random" xpack.cloud.serverless.project_name: "My Search Project" ``` ![Screenshot 2023-09-14 at 13 01 44](https://github.com/elastic/kibana/assets/7784120/4c658e19-5509-4a56-8752-a3a0f677d454) I hardcoded 320px max-width to enable truncation for longer titles: ![Screenshot 2023-09-14 at 13 02 11](https://github.com/elastic/kibana/assets/7784120/4cab9643-3eb2-4d50-a737-66bb98a46109) In general, the header is not very flexible and has issues on smaller screen, but this needs to be fixed separately. The link still leads to the `/projects` page of the cloud UI
If we're showing the project name, can we update the link to go to |
After logging into a project, users should be able to see the name of the project in the header (today it just shows "Projects")
In order to get this done, we need to pass the project name from CP into Kibana, which means if the name is changed this may trigger a Kibana update, but we don't expect this to happen frequently so it's acceptable.
The text was updated successfully, but these errors were encountered: