mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)](https://github.com/elastic/kibana/pull/211176) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Achyut Jhunjhunwala","email":"achyut.jhunjhunwala@elastic.co"},"sourceCommit":{"committedDate":"2025-03-12T12:39:27Z","message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:feature","Team:obs-ux-logs","Project:OneDiscover","backport:version","v9.1.0","v8.19.0"],"title":"[Discover] Added context aware logic for logs view in discover to show Load More…","number":211176,"url":"https://github.com/elastic/kibana/pull/211176","mergeCommit":{"message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/211176","number":211176,"mergeCommit":{"message":"[Discover] Added context aware logic for logs view in discover to show Load More… (#211176)\n\n## Summary\n\nCloses - https://github.com/elastic/kibana/issues/166679\n\n## What's included ?\n\n- The PR adds a feature in Logs View of Observability (to start with) to\nhide the regular pagination toolbar from the footer and show Load More\nonly when the user has scrolled to the bottom of the page.\n- The table would always load the items in batches of default set 500 \n- This PR also add 2 helper functions `useThrottleFn` and\n`useDebounceFn`. Current React help library which KIbana uses called\n-`react-use` does not have these and we cannot use Lodash variant of\nthese. We need such hooks which are React safe. Hence added these 2\n\n\n## What's pending ?\n\n- [x] Unit tests for the 2 new helper React hooks\n- [x] Unit tests for data table footer component\n- [x] Unit tests for Profile Resolution\n- [x] Functional Serverless Tests\n- [x] Functional Stateful Tests\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davismcphee@hotmail.com>\nCo-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>\nCo-authored-by: Davis McPhee <davis.mcphee@elastic.co>","sha":"591c5b73c00f8a4e5316aed9c1d32c7316e6dd34"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
hooks | ||
pipeline-resource-definitions | ||
pipeline-utils | ||
pipelines | ||
scripts | ||
.mocharc.json | ||
.npmrc | ||
disabled_jest_configs.json | ||
ftr_base_serverless_configs.yml | ||
ftr_configs_manifests.json | ||
ftr_oblt_serverless_configs.yml | ||
ftr_oblt_stateful_configs.yml | ||
ftr_platform_stateful_configs.yml | ||
ftr_search_serverless_configs.yml | ||
ftr_search_stateful_configs.yml | ||
ftr_security_serverless_configs.yml | ||
ftr_security_stateful_configs.yml | ||
package-lock.json | ||
package.json | ||
pull_requests.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.test.json |
Kibana / Buildkite
Directory Structure
hooks
- special directory used by Buildkite agents for hookspipeline-utils
- Shared TypeScript utils for use in pipeline scriptspipelines
- contains pipeline definitionsscripts/common
- scripts that getsource
d by other scripts to set environment variables or import shared functionsscripts/lifecycle
- general scripts for tasks that run before or after individual steps or the entire buildscripts/steps
- scripts that define something that will run for a step defined in a pipelinescripts/*
- all other scripts are building blocks that make up the tasks in pipelines. They may be run by other scripts, but should not besource
d