teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Update Angular #79

Open kortemik opened 1 year ago

kortemik commented 1 year ago

ID <132> Reporter <@ronja-ui>

Webpack sourcemap reports on browser that TG is using v1.5.7 of AngularJS.

AngularJS support has officially ended as of January 2022. https://github.com/angular/bower-angular

Switch to Angular https://angular.io/

kortemik commented 1 year ago

User <@ronja-ui> Date <[2022-03-22T12:02:04Z]>

Upgrading from AngularJS - Upgrading Instructions https://angular.io/guide/upgrade

kortemik commented 1 year ago

User <@StrongestNumber9> Date <[2022-03-22T12:02:19Z]>

Current angular related versions

$ jq -r '.dependencies[] | select(. | contains("angular")) | split("#") as $x | $x[0] | split("/") as $y | $y[5] + " : " + $x[1]' package.json 
bower-angular.git : 1.5.7
bower-angular-animate.git : 1.5.7
bower-angular-cookies.git : 1.5.7
angular-dragdrop.git : 1.0.11
angular-elastic.git : ~2.4.2
angular-elastic-input.git : ~2.2.0
angular-filter.git : ~0.5.4
bower-angular-mocks.git : 1.5.7
bower-angular-resource.git : 1.5.7
bower-angular-route.git : 1.5.7
bower-angular-sanitize.git : 1.5.7
bower-angular-touch.git : 1.5.7
angular-viewport-watch.git : 0.1.221
angular-websocket.git : ~1.0.13
angular-xeditable.git : 0.1.12
kortemik commented 1 year ago

User <@StrongestNumber9> Date <[2022-03-22T13:46:21Z]>

This is insanely big project as whole zeppelin relies on $scope that is deprecated.

kortemik commented 1 year ago

User <@StrongestNumber9> Date <[2022-03-24T11:01:36Z]>

Effort has been made by zeppelin to make it work with angular 8.0 (latest at the time of commit).

https://github.com/apache/zeppelin/commit/6af0934c6ee9706437c28431be55ab3763bb850a

https://github.com/apache/zeppelin/tree/v0.10.1/zeppelin-web-angular

Not touched that much after that though.

Issue for it here https://issues.apache.org/jira/browse/ZEPPELIN-4321

Github PR with images https://github.com/apache/zeppelin/pull/3490