-
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
[Onboarding] Introduce search index details page locator and update all reference #205005
[Onboarding] Introduce search index details page locator and update all reference #205005
Conversation
…saarikabhasi/kibana into onboarding/search-index-details-locator
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7628[✅] x-pack/test/functional_search/config.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7627[✅] x-pack/test/api_integration/apis/search/config.ts: 25/25 tests passed. |
…saarikabhasi/kibana into onboarding/search-index-details-locator
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.
x-pack/test/functional/page_objects/index.ts
changes LGTM
* 2.0. | ||
*/ | ||
|
||
import expect from '@kbn/expect'; |
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.
these tests are going to collide with Yan's changes. They are broadly similar but theres likely slight differences in approach.
I suggest we wait until @yansavitski changes are merged in then we can rebase the FTR tests.
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
…saarikabhasi/kibana into onboarding/search-index-details-locator
...ublic/applications/applications/components/search_application/search_application_indices.tsx
Outdated
Show resolved
Hide resolved
() => share?.url.locators.get('SEARCH_INDEX_DETAILS_LOCATOR_ID'), | ||
[share] | ||
); | ||
const SearchIndicesLinkProps = useCallback( |
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.
see other comment.
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.
updated in 6c03f45
...enterprise_search_content/components/connector_detail/components/generated_config_fields.tsx
Outdated
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.
Updates overall looks good. We should probably do a final Flakey Test Runner job just to be safe.
return searchIndexDetailsUrl ? ( | ||
<EuiLink | ||
data-telemetry-id={dataTelemetryId} | ||
data-test-subj={'search-application-index-link'} |
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 a prop along with data-telemetry-id
?
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 could, but added here as data-test-subj
value is same in both usage (flyout & search application content).
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.
updated 359b77e
<EuiLink {...SearchIndicesLinkProps(indexName)}>{indexName}</EuiLink> | ||
<SearchApplicationViewIndexLink | ||
indexName={indexName} | ||
dataTelemetryId={'entSearchApplications-list-viewIndex'} |
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.
the {}
are not needed if you're passing a static string.
dataTelemetryId={'entSearchApplications-list-viewIndex'} | |
dataTelemetryId='entSearchApplications-list-viewIndex' |
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.
updated in 359b77e
return searchIndexDetailsUrl ? ( | ||
<EuiLink | ||
target={target ? '_blank' : undefined} | ||
external={target ? true : false} |
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.
optional nit
external={target ? true : false} | |
external={target ?? false} |
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.
updated in 359b77e
…saarikabhasi/kibana into onboarding/search-index-details-locator
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
|
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7687[✅] x-pack/test/functional_search/config.ts: 25/25 tests passed. |
Summary
search_indices
plugin index details page -SEARCH_INDEX_DETAILS_LOCATOR_ID
.search - Elasticsearch solution nav
demo.mov
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.