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] Adds Callout for Upcoming Decommissioning of App Search and Workplace Search #194363

Conversation

markjhoy
Copy link
Contributor

@markjhoy markjhoy commented Sep 29, 2024

Summary

This PR adds a callout to the overview pages for App Search and Workplace Search, informing the user of the updating decommissioning of the Enterprise Search product. Once the user clicks the "Dismiss" link, or the "x" button (upper-right), the callout will not be shown again until the user logs back in from a new tab or window. Note that the flag to show the callout or not is independent of the product (i.e. dismissing the callout in App Search will still show the callout in Workplace Search, until that one is dismissed as well).

(Note that the link provided to the App Search (catalog) blog post is the correct URL, but the actual post will be forthcoming before the release)

image

Checklist

For maintainers

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #19 / Controls Dashboard control group apply button range slider selections making selection enables apply button

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 2302 2303 +1

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.6MB 2.6MB +2.2KB

History

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

@markjhoy markjhoy marked this pull request as ready for review October 7, 2024 18:09
@markjhoy markjhoy requested a review from a team October 7, 2024 18:10
blogUrl: (
<EuiLink
data-test-subj="workplaceSearch-deprecationCallout-blog-link"
href="https://www.elastic.co/search-labs/blog/evolution-app-search-elasticsearch"
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be in a doc link instead of hard-coded?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They could, but I was under the impression those links were tied to actual documentation, and not Search Labs blogs, no? Regardless - where do these links get populated? I can't seem to find it in the code...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks again @TattdCodeMonkey - this latest commit should do the trick.

@markjhoy markjhoy requested review from a team October 10, 2024 15:43
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
enterpriseSearch 2299 2300 +1

Async chunks

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

id before after diff
aiAssistantManagementSelection 91.2KB 91.4KB +180.0B
enterpriseSearch 2.6MB 2.6MB +3.3KB
lists 143.7KB 143.9KB +180.0B
total +3.6KB

Page load bundle

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

id before after diff
core 455.8KB 455.9KB +180.0B
enterpriseSearch 52.5KB 52.8KB +310.0B
total +490.0B

History

Copy link
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan left a comment

Choose a reason for hiding this comment

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

LGTM

@markjhoy markjhoy merged commit 6910f15 into elastic:8.x Oct 10, 2024
21 checks passed
markjhoy added a commit that referenced this pull request Oct 15, 2024
… Empty State (#196337)

## Summary

Light cleanup of the callout for adding margins, and also adds the
callout to the Users and Roles in App Search empty state.

This is a follow-on to #194363


![image](https://github.com/user-attachments/assets/2404f3cc-1f4a-4a26-89a7-81d267a12f98)


### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
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.

6 participants