-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Remove Space Selector from Serverless Top Navigation #163024
Comments
Pinging @elastic/appex-sharedux (Team:SharedUX) |
It looks like this is configured purely by spaces code here:
@elastic/kibana-security, I think it would make more sense for you to pick this up, as you'll know better how do you want to structure this in your code. Maybe a kibana.yml which would hide space-related controls (not sure if there are others), similar to this one: kibana/x-pack/plugins/spaces/server/config.ts Lines 29 to 43 in 6b02be4
Or maybe you have plans to disable spaces altogether in serverless? |
Closes #163024 ## Summary For Serverless projects, there will be only a single default space, with no way to create/select additional spaces. For this reason, the spaces navigation control has been removed for serverless only ## Changes Made - Added isServerless boolean flag to depend on the plugin context `buildFlavor` in the Serverless plugin - Based on the flag - Disabled rendering of spaces nav control - Disabled the space management route - Disabled adding spaces to feature catalogue - Updated plugin tests to check for serverless or traditional build flavors ## UI Changes | Before | After | |---|---| | <img width="280" alt="image" src="https://github.com/elastic/kibana/assets/1442420/e18367ba-adcc-4e3d-ac7a-d45d8993f67a"> | <img width="280" alt="image" src="https://github.com/elastic/kibana/assets/1442420/d51bb61b-4314-4977-a358-c7182eb9fecc"> | ## Release Notes Security Removed the space selector from the Serverless UI. #163024 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
For Serverless projects, there will be only a single default space, with no way to create/select additional spaces. We should remove the space icon from the top navigation for serverless projects only.
The text was updated successfully, but these errors were encountered: