-
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
[Stateful sidenav] Enable on-prem #203239
Conversation
/ci |
@@ -72,6 +72,7 @@ export const SolutionViewTour: FC<Props> = ({ children, solution, isTourOpen, on | |||
onFinish={onFinishTour} | |||
step={1} | |||
stepsTotal={1} | |||
repositionOnScroll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to fix an issue when scrolling the window when the tour is open
fddc285
to
82e94af
Compare
/ci |
82e94af
to
3d80b56
Compare
/ci |
/ci |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one question!
@@ -236,129 +235,34 @@ describe('Spaces plugin', () => { | |||
}); | |||
|
|||
describe('isSolutionViewEnabled', () => { | |||
it('when onCloud, not serverless and allowSolutionVisibility is "true"', () => { | |||
it('when allowSolutionVisibility is "true"', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: should there also be a test for when allowSolutionVisibility
is undefined
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can't be undefined. It comes from the server yml config that has a default to true
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With that said, I added a test just in case the server would not provide a value
2fb0eec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
codeowner changes lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Smoke check that it works 👍
💛 Build succeeded, but was flaky
Failed CI Steps
Test Failures
Metrics [docs]Page load bundle
History
cc @sebelga |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12277093192 |
(cherry picked from commit 771166b)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Stateful sidenav] Enable on-prem (#203239)](#203239) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sébastien Loix","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-11T13:12:15Z","message":"[Stateful sidenav] Enable on-prem (#203239)","sha":"771166bf7f95e95bc1e999919f6a75e26e157d0f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Security/Spaces","v9.0.0","Team:SharedUX","backport:prev-minor","Feature:Chrome"],"title":"[Stateful sidenav] Enable on-prem","number":203239,"url":"https://github.com/elastic/kibana/pull/203239","mergeCommit":{"message":"[Stateful sidenav] Enable on-prem (#203239)","sha":"771166bf7f95e95bc1e999919f6a75e26e157d0f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203239","number":203239,"mergeCommit":{"message":"[Stateful sidenav] Enable on-prem (#203239)","sha":"771166bf7f95e95bc1e999919f6a75e26e157d0f"}}]}] BACKPORT--> Co-authored-by: Sébastien Loix <[email protected]>
In this PR I've enabled the new space solution view (which renders the different solution side navigations) for on-prem users.
How to test
Release notes
The new space solution view is now available for on-prem users. The space solution views allows solution centric navigation similar to our serverless offering.
Fixes #203107