kibana/.buildkite
Achyut Jhunjhunwala 49db391e75
[8.x] [Discover] Added context aware logic for logs view in discover to show Load More… (#211176) (#214229)
# 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![Feb-14-2025\n15-25-18](https://github.com/user-attachments/assets/fa66de6e-b3bd-46b4-a0ed-e30c4209a695)\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![Feb-14-2025\n15-25-18](https://github.com/user-attachments/assets/fa66de6e-b3bd-46b4-a0ed-e30c4209a695)\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![Feb-14-2025\n15-25-18](https://github.com/user-attachments/assets/fa66de6e-b3bd-46b4-a0ed-e30c4209a695)\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>
2025-03-13 14:58:38 +01:00
..
hooks [Ops] Refactor env loading & fix agent-targeting rewrite (#178320) 2024-03-12 16:31:26 +01:00
pipeline-resource-definitions [8.x] [ci] enable Scout reporter for on-merge-unsupported-ftrs (#210627) (#210672) 2025-02-11 22:28:27 +01:00
pipeline-utils [8.x] [scout] add dynamic ci pipeline to run tests (#211797) (#214094) 2025-03-12 14:28:03 +01:00
pipelines [8.x] [scout] add dynamic ci pipeline to run tests (#211797) (#214094) 2025-03-12 14:28:03 +01:00
scripts [8.x] [SLOs] Fix path for slo e2e test scope !! (#214137) (#214210) 2025-03-12 18:51:24 +01:00
.mocharc.json [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
.npmrc [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
disabled_jest_configs.json [8.x] Prepare branch (#192528) 2024-09-12 16:24:06 -05:00
ftr_base_serverless_configs.yml [FTR] support "deployment agnostic" api-integration tests (#189853) 2024-08-07 10:34:52 -05:00
ftr_configs_manifests.json [FTR] split configs by target into multiple manifest files (#187440) 2024-07-19 15:00:53 +02:00
ftr_oblt_serverless_configs.yml [8.x] [Discover] Add context awareness telemetry tests for Observability profiles (#201310) (#202246) 2024-11-28 20:05:30 -06:00
ftr_oblt_stateful_configs.yml [8.x] [Profiling] Migrate Profiling Cypress tests to on_merge from on_merge_unsupported_ftrs (#206727) (#207401) 2025-01-21 18:12:53 +00:00
ftr_platform_stateful_configs.yml [8.x] [Discover] Added context aware logic for logs view in discover to show Load More… (#211176) (#214229) 2025-03-13 14:58:38 +01:00
ftr_search_serverless_configs.yml [8.x] Prepare branch (#192528) 2024-09-12 16:24:06 -05:00
ftr_search_stateful_configs.yml [FTR] split configs by target into multiple manifest files (#187440) 2024-07-19 15:00:53 +02:00
ftr_security_serverless_configs.yml [8.x] [Security Solution] Enable prebuilt rules customization feature flag (#212761) (#214024) 2025-03-12 05:02:09 +01:00
ftr_security_stateful_configs.yml [8.x] [Security Solution] Enable prebuilt rules customization feature flag (#212761) (#214024) 2025-03-12 05:02:09 +01:00
package-lock.json [8.x] [ci] Click to deploy cloud (#205623) (#208042) 2025-01-24 17:13:20 +01:00
package.json [8.x] [ci] Click to deploy cloud (#205623) (#208042) 2025-01-24 17:13:20 +01:00
pull_requests.json [8.x] [ci] Click to deploy cloud (#205623) (#208042) 2025-01-24 17:13:20 +01:00
README.md [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00
tsconfig.json fix(NA): adds pipeline-resource-definitions/fix-location-collection.ts into a tsconfig 2024-04-04 15:16:01 +01:00
tsconfig.test.json [CI] Move kibana-buildkite-library into kibana (#134787) 2022-06-28 13:19:05 -04:00

Kibana / Buildkite

Directory Structure

  • hooks - special directory used by Buildkite agents for hooks
  • pipeline-utils - Shared TypeScript utils for use in pipeline scripts
  • pipelines - contains pipeline definitions
  • scripts/common - scripts that get sourced by other scripts to set environment variables or import shared functions
  • scripts/lifecycle - general scripts for tasks that run before or after individual steps or the entire build
  • scripts/steps - scripts that define something that will run for a step defined in a pipeline
  • scripts/* - all other scripts are building blocks that make up the tasks in pipelines. They may be run by other scripts, but should not be sourced