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

[Playground] Increase the height of the indices container #212827

Merged
merged 6 commits into from
Mar 5, 2025

Conversation

saikatsarkar056
Copy link
Contributor

@saikatsarkar056 saikatsarkar056 commented Feb 28, 2025

This PR increase the height of the container for indices in the playground

Screen.Recording.2025-03-04.at.10.45.11.AM.mov

@saikatsarkar056 saikatsarkar056 requested a review from a team as a code owner February 28, 2025 21:45
@saikatsarkar056 saikatsarkar056 self-assigned this Feb 28, 2025
@saikatsarkar056
Copy link
Contributor Author

@daveyholler In this PR, I set the limit to a maximum of 100 indices. From a design perspective, what would be the best way to indicate that there may be more than 100 indices, but only 100 are displayed in this view?

@saikatsarkar056 saikatsarkar056 added backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes v8.18.0 v9.0.0 labels Mar 4, 2025
@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
searchPlayground 187.6KB 187.7KB +113.0B

History

cc @saikatsarkar056

@daveyholler
Copy link
Contributor

@daveyholler In this PR, I set the limit to a maximum of 100 indices. From a design perspective, what would be the best way to indicate that there may be more than 100 indices, but only 100 are displayed in this view?

@saikatsarkar056 - If lazy-loading the list isn't possible then we'd likely have to evaluate moving this to a paginated table? But I believe that there's support for some kind of loading/virtualization to make rendering long indeterminate lists doable. @TattdCodeMonkey probably knows better than I do.

@saikatsarkar056 saikatsarkar056 merged commit 1e00a04 into elastic:main Mar 5, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.x, 9.0

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 5, 2025
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts
9.0

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 212827

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 5, 2025
) (#213180)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Playground] Increase the height of the indices container
(#212827)](#212827)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Saikat
Sarkar","email":"132922331+saikatsarkar056@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-05T00:34:42Z","message":"[Playground]
Increase the height of the indices container (#212827)\n\nThis PR
increase the height of the container for indices in
the\nplayground\n\n\n\n\nhttps://github.com/user-attachments/assets/0fbacb11-ce8e-4566-b07e-b6058de89af0","sha":"1e00a04c2b11cf69866bfc255486a286d54654b2","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.18.0","v9.1.0"],"title":"[Playground]
Increase the height of the indices
container","number":212827,"url":"https://github.com/elastic/kibana/pull/212827","mergeCommit":{"message":"[Playground]
Increase the height of the indices container (#212827)\n\nThis PR
increase the height of the container for indices in
the\nplayground\n\n\n\n\nhttps://github.com/user-attachments/assets/0fbacb11-ce8e-4566-b07e-b6058de89af0","sha":"1e00a04c2b11cf69866bfc255486a286d54654b2"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212827","number":212827,"mergeCommit":{"message":"[Playground]
Increase the height of the indices container (#212827)\n\nThis PR
increase the height of the container for indices in
the\nplayground\n\n\n\n\nhttps://github.com/user-attachments/assets/0fbacb11-ce8e-4566-b07e-b6058de89af0","sha":"1e00a04c2b11cf69866bfc255486a286d54654b2"}}]}]
BACKPORT-->

Co-authored-by: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com>
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) release_note:skip Skip the PR/issue when compiling release notes Team:Search v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants