-
Notifications
You must be signed in to change notification settings - Fork 58
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
Bug fix for data-sources page #1830
Conversation
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
public/plugin.tsx
Outdated
handleRefresh?: () => void, | ||
dataSourceMDSId?: 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.
This order change might need a change in workbench? How do we know this is not causing a new regression, do we have test setup for this?
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.
yes same instance with the fix has it
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.
I meant some cypress tests or jest tests, to catch any regression in workbench. For example in workbench we are passing the params to this function: https://github.com/opensearch-project/dashboards-query-workbench/blob/888a8fe83b5e0a732866aaddb7a229eabed0f150/public/components/SQLPage/SQLPage.tsx#L71 Since, we do not have named params the MDSId will be mapped to databaseName
now.
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.
Please address all comments
...es/components/manage/accelerations/create_accelerations_flyout/selectors/source_selector.tsx
Outdated
Show resolved
Hide resolved
...es/components/manage/accelerations/create_accelerations_flyout/selectors/source_selector.tsx
Outdated
Show resolved
Hide resolved
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.
Not a blocker: The type for cacheLoadingHooks: any;
or it's properties shouldn't be any
, it does not tell you the signature of the parameters you should be passing and hence we see such major bugs creeping in.
Can we please add correct type annotations here?
Signed-off-by: sumukhswamy <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1830 +/- ##
==========================================
+ Coverage 57.46% 57.85% +0.38%
==========================================
Files 370 372 +2
Lines 14051 14082 +31
Branches 3702 3712 +10
==========================================
+ Hits 8075 8147 +72
+ Misses 5911 5871 -40
+ Partials 65 64 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@sumukhswamy As mentioned for the workbench PR can we please create and track an issue for adding mock cypress before 2.15 release. This will be crucial as we'll have more changes coming to these plugins in future releases. |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/dashboards-observability/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/dashboards-observability/backport-2.x
# Create a new branch
git switch --create backport/backport-1830-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 59f0d57e05ae64382b0cd71e0686b03f58c6059c
# Push it to GitHub
git push --set-upstream origin backport/backport-1830-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/dashboards-observability/backport-2.x Then, create a pull request where the |
* added fix for failing data-sources page Signed-off-by: sumukhswamy <[email protected]> * added change for job with the id Signed-off-by: sumukhswamy <[email protected]> * addressed pr comments Signed-off-by: sumukhswamy <[email protected]> * added fix for flyput Signed-off-by: sumukhswamy <[email protected]> * added fix for flyout Signed-off-by: sumukhswamy <[email protected]> * refactored the flyout objects with an interface Signed-off-by: sumukhswamy <[email protected]> --------- Signed-off-by: sumukhswamy <[email protected]>
* added fix for failing data-sources page * added change for job with the id * addressed pr comments * added fix for flyput * added fix for flyout * refactored the flyout objects with an interface --------- Signed-off-by: sumukhswamy <[email protected]>
Description
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.