-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Unify modal and dialog #128
Comments
+1 Definitively. Not only we need to unify config options but implementation as well (when appropriate). |
I started working on the merge of modal and dialog on my fork.
|
@SidhNor awesome news! I guess making the modal directive depend on the $dialog service is a good move. I assume that you are going to take out child markup and use it as a |
Exactly :) |
Initial draft 329e8f8 |
I finished the initial merge. @angular-ui/bootstrap, Thanks |
@SidhNor I had a quick look and it looks OK. Too tired to have deeper look but just 2 remarks for now:
Great stuff, keep up the good work! |
Again, changes can be seen here: |
@SidhNor Just had another look at the Just wonder if we this is the best strategy to hide the element ( |
@pkozlowski-opensource , |
@SidhNor seems really fine. Can you squash commits and open a PR so we can use code review of GH? I will have a couple of small remarks that I could just fix when merging but prefer to share my thoughts on GH. Great work, BTW! |
The
modal
directive is currently only configurable with the two (undocumented) optionsbackdrop
andescape
. Thedialog
service on the other hand accepts 11 different options (with different names) controlling similar and additional behavior:https://github.com/angular-ui/bootstrap/blob/master/src/dialog/README.md#optionsopts
Can there be more overlap here?
The text was updated successfully, but these errors were encountered: