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

[Backport 2.x] Database selector in "Set Up Integration" page #2384

Merged
merged 1 commit into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] =
"connectionLocation": "",
"connectionTableName": "sample",
"connectionType": "index",
"databaseName": "default",
"displayName": "sample Integration",
"enabledWorkflows": Array [],
}
Expand Down Expand Up @@ -114,6 +115,7 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] =
"connectionLocation": "",
"connectionTableName": "sample",
"connectionType": "index",
"databaseName": "default",
"displayName": "sample Integration",
"enabledWorkflows": Array [],
}
Expand Down Expand Up @@ -262,6 +264,7 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] =
"connectionLocation": "",
"connectionTableName": "sample",
"connectionType": "index",
"databaseName": "default",
"displayName": "sample Integration",
"enabledWorkflows": Array [],
}
Expand Down Expand Up @@ -943,6 +946,7 @@ exports[`Integration Setup Page Renders integration setup page as expected 1`] =
"connectionLocation": "",
"connectionTableName": "sample",
"connectionType": "index",
"databaseName": "default",
"displayName": "sample Integration",
"enabledWorkflows": Array [],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,103 @@ exports[`Integration Setup Inputs Renders the query inputs 1`] = `
</div>
</div>
</EuiCompressedFormRow>
<EuiCompressedFormRow
describedByIds={Array []}
display="rowCompressed"
fullWidth={false}
hasChildLabel={true}
hasEmptyLabelSpace={false}
helpText="Enter the name of the database to store your data. The 'default' database will be used if no input is provided."
label="Database Name"
labelType="label"
>
<div
className="euiFormRow euiFormRow--compressed"
id="random_html_id-row"
>
<div
className="euiFormRow__labelWrapper"
>
<EuiFormLabel
className="euiFormRow__label"
htmlFor="random_html_id"
isFocused={false}
type="label"
>
<label
className="euiFormLabel euiFormRow__label"
htmlFor="random_html_id"
>
Database Name
</label>
</EuiFormLabel>
</div>
<div
className="euiFormRow__fieldWrapper"
>
<EuiCompressedFieldText
aria-describedby="random_html_id-help-0"
id="random_html_id"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
placeholder="default"
>
<EuiFieldText
aria-describedby="random_html_id-help-0"
compressed={true}
id="random_html_id"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
placeholder="default"
>
<EuiFormControlLayout
compressed={true}
fullWidth={false}
inputId="random_html_id"
>
<div
className="euiFormControlLayout euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
>
<EuiValidatableControl>
<input
aria-describedby="random_html_id-help-0"
className="euiFieldText euiFieldText--compressed"
id="random_html_id"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
placeholder="default"
type="text"
/>
</EuiValidatableControl>
<EuiFormControlLayoutIcons
compressed={true}
/>
</div>
</div>
</EuiFormControlLayout>
</EuiFieldText>
</EuiCompressedFieldText>
<EuiFormHelpText
className="euiFormRow__text"
id="random_html_id-help-0"
key="Enter the name of the database to store your data. The 'default' database will be used if no input is provided."
>
<div
className="euiFormHelpText euiFormRow__text"
id="random_html_id-help-0"
>
Enter the name of the database to store your data. The 'default' database will be used if no input is provided.
</div>
</EuiFormHelpText>
</div>
</div>
</EuiCompressedFormRow>
<EuiCompressedFormRow
describedByIds={Array []}
display="rowCompressed"
Expand Down
Loading
Loading