Skip to content
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

[Searchprofiler] Fix CTA not being shown when screen is not tall enough #206764

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

sabarasaba
Copy link
Member

@sabarasaba sabarasaba commented Jan 15, 2025

Fixes: #197698

Summary

Fix a small bug that happens when resizing the browser height, resulting in the Profile CTA not being shown.

// Before

Screen.Recording.2025-01-15.at.15.00.57.mov

// After

Screen.Recording.2025-01-15.at.15.00.24.mov

@sabarasaba sabarasaba added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more release_note:skip Skip the PR/issue when compiling release notes Feature:Search Profiler v9.0.0 backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) labels Jan 15, 2025
@sabarasaba sabarasaba self-assigned this Jan 15, 2025
@sabarasaba sabarasaba marked this pull request as ready for review January 15, 2025 14:04
@sabarasaba sabarasaba requested a review from a team as a code owner January 15, 2025 14:04
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
searchprofiler 46.5KB 46.6KB +108.0B

cc @sabarasaba

Copy link
Contributor

@SoniaSanzV SoniaSanzV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally, lgtm :)

@sabarasaba sabarasaba merged commit c3b9466 into elastic:main Jan 16, 2025
20 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@kibanamachine
Copy link
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 Jan 16, 2025
…l enough (#206764) (#206896)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Searchprofiler] Fix CTA not being shown when screen is not tall
enough (#206764)](#206764)

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

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-16T08:27:12Z","message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Search
Profiler","v9.0.0","backport:prev-minor"],"title":"[Searchprofiler] Fix
CTA not being shown when screen is not tall
enough","number":206764,"url":"https://github.com/elastic/kibana/pull/206764","mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}},"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/206764","number":206764,"mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}}]}]
BACKPORT-->

Co-authored-by: Ignacio Rivas <[email protected]>
sabarasaba added a commit to sabarasaba/kibana that referenced this pull request Jan 22, 2025
@sabarasaba
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.17
8.16

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

Questions ?

Please refer to the Backport tool documentation

sabarasaba added a commit to sabarasaba/kibana that referenced this pull request Jan 22, 2025
sabarasaba added a commit that referenced this pull request Jan 22, 2025
…ll enough (#206764) (#207834)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Searchprofiler] Fix CTA not being shown when screen is not tall
enough (#206764)](#206764)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-16T08:27:12Z","message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Search
Profiler","v9.0.0","backport:prev-minor","v8.16.0","v8.17.0","v8.18.0"],"title":"[Searchprofiler]
Fix CTA not being shown when screen is not tall
enough","number":206764,"url":"https://github.com/elastic/kibana/pull/206764","mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}},"sourceBranch":"main","suggestedTargetBranches":["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/206764","number":206764,"mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/206896","number":206896,"state":"MERGED","mergeCommit":{"sha":"d824cd242abbb8e4c31ade640445640a59357e43","message":"[8.x]
[Searchprofiler] Fix CTA not being shown when screen is not tall enough
(#206764) (#206896)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Searchprofiler] Fix CTA not being
shown when screen is not tall\nenough
(#206764)](https://github.com/elastic/kibana/pull/206764)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Ignacio\nRivas\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-01-16T08:27:12Z\",\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Kibana\nManagement\",\"release_note:skip\",\"Feature:Search\nProfiler\",\"v9.0.0\",\"backport:prev-minor\"],\"title\":\"[Searchprofiler]
Fix\nCTA not being shown when screen is not
tall\nenough\",\"number\":206764,\"url\":\"https://github.com/elastic/kibana/pull/206764\",\"mergeCommit\":{\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\"}},\"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/206764\",\"number\":206764,\"mergeCommit\":{\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Ignacio Rivas <[email protected]>"}}]}] BACKPORT-->
sabarasaba added a commit that referenced this pull request Jan 22, 2025
…ll enough (#206764) (#207835)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Searchprofiler] Fix CTA not being shown when screen is not tall
enough (#206764)](#206764)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-16T08:27:12Z","message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","Feature:Search
Profiler","v9.0.0","backport:prev-minor","v8.16.0","v8.17.0","v8.18.0"],"title":"[Searchprofiler]
Fix CTA not being shown when screen is not tall
enough","number":206764,"url":"https://github.com/elastic/kibana/pull/206764","mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}},"sourceBranch":"main","suggestedTargetBranches":["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/206764","number":206764,"mergeCommit":{"message":"[Searchprofiler]
Fix CTA not being shown when screen is not tall enough
(#206764)","sha":"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/206896","number":206896,"state":"MERGED","mergeCommit":{"sha":"d824cd242abbb8e4c31ade640445640a59357e43","message":"[8.x]
[Searchprofiler] Fix CTA not being shown when screen is not tall enough
(#206764) (#206896)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Searchprofiler] Fix CTA not being
shown when screen is not tall\nenough
(#206764)](https://github.com/elastic/kibana/pull/206764)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Ignacio\nRivas\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-01-16T08:27:12Z\",\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Kibana\nManagement\",\"release_note:skip\",\"Feature:Search\nProfiler\",\"v9.0.0\",\"backport:prev-minor\"],\"title\":\"[Searchprofiler]
Fix\nCTA not being shown when screen is not
tall\nenough\",\"number\":206764,\"url\":\"https://github.com/elastic/kibana/pull/206764\",\"mergeCommit\":{\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\"}},\"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/206764\",\"number\":206764,\"mergeCommit\":{\"message\":\"[Searchprofiler]\nFix
CTA not being shown when screen is not tall
enough\n(#206764)\",\"sha\":\"c3b9466de6b3bc03a74fc433ee77aec8c3f291a9\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Ignacio Rivas <[email protected]>"}}]}] BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Feature:Search Profiler release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.16.0 v8.16.4 v8.17.0 v8.17.2 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Search profiler] Profile button does not display on smaller screens
4 participants