[ 
https://issues.apache.org/jira/browse/SOLR-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428335#comment-16428335
 ] 

Jan Høydahl commented on SOLR-12196:
------------------------------------

Not sure if this is realistic if we don't have a dedicated frontend committer 
who can lead the effort. I know enough of JS, HTML and Angular to find my way 
around Admin UI and do small stuff, but doing major restructuring would benefit 
from someone who have done it before... Hope to get some input into this 
thinking from [~upayavira], [~steffkes], [~erickerickson]. The 
[ngUpgrade|https://angular.io/guide/upgrade#upgrading-with-ngupgrade] approach 
looks attractive as we can migrate one view at a time, assuming that our app is 
large enough for it to be a major undertaking to do it all-in-one-step. So this 
Jira I guess is to take us to a position where it would be possible to even 
think about such a move :)

> Prepare Admin UI for migrating to Angular.io
> --------------------------------------------
>
>                 Key: SOLR-12196
>                 URL: https://issues.apache.org/jira/browse/SOLR-12196
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>            Reporter: Jan Høydahl
>            Priority: Major
>              Labels: Angular, AngularJS, angular-migration
>             Fix For: master (8.0)
>
>
> AngularJS is soon end of life, it enters LTS in july 2018, whereupon it will 
> only receive fixes to serious bugs. Solr uses AngularJS 1.3 (the latest 
> AngularJS is 1.7).
> This issue is *not* for upgrading to Angular5/6, but to start preparing the 
> existing UI for easier migration later on. See 
> https://angular.io/guide/upgrade. 
> This JIRA will likely get multiple sub tasks such as
> * Change to [Folders-by-Feature 
> Structure|https://angular.io/guide/upgrade#follow-the-angularjs-style-guide], 
> i.e. mix html, css, js in a folder base don feature
> * Use a [Module 
> Loader|https://angular.io/guide/upgrade#using-a-module-loader] like 
> [Webpack|https://webpack.js.org]
> * Use [Component 
> Directives|https://angular.io/guide/upgrade#using-component-directives] 
> (requires first move from AngularJS 1.3 to 1.5)
> The rationale for this lira is recognising how central the Admin UI is to 
> Solr, not letting it rot on top of a dying framework. Better to start moving 
> step by step and [perhaps write all new views in Angular 
> 5|https://angular.io/guide/upgrade#upgrading-with-ngupgrade], than to fall 
> further and further behind.
> This effort of course assumes that Angular.io is the path we want to go, and 
> not React, VueJS or some other new kid on the block :-)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to