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

[Enterprise Search] De-couple Overview from ent-search #161995

Conversation

TattdCodeMonkey
Copy link
Contributor

Summary

Updated the Overview page to render an connection error callout instead of the full ErrorConnecting page. This allows us to render the Elasticsearch product card even without ent-search available.

This required removing the "Insufficient permissions" view since we also always want to show the elasticsearch product card even if the user doesn't have access to app search and workplace search.

Screenshots

image

@TattdCodeMonkey TattdCodeMonkey added release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.10.0 labels Jul 14, 2023
@TattdCodeMonkey TattdCodeMonkey requested a review from a team July 14, 2023 20:10
Copy link
Member

@sphilipse sphilipse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nitpick, but looks good to me overall. I feel like the error message is extremely prominent now, though. I'm not sure that's ideal?

@TattdCodeMonkey TattdCodeMonkey force-pushed the rnorris/feat/decouple-overview-from-ent-search branch from 5e4a09e to 22239e1 Compare July 17, 2023 14:43
Re-worked the enterprise search overview page to show a connection error
callout on the page instead of the ErrorConnecting page. This also
required ditching the "Insufficient permissions" view that we also
wanted to get rid of.

This is the initial part of updating the overview page to not be
dependent on ent-search service.
@TattdCodeMonkey TattdCodeMonkey force-pushed the rnorris/feat/decouple-overview-from-ent-search branch from 22239e1 to 8ca456a Compare July 17, 2023 14:44
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 2147 2144 -3

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.5MB 2.5MB +5.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
enterpriseSearch 38.4KB 38.4KB +7.0B
Unknown metric groups

miscellaneous assets size

id before after diff
enterpriseSearch 2.6MB 2.6MB -73.6KB

History

  • 💚 Build #142689 succeeded 5e4a09e0b77e66ff4c0ebc317ff773c6b1d818d3
  • 💔 Build #142678 failed f4002039759210ca56b674a8424a9830a32a18ae

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

@TattdCodeMonkey TattdCodeMonkey merged commit b5965a3 into elastic:main Jul 18, 2023
@TattdCodeMonkey TattdCodeMonkey deleted the rnorris/feat/decouple-overview-from-ent-search branch July 18, 2023 14:43
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 18, 2023
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
## Summary

Updated the Overview page to render an connection error callout instead
of the full ErrorConnecting page. This allows us to render the
Elasticsearch product card even without ent-search available.

This required removing the "Insufficient permissions" view since we also
always want to show the elasticsearch product card even if the user
doesn't have access to app search and workplace search.

### Screenshots
<img width="1530" alt="image"
src="https://github.com/elastic/kibana/assets/1972968/2ad5b905-3f42-435b-81e5-a7d71ce8039e">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants