Skip to content

[Side navigation] bring back getIsActive to o11y solution navigation#196057

Merged
mgiota merged 1 commit intoelastic:mainfrom
mgiota:navigation_getIsActive
Oct 14, 2024
Merged

[Side navigation] bring back getIsActive to o11y solution navigation#196057
mgiota merged 1 commit intoelastic:mainfrom
mgiota:navigation_getIsActive

Conversation

@mgiota
Copy link
Copy Markdown
Contributor

@mgiota mgiota commented Oct 14, 2024

Summary

I realized that as part of this PR, getIsActive method was accidentally removed from Applications and Infrastructure menus. This PR brings getIsActive back. I didn't find any bug with the absence of getIsActive. Purpose of this PR is to not remove something that was there before.

@mgiota mgiota requested a review from a team as a code owner October 14, 2024 08:24
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Oct 14, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@mgiota mgiota added the release_note:skip Skip the PR/issue when compiling release notes label Oct 14, 2024
@mgiota mgiota enabled auto-merge (squash) October 14, 2024 08:50
@sebelga
Copy link
Copy Markdown
Contributor

sebelga commented Oct 14, 2024

FYI: the getActive() handler is needed to keep the side nav item active meanwhile navigating sub pages.

@mgiota mgiota merged commit 6aa1bc6 into elastic:main Oct 14, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11326033041

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 14, 2024
…lastic#196057)

## Summary

I realized that as part of this
[PR](https://github.com/elastic/kibana/pull/192805/files#diff-8f26b8327cc9fc31bef2b22bb53b82256edc9cf05cfc9c766d746a7aa4532437L144),
`getIsActive` method was accidentally removed from `Applications` and
`Infrastructure` menus. This PR brings `getIsActive` back. I didn't find
any bug with the absence of `getIsActive`. Purpose of this PR is to not
remove something that was there before.

(cherry picked from commit 6aa1bc6)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 14, 2024
…ation (#196057) (#196104)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Side navigation] bring back getIsActive to o11y solution navigation
(#196057)](#196057)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Panagiota
Mitsopoulou","email":"panagiota.mitsopoulou@elastic.co"},"sourceCommit":{"committedDate":"2024-10-14T10:50:33Z","message":"[Side
navigation] bring back getIsActive to o11y solution navigation
(#196057)\n\n## Summary\r\n\r\nI realized that as part of
this\r\n[PR](https://github.com/elastic/kibana/pull/192805/files#diff-8f26b8327cc9fc31bef2b22bb53b82256edc9cf05cfc9c766d746a7aa4532437L144),\r\n`getIsActive`
method was accidentally removed from `Applications`
and\r\n`Infrastructure` menus. This PR brings `getIsActive` back. I
didn't find\r\nany bug with the absence of `getIsActive`. Purpose of
this PR is to not\r\nremove something that was there
before.","sha":"6aa1bc6fd9aa05cec1af90b7b1dcc191141cc183","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0"],"title":"[Side
navigation] bring back getIsActive to o11y solution
navigation","number":196057,"url":"https://github.com/elastic/kibana/pull/196057","mergeCommit":{"message":"[Side
navigation] bring back getIsActive to o11y solution navigation
(#196057)\n\n## Summary\r\n\r\nI realized that as part of
this\r\n[PR](https://github.com/elastic/kibana/pull/192805/files#diff-8f26b8327cc9fc31bef2b22bb53b82256edc9cf05cfc9c766d746a7aa4532437L144),\r\n`getIsActive`
method was accidentally removed from `Applications`
and\r\n`Infrastructure` menus. This PR brings `getIsActive` back. I
didn't find\r\nany bug with the absence of `getIsActive`. Purpose of
this PR is to not\r\nremove something that was there
before.","sha":"6aa1bc6fd9aa05cec1af90b7b1dcc191141cc183"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196057","number":196057,"mergeCommit":{"message":"[Side
navigation] bring back getIsActive to o11y solution navigation
(#196057)\n\n## Summary\r\n\r\nI realized that as part of
this\r\n[PR](https://github.com/elastic/kibana/pull/192805/files#diff-8f26b8327cc9fc31bef2b22bb53b82256edc9cf05cfc9c766d746a7aa4532437L144),\r\n`getIsActive`
method was accidentally removed from `Applications`
and\r\n`Infrastructure` menus. This PR brings `getIsActive` back. I
didn't find\r\nany bug with the absence of `getIsActive`. Purpose of
this PR is to not\r\nremove something that was there
before.","sha":"6aa1bc6fd9aa05cec1af90b7b1dcc191141cc183"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Panagiota Mitsopoulou <panagiota.mitsopoulou@elastic.co>
@mgiota mgiota deleted the navigation_getIsActive branch October 1, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants