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.17] [Backport 2.x] [Workspace] Refactor 'Associate data sources' in create page to support direct query connections #8055

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 3f2d867 from #8024.

…rt direct query connections (#7961) (#8024)

* support DQC

* Fix UTs in workspace form select data source panel

* Remove no need IntlProvider

* Add aria-labelledby for permission inputs

* Modify UTs

* Changeset file for PR #7961 created/updated

* Modify UTs

* Resolve some issues

* Modify UTs

* Fix UT errror

* update button text

* rename onSelectItems()

* Fix an error

* Refactor data source connection table

* resolve some issues

* resolve some issues

* Fix the data source URL reference

* Move restProps to tableProps

* Fix table not unmont after connection type changed

* Refactor selectedDataSources to selectedDataSourceConnections

* Load direct query connections after data source tab selected

---------

(cherry picked from commit 16d160a)

Signed-off-by: Kapian1234 <wanjinch@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lin Wang <wonglam@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 3f2d867)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

github-actions bot commented Sep 6, 2024

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

Attention: Patch coverage is 91.36691% with 12 lines in your changes missing coverage. Please review.

Project coverage is 60.65%. Comparing base (d7ce981) to head (c6d1604).
Report is 1 commits behind head on 2.17.

Files with missing lines Patch % Lines
src/plugins/workspace/public/utils.ts 60.00% 8 Missing ⚠️
...ents/workspace_detail/select_data_source_panel.tsx 88.23% 2 Missing ⚠️
...components/workspace_creator/workspace_creator.tsx 75.00% 0 Missing and 1 partial ⚠️
...onents/workspace_form/select_data_source_panel.tsx 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.17    #8055      +/-   ##
==========================================
+ Coverage   60.63%   60.65%   +0.01%     
==========================================
  Files        3730     3731       +1     
  Lines       88365    88403      +38     
  Branches    13686    13695       +9     
==========================================
+ Hits        53584    53617      +33     
- Misses      31526    31534       +8     
+ Partials     3255     3252       -3     
Flag Coverage Δ
Linux_1 28.77% <91.36%> (+0.03%) ⬆️
Linux_2 56.37% <ø> (ø)
Linux_3 37.43% <ø> (ø)
Linux_4 29.78% <ø> (ø)
Windows_1 28.78% <91.36%> (+0.03%) ⬆️
Windows_2 56.33% <ø> (ø)
Windows_3 37.44% <ø> (+<0.01%) ⬆️
Windows_4 29.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SuZhou-Joe SuZhou-Joe merged commit 5f979f2 into 2.17 Sep 6, 2024
68 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports failed changeset repeat-contributor v2.17.0 workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants