Description
There are a number of issues focused on UI improvements (CLIMATE-378, CLIMATE-377, CLIMATE-355) that I'm going to group under a single umbrella issue.
At the moment, we have issues with managing and updating dependencies for the frontend since all libraries are managed manually. This also causes a lot of bloat in the repo since we're checking in a ton of JavaScript dependencies that don't need to be here.
We're very far back from the latest Angular version and the update is only going to get more and more painful the longer the we wait. This is also true for Bootstrap and many (most) of the other dependencies.
A number of the tests are currently not working (partially my fault) and fixing them is even more painful since we were using an extremely old version of Karma (yay, more dependency issues).
In an effort to make maintaining the frontend easier and to hopefully prevent these problems from getting worse, I've begun working on moving the project over to using Yeomann, Bower, and Grunt. If you'd like to read about them checkout [1] (it's a bit outdated, but still useful). At the same time, I'm going through and fixing any problems that result from outdated dependencies. At the moment my progress is sitting in a branch in my fork of the Climate repo [2].
[1] http://www.sitepoint.com/kickstart-your-angularjs-development-with-yeoman-grunt-and-bower/
[2] https://github.com/mjjoyce/climate/tree/ui-restructure
Attachments
Issue Links
- contains
-
CLIMATE-378 Setup proper build/dependency management for UI
- Resolved
-
CLIMATE-377 Update UI to latest Angular version
- Resolved
-
CLIMATE-355 Update UI frontend tests
- Resolved