-
Notifications
You must be signed in to change notification settings - Fork 892
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
[MD]Refactor dev tool to use dataSourceManagement.ui API to get DataSourceSelector #6477
[MD]Refactor dev tool to use dataSourceManagement.ui API to get DataSourceSelector #6477
Conversation
4b0c15f
to
b67b059
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6477 +/- ##
==========================================
+ Coverage 32.93% 34.91% +1.98%
==========================================
Files 2260 1914 -346
Lines 45769 37007 -8762
Branches 7200 6796 -404
==========================================
- Hits 15075 12922 -2153
+ Misses 29984 23227 -6757
- Partials 710 858 +148
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b67b059
to
62128f9
Compare
Can we add steps for the testing and screenshots? |
sure, added test steps and a video |
❌ Invalid Changelog HeadingThe '## 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. |
❌ Invalid Changelog HeadingThe '## 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. |
❌ Changeset File Not Added YetPlease ensure manual commit for changeset file 6477.yml under folder changelogs/fragments to complete this PR. File still missing. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "[MD]Refactor dev tool to use dataSourceManagement.ui API to get DataSourceSelector". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "refactor". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
d3f803e
to
4cfce11
Compare
… DataSourceSelector Signed-off-by: Zhongnan Su <szhongna@amazon.com>
4cfce11
to
c238e2f
Compare
pick up latest main and re-running all checks |
…ourceSelector (#6477) (#6521) * Refactor dev tool to use dataSourceManagement.ui interfaces to obtain DataSourceSelector (cherry picked from commit fb76ee9) Signed-off-by: Zhongnan Su <szhongna@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>
Description
const DataSourceSelector = dataSourceManagement.ui.DataSourceSelector
instead of direct importDataSourceSelector
.hideLocalCluster
anduiSetting
props, since when using those components, data source management plugin side has logic to always pass and overwrite those 2 props.Issues Resolved
partially fix #6369
Screenshot
iShot_2024-04-16_14.03.23.mp4
Testing the changes
ds1
,ds2
, for testinglocal cluster
,ds1
,ds2
should show up as optiondata_source.hideLocalCluster: true
in yml, and go to dev tool console againChangelog
Check List
yarn test:jest
yarn test:jest_integration