-
Notifications
You must be signed in to change notification settings - Fork 893
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
[De-Angular] Clean angular context in Data plugin #5417
Conversation
Signed-off-by: ShatilKhan <shatilshahriar009@gmail.com>
@ShatilKhan There's a conflict to resolve. Let me know if you need assistance resolving it. |
Thanks, I'm not done with all the updates for this PR yet, once that's done, I resolve the conflicts |
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 don't think we could directly remove this file, since toAngularJSON
is still used in src/plugins/data/common/search/aggs/buckets/filters.ts right? We need to replace the usage of toAngularJSON
in this file as well.
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.
@ShatilKhan just see ur comment. makes sense to me. if you haven't done all the work, you could turn this PR into a draft so people won't start reviewing it.
Thanks @ananzh |
I don't think I have permission to draft |
This reverts commit f4961d6.
I'm trying to understand this section in |
I found the reference to |
I'm trying out renaming the function |
Changed the name of the function |
change `toAngularJSON` to `toJSON` function Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
change reference for `to_angular_json` into `to_json` Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5417 +/- ##
=======================================
Coverage 67.02% 67.02%
=======================================
Files 3294 3294
Lines 63307 63307
Branches 10071 10071
=======================================
+ Hits 42430 42432 +2
+ Misses 18431 18430 -1
+ Partials 2446 2445 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Shahriar Shatil <52494840+ShatilKhan@users.noreply.github.com>
Description
toAngularJSON
function intotoJSON
to_angular_json
file intoto_json
to_angular_json
toto_json
Issues Resolved
Closes #5021
Screenshot
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration