I agree. I think that a Javascript-based UI is the future for most CRUD pages such as viewing lists of data and editing simple configs.
My goal with the Angular list pages is to add useful filtering to the lists with weak filtering (notifications, outages) which will address bugs that have been reported for a very long time with OpenNMS's web UI: http://issues.opennms.org/browse/HZN-427 After that works well, we can move to replacing the event, alarm, and node lists with Angular as well. Angular simplifies the UI code significantly. I did a quick calculation yesterday... the core Angular list code is about 700 lines plus about 500 lines per implementation (notification, outage, etc) and hasn't been refactored to consolidate a lot of things. Still, this 1200 lines of code is replacing 4000+ lines of JSP + Java. :) -- Seth On 7/5/16 7:27 AM, Ronny Trommer wrote: > IMHO: If we add more Angular JS stuff and more Vaadin stuff - we start > to get a common UI strategy. > >> Begin forwarded message: >> >> *From: *Seth Leger <s...@opennms.org <mailto:s...@opennms.org>> >> *Subject: **[opennms-cvs] [OpenNMS/opennms] 360737: Added Angular >> outage list that is mostly working.* >> *Date: *5. Juli 2016 um 12:10:38 MESZ >> *To: *opennms-...@lists.sourceforge.net >> <mailto:opennms-...@lists.sourceforge.net> >> *Reply-To: *Seth Leger <s...@opennms.org <mailto:s...@opennms.org>> >> >> Branch: refs/heads/jira/NMS-2656/notifications >> Home: https://github.com/OpenNMS/opennms >> Commit: 3607378064d6a3ad1f30987af0e6bd55ac2ef699 >> >> https://github.com/OpenNMS/opennms/commit/3607378064d6a3ad1f30987af0e6bd55ac2ef699 >> Author: Seth Leger <s...@opennms.org <mailto:s...@opennms.org>> >> Date: 2016-07-05 (Tue, 05 Jul 2016) >> >> Changed paths: >> M opennms-model/src/main/java/org/opennms/netmgt/model/OnmsOutage.java >> M >> opennms-model/src/test/java/org/opennms/netmgt/model/OnmsOutageTest.java >> M opennms-webapp-rest/src/test/resources/v1/outages.json >> A opennms-webapp/src/main/webapp/js/angular-onmsList-outage.js >> R opennms-webapp/src/main/webapp/outage/current.jsp >> A opennms-webapp/src/main/webapp/outage/indexNew.jsp >> A opennms-webapp/src/main/webapp/outage/main.html >> >> Log Message: >> ----------- >> Added Angular outage list that is mostly working. >> >>
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel