Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Workspace] Enable direct query connections to support in workspace #7839
[Workspace] Enable direct query connections to support in workspace #7839
Changes from 6 commits
38b004a
f19871f
689e0f6
13d5ba8
c8141e3
51441e4
0e6ad2f
0ef40b6
810651c
2409005
4f6d8d9
20db731
49377ce
f1a54af
724170e
2a252b9
28a62aa
fe9635e
ef78bf2
6bd0b12
1519652
99de2f4
679d689
97a5c9f
c32b960
9fee0d2
c4dc217
f6d240d
651f43d
5a1e5a5
b29e3f7
c160ba2
49517b8
284a54a
5b99112
a261a25
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Shall we use
connectionType?: DataSourceConnectionType
?Then we can useundefined
as all connection types?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 can not use DataSourceConnectionType, because the passed parameter is toggleButton id which must be the type of string.
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.
OK. I see. Shall we separate a string enum for the toggle buttons? Then we can map it to
DataSourceConnectionType
in outside.Check warning on line 61 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L60-L61
Check warning on line 65 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L64-L65
Check warning on line 76 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L76
Check warning on line 105 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L104-L105
Check warning on line 153 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L153
Check warning on line 155 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L155
Check warning on line 157 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L157
Check warning on line 161 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L161
Check warning on line 203 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L203
Check warning on line 209 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L209
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.
Miss
i18n
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.
Sure, updated
Check warning on line 223 in src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx
Codecov / codecov/patch
src/plugins/workspace/public/components/workspace_detail/opensearch_connections_table.tsx#L223