-
Notifications
You must be signed in to change notification settings - Fork 912
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
[DeAngular][visualization][vislib] remove angular from vislib #2138
Conversation
Can you give more context on why we are doing this change? You have removed the constructor from the Binder class. How did you decide that it wasn't necessary. |
* remove angular import and $scope from Binder class since there is no usage in the code Issue resolved: opensearch-project#2137 Signed-off-by: Anan Zhuang <ananzh@amazon.com>
fa4023f
to
e5060c9
Compare
Codecov Report
@@ Coverage Diff @@
## main #2138 +/- ##
=======================================
Coverage 67.23% 67.23%
=======================================
Files 3100 3100
Lines 59566 59564 -2
Branches 9063 9062 -1
=======================================
Hits 40047 40047
+ Misses 17332 17331 -1
+ Partials 2187 2186 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hi @ashwin-pc I put the details in the issue (#2137) . Should point it here. Do you think this is good enough? |
Yeah i saw that. My only concern is if |
@ashwin-pc For the two uses, I don't see any of them passing the @scope as the parameter to the constructor. There is no side effect or other places to call @scope. @scope is a middle layer between view (html page) and controller ( to control behavior on the view, like state in react). I think it is safe to remove this part. |
Makes sense to me, probably before merging we can update the pull request (via github) to include these details. |
Yeah sorry for getting back to this so late, thanks for the explanation @ananzh. That makes sense 😄 |
Description
no usage in the code
Issue resolved
#2137
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr