Bootstrap 3.0 list of issues
I figured this has to show up at some point, so hopefully it helps rather than hinders. I haven't finished testing all of the directives at this point, but any assistance is welcome and I'll add it into the list :).
Branch available at: https://github.com/hall5714/angular-ui-bootstrap/tree/bootstrap3
- [ ] General
- [ ] Glyphicons are no longer included in the main bootstrap package. As of right now the demo has to include them in /assets since their aren't any CDN's available yet.
- [ ] The demo, when building, has a weird behavior of randomly adding a disabled attribute to buttons on the page.
- [ ] Accordion
- [ ] accordion-toggle now gets "collapsed" class when collapsed, accordion-body now gets "collapse" class when collapsed. Both are removed on expand.
- [x] Alert
- [x] Buttons
- [ ] Carousel
- [ ] Either a Directive or CSS issue. Carousel is elongated with pictures only taking up approximately 20% of the div. The remainder is filled with the caption. The image should fill the div frame and the caption should be floating on top of it.
- [ ] Collapse
- [ ] element[0].scrollHeight is now always reporting 0, so when expanding it is animated to "height: 0px", so it appears to do nothing.
- [x] Datepicker
- [x] Dialog
- [ ] Dropdown Toggle
- [ ] Appears to be some positioning issues with this. This is visibile in the demo when clicking on the brand, the dropdown loads to the left of the screen.
- [x] Modal
- [x] Pagination
- [x] Popover
- [ ] Progressbar
- [ ] Bar types (progress-bar-warning, progress-bar-success etc) must be in the progress-bar class and not the progress class. The static demo is currently broken as a result. Will probably need to add a new attribute (bar-class etc) to fix this.
- [x] Rating
- [x] Tabs
- [x] Timepicker
- [x] Tooltip
- [x] Typeahead
Collapse does not work either. New class is named collapsed instead of collapse or something like that.
+1
Thanks @hall5714 ! I will try to start merging some of these fixes in the next few days - probably just on a 3.0 branch for now. We're all quite busy lol
@gdiazlo The collapse class is the same, but accordion-toggle div needs to have collapsed class added (when it's collapsed). The big issue is scrollHeight is now reporting 0 all the time (frankly I have NO idea why it would be doing this with nothing but CSS changes...).
@ajoslin No problem! Do you want me to start PRing these against the 3.0 branch or stick with master?
How about call it bootstrap3 instead - more clear.
And yeah, it would be great if you could PR them to that.
@ajoslin maybe we should just do folder structure refactor you did without switching to AngularJS1.2?
Anyway, while I understand that people are eager to have support for Bootstrap3 IMO we should really focus on the bigger restructure of this project. And a new name is a key here....
@pkozlowski-opensource I tend to agree that the merger with AngularStrap and other major restructuring is a priority, I'm not sure I can help much with that. Most of the PR's I'm planning on at this point are minor directive changes and/or template modifications. If you guys need any help elsewhere with bigger priorities let me know, frankly this is mostly just busy work :).
One other issue that's going to have to be resolved is Bootstrap moved the glyphicons into their own repository and changed the convention to . We'll have to wait for FontAwesome 4 (wip right now) before we know if this breaks compatibility, but judging by the issue list they are going with their own class names, so icons may have to become a configurable options across ui-bootstrap.
I've got the demo updated at https://github.com/hall5714/angular-ui-bootstrap/tree/bootstrap3 for those wishing to follow the progress (you'll have to build yourself for now). Unfortunately I've got a really weird bug when the docs are built causing a bunch of buttons to get a disabled attribute added to them. I have no idea why... Regardless I'll keep this updated and start running tests locally so it won't get pushed up to the repo without passing the tests first.
Closing since #742 covers all of this.