Closed alechenninger closed 9 years ago
Use this diff to review (has no bower_components in it): https://github.com/alechenninger/lightblue-applications/commit/f4cf82e5310a78e074637c71b178ba02895adbeb
Another part of the motivation of moving to ui-bootstrap is that the alert component is also easier to use that angular-strap's counterpart, and I want to use this to address #65 .
As part of the environment dropdown dependency refactor I added the ng-cloak
directive to the dropdown. This helps address the ugliness that can happen as mentioned in #91 .
It feels like this is a more complicated PR than the subject would indicate. Should this possibly be multiple PRs?
I don't think so really. It just looks big because I changed / removed a bunch of dependencies. Updating dependencies involved finding compatible versions for everything. The original plugin for the dropdown select made that more complicated than it had to be, so I changed out that dependency for a different one. Now the dependencies are much simpler. And changing out that dependency actually only involved removing code. The only code that was added was one directive, "ng-cloak" on the dropdown.
You can see what "really" changed from this single commit: https://github.com/alechenninger/lightblue-applications/commit/f4cf82e5310a78e074637c71b178ba02895adbeb
Well, sorry, I lied a little. I had to change the index template a little bit for the new dropdown directive but, it's a very simple change, mostly rearranging what was already there.
poke, nudge ... is anyone looking at this? Are there any questions? I'm waiting on this for some usability improvements that will need the angular-ui-bootstrap dependency which was swapped in.
Related was changing from using angular-strap to angular-ui-bootstrap which is maintained by angular team and much simpler and more angular-y to use. You can see in the code it is a lot simpler.
The first commit is only bower_components, so it can be ignored. The second commit is where I modified app to consume updated deps including the bootstrap directive usage.