-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
refactor: Unify shared datasources reducers and actions #20645
refactor: Unify shared datasources reducers and actions #20645
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20645 +/- ##
==========================================
- Coverage 66.79% 66.77% -0.03%
==========================================
Files 1753 1753
Lines 65618 65850 +232
Branches 6952 7027 +75
==========================================
+ Hits 43831 43971 +140
- Misses 20023 20091 +68
- Partials 1764 1788 +24
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
...rontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.ts
Show resolved
Hide resolved
This reverts commit 096bbf7.
/testenv up |
@kgabryje Container image not yet published for this PR. Please try again when build is complete. |
@kgabryje Ephemeral environment creation failed. Please check the Actions logs for details. |
/testenv up |
@kgabryje Container image not yet published for this PR. Please try again when build is complete. |
@kgabryje Ephemeral environment creation failed. Please check the Actions logs for details. |
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.
codes LGTM. Thanks for the clean up.
/testenv up |
@michael-s-molina Container image not yet published for this PR. Please try again when build is complete. |
@michael-s-molina Ephemeral environment creation failed. Please check the Actions logs for details. |
@michael-s-molina Container image not yet published for this PR. Please try again when build is complete. |
@michael-s-molina Ephemeral environment creation failed. Please check the Actions logs for details. |
hi @michael-s-molina. I found 2 issues while testing your pr. ch-52581, ch-52589. Can you take a look? |
Hi @andrey-zayats. Thank you for testing. I was able to reproduce both issues on master so it seems they're not related to this PR. I'll forward them to the patch team. |
No other blockers. PR LGTM! |
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
* Revert "fix: Error when saving datasource from Explore (apache#20749)" This reverts commit 92f3621. * Revert "refactor: Unify shared datasources reducers and actions (apache#20645)" This reverts commit 2a70540. (cherry picked from commit 3311128)
SUMMARY
Dashboards and Explore contain Redux state about datasources. This PR refactors the code to extract this functionality into shared files under the
datasource
folder.The names datasource and dataset are being used interchangeably. It would be a good idea to rename all to dataset in the future but this involves changing the Redux state, so it requires its own PR.
This is a follow-up of #20572
TESTING INSTRUCTIONS
We shouldn’t have any differences in terms of functionality.
ADDITIONAL INFORMATION