-
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
[dashboard] fix Chrome no longer hidden for reports #206988
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
I was able to reproduce the bug by opening a Dashboard in a new tab with the fullscreen mode param set. I think we need to update the /*
* Manage chrome visibility when dashboard is in print mode.
*/
useEffect(() => {
if (!embedSettings && viewMode === 'print') coreServices.chrome.setIsVisible(false);
}, [embedSettings, viewMode]); |
💚 Build Succeeded
Metrics [docs]Async chunks
|
@elasticmachine merge upstream |
Starting backport for target branches: 8.16, 8.17, 8.x https://github.com/elastic/kibana/actions/runs/12875599051 |
Fixes elastic#205794 elastic#196275 removed `setIsVisible` because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue. --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 583b852)
Fixes elastic#205794 elastic#196275 removed `setIsVisible` because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue. --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 583b852)
Fixes elastic#205794 elastic#196275 removed `setIsVisible` because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue. --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 583b852)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…207266) # Backport This will backport the following commits from `main` to `8.x`: - [[dashboard] fix Chrome no longer hidden for reports (#206988)](#206988) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-20T21:01:13Z","message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","v9.0.0","backport:version","v8.18.0","v8.16.4","v8.17.2"],"title":"[dashboard] fix Chrome no longer hidden for reports","number":206988,"url":"https://github.com/elastic/kibana/pull/206988","mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206988","number":206988,"mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
…207264) # Backport This will backport the following commits from `main` to `8.16`: - [[dashboard] fix Chrome no longer hidden for reports (#206988)](#206988) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-20T21:01:13Z","message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","v9.0.0","backport:version","v8.18.0","v8.16.4","v8.17.2"],"title":"[dashboard] fix Chrome no longer hidden for reports","number":206988,"url":"https://github.com/elastic/kibana/pull/206988","mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206988","number":206988,"mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
…207265) # Backport This will backport the following commits from `main` to `8.17`: - [[dashboard] fix Chrome no longer hidden for reports (#206988)](#206988) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Nathan Reese","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-20T21:01:13Z","message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","v9.0.0","backport:version","v8.18.0","v8.16.4","v8.17.2"],"title":"[dashboard] fix Chrome no longer hidden for reports","number":206988,"url":"https://github.com/elastic/kibana/pull/206988","mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206988","number":206988,"mergeCommit":{"message":"[dashboard] fix Chrome no longer hidden for reports (#206988)\n\nFixes https://github.com/elastic/kibana/issues/205794\r\n\r\nhttps://github.com/elastic/kibana/pull/196275 removed `setIsVisible`\r\nbecause https://github.com/elastic/kibana/pull/196275/files#r1811034594.\r\nI could not reproduce the top nav disappearing and reappearing issue.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"583b8522510102c15b175f4aff772484b689869f"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Nathan Reese <[email protected]>
Fixes elastic#205794 elastic#196275 removed `setIsVisible` because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue. --------- Co-authored-by: Elastic Machine <[email protected]>
Fixes elastic#205794 elastic#196275 removed `setIsVisible` because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue. --------- Co-authored-by: Elastic Machine <[email protected]>
Fixes #205794
#196275 removed
setIsVisible
because https://github.com/elastic/kibana/pull/196275/files#r1811034594. I could not reproduce the top nav disappearing and reappearing issue.