-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Reuse serverless panels on Enterprise Search #163179
[Enterprise Search] Reuse serverless panels on Enterprise Search #163179
Conversation
import { i18n } from '@kbn/i18n'; | ||
import { LanguageDefinition, Languages } from './types'; | ||
|
||
const docLinks = { |
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.
Replace these on all languages
files
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.
Duplicate
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.
I'm not sure we can wholesale re-use the copy from the serverless page in dedicated. I would expect things to diverge.
We definitely cannot share the language definitions since the clients will be different. We're just waiting on the serverless clients to be available before we update the install snippets.
package.json
Outdated
@@ -616,6 +616,7 @@ | |||
"@kbn/server-http-tools": "link:packages/kbn-server-http-tools", | |||
"@kbn/server-route-repository": "link:packages/kbn-server-route-repository", | |||
"@kbn/serverless": "link:x-pack/plugins/serverless", | |||
"@kbn/serverless-api-panels": "link:packages/kbn-serverless-api-panels", |
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.
should this be search-api-panels
to be generically named for either search solution. I know we want to avoid the use "serverless" specifically where possible.
| ||
fmt.Println(res, err) | ||
}`, | ||
installClient: 'go get -u github.com/elastic/elasticsearch-serverless-go@latest', |
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.
We won't be able to share language definitions between serverless and dedicated, they will have different clients.
ca10574
to
29ab014
Compare
We should be finally ready for review please take a look. @elastic/ent-search-design |
83e48de
to
80f8f27
Compare
9191f3e
to
1f0a7ed
Compare
http, | ||
pluginId, | ||
}) => { | ||
switch (language) { |
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.
We have a couple more languages now that we should add here.
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.
Haven't done an in-depth review but honestly this looks pretty good overall?
...lic/applications/enterprise_search_overview/components/product_selector/product_selector.tsx
Outdated
Show resolved
Hide resolved
@TattdCodeMonkey this is a big PR, can you indicate where we should be looking out for incongruous copy? 😄 |
…e_search_overview/components/product_selector/product_selector.tsx Co-authored-by: Liam Thompson <[email protected]>
@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.
Given that CI passes and I see no major concerns, I'm approving :)
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Any counts in public APIs
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
miscellaneous assets size
History
To update your PR or re-run it, just comment with: |
Summary
Reuse Serverless panels for API index overview.
Updated Enterprise Search overview to latests designs.
Note: There will be another PR for layout changes on overview afterwards.
Screen.Recording.2023-08-09.at.01.55.24.mov
Screen.Recording.2023-08-09.at.01.52.20.mov
Screen.Recording.2023-08-09.at.01.55.49.mov
Checklist
Delete any items that are not applicable to this PR.