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

[8.11] [Watcher] Fix sorting on JSX headers (#170085) #170142

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.11:

Questions ?

Please refer to the Backport tool documentation

## Summary
Closes elastic#164126

EUI in memory tables need to have stable headers between renders to sort
properly when the header is a JSX element
([Docs](https://eui.elastic.co/#/tabular-content/in-memory-tables)).
This PR stabilizes the headers for `WatchListPage` only. I noticed there
were some other columns which likely have the same issue in Watcher, but
I'm unsure how far reaching these changes need to be. Reading through
the issue @ElenaStoeva mentions changing the sorting anyways, so a quick
fix seems more appropriate.

![Untitled](https://github.com/elastic/kibana/assets/14021797/7d79c576-58b8-4ef5-a713-b87a3c52ea19)

## Release Note
Fixed issue where certain columns in the Watcher table were not sorting
properly.

(cherry picked from commit 540e6c0)
@yuliacech yuliacech disabled auto-merge October 30, 2023 16:07
@yuliacech
Copy link
Contributor

Hey @Ikuni17, I'm disabling auto-merge on this backport PR for now. I'm not sure we should backport it to 8.11 at this point, wdyt @alisonelizabeth?

@alisonelizabeth
Copy link
Contributor

Yes, I think it's cutting it a little close to get this in for 8.11. I'm OK to backport this for the next patch though.

@Ikuni17
Copy link
Contributor

Ikuni17 commented Nov 8, 2023

@alisonelizabeth Are we good to merge this now?

@Ikuni17 Ikuni17 added the v8.11.1 label Nov 8, 2023
@alisonelizabeth
Copy link
Contributor

👍 yes, thanks for checking!

@Ikuni17 Ikuni17 enabled auto-merge (squash) November 9, 2023 15:31
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #20 / EPM Endpoints EPM - list list api tests lists all limited packages from the registry

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
watcher 163.3KB 163.3KB +24.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @Ikuni17

@Ikuni17 Ikuni17 merged commit 6154687 into elastic:8.11 Nov 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants