You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2018/04/06 13:33:00 UTC

[jira] [Created] (SOLR-12196) Prepare Admin UI for migrating to Angular.io

Jan Høydahl created SOLR-12196:
----------------------------------

             Summary: 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
             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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org