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

improve loading UI in Discover mobile #197939

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

youhonglian
Copy link
Contributor

@youhonglian youhonglian commented Oct 28, 2024

Summary

Closes #151503

In this PR, use the EuiEmptyPrompt component to update the loading UI

@youhonglian youhonglian requested a review from a team as a code owner October 28, 2024 03:52
@kertal
Copy link
Member

kertal commented Oct 28, 2024

/ci

@davismcphee davismcphee added the Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. label Oct 28, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal
Copy link
Member

kertal commented Oct 29, 2024

Thx a lot for your contribution @youhonglian , could you take care of the failing Jest tests, the FTR (functional) test failure appears to be unrelated. Many thx!

@youhonglian
Copy link
Contributor Author

/ci

1 similar comment
@davismcphee
Copy link
Contributor

/ci

@davismcphee davismcphee added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Oct 30, 2024
@davismcphee
Copy link
Contributor

/ci

@davismcphee
Copy link
Contributor

@elasticmachine run docs-build

@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
discover 828.7KB 828.6KB -99.0B

History

Copy link
Contributor

@davismcphee davismcphee 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 and it's working as expected now! Thanks for fixing this 👍

@davismcphee
Copy link
Contributor

@elasticmachine run docs-build

@davismcphee davismcphee merged commit 7d0f15b into elastic:main Oct 30, 2024
30 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 30, 2024
## Summary

Closes elastic#151503

In this PR, use the EuiEmptyPrompt component to update  the loading UI

---------

Co-authored-by: Davis McPhee <[email protected]>
(cherry picked from commit 7d0f15b)
@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 Oct 31, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [improve loading UI in Discover mobile
(#197939)](#197939)

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

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

<!--BACKPORT
[{"author":{"name":"youhonglian","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-30T23:41:06Z","message":"improve
loading UI in Discover mobile (#197939)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/151503\r\n\r\nIn this PR, use
the EuiEmptyPrompt component to update the loading
UI\r\n\r\n---------\r\n\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"7d0f15b160fd2c7bc1d80e62f3499827970fccc1","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","💝community","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"improve
loading UI in Discover
mobile","number":197939,"url":"https://github.com/elastic/kibana/pull/197939","mergeCommit":{"message":"improve
loading UI in Discover mobile (#197939)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/151503\r\n\r\nIn this PR, use
the EuiEmptyPrompt component to update the loading
UI\r\n\r\n---------\r\n\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"7d0f15b160fd2c7bc1d80e62f3499827970fccc1"}},"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/197939","number":197939,"mergeCommit":{"message":"improve
loading UI in Discover mobile (#197939)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/151503\r\n\r\nIn this PR, use
the EuiEmptyPrompt component to update the loading
UI\r\n\r\n---------\r\n\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"7d0f15b160fd2c7bc1d80e62f3499827970fccc1"}}]}]
BACKPORT-->

Co-authored-by: youhonglian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) 💝community release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Discover] Improve Discover mobile loading UI
5 participants