-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Add workplace search links to doc link service #118814
Conversation
x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.ts
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.test.ts deleted? We have 100% test coverage everywhere else in our codebase and would like to have this covered as well.
x-pack/plugins/enterprise_search/public/applications/shared/licensing/manage_license_button.tsx
Outdated
Show resolved
Hide resolved
...lugins/enterprise_search/public/applications/shared/licensing/manage_license_button.test.tsx
Outdated
Show resolved
Hide resolved
...se_search/public/applications/app_search/components/synonyms/components/empty_state.test.tsx
Outdated
Show resolved
Hide resolved
...e_search/public/applications/app_search/components/search_ui/components/empty_state.test.tsx
Outdated
Show resolved
Hide resolved
...rise_search/public/applications/app_search/components/schema/components/empty_state.test.tsx
Outdated
Show resolved
Hide resolved
...applications/app_search/components/curations/views/curations_settings/curations_settings.tsx
Outdated
Show resolved
Hide resolved
...cations/app_search/components/curations/views/curations_settings/curations_settings.test.tsx
Outdated
Show resolved
Hide resolved
...e_search/public/applications/app_search/components/curations/components/empty_state.test.tsx
Outdated
Show resolved
Hide resolved
...se_search/public/applications/app_search/components/api_logs/components/empty_state.test.tsx
Outdated
Show resolved
Hide resolved
I deleted that one since the only thing it was testing was the stem of the docs URLs and those no longer exist. I've re-added it with a smattering of URLs and the docLinksServiceMock: e3a0fe4 |
…h/components/api_logs/components/empty_state.test.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
…h/components/curations/components/empty_state.test.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
…h/components/curations/views/curations_settings/curations_settings.test.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
…h/components/curations/views/curations_settings/curations_settings.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
…h/components/engine_overview/engine_overview_empty.test.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
…h/components/documents/components/empty_state.test.tsx Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Workplace Search changes LGTM
@lcawl looks like you have a merge conflict @byronhulcher @JasonStoltz can one of you review this? |
@elasticmachine update branch |
merge conflict between base and head |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Summary
Relates to #88107
This PR adds workplace search documentation URLs to the doc link service so that they can be tested and maintained. It removes the hard-coded links from to https://github.com/elastic/kibana/blob/main/x-pack/plugins/enterprise_search/public/applications/workplace_search/routes.ts and calls the doc link service from https://github.com/elastic/kibana/blob/main/x-pack/plugins/enterprise_search/public/applications/shared/doc_links/doc_links.ts instead.