feat(scheduler): add scheduler directive?
Hi guys!
Inspired by the AWESOME datepicker directive, I started thinking about a pure angular scheduler directive. Here you can see what the final result could be; there's no logic yet, I just took the datepicker directive and modified some things (mostly the template) to try and have an idea about possibilities and problems.
Main problems I found:
- to be able to place the appointments over the calendar, absolute positioning is required; so bootstrap classes could not be enough, inline style will be needed inside the template.
- to be able to move appointments from a date to another, something like jQuery UI draggable and droppable will be needed... indeed I starting working on a pure angular implementation right away, you can check it out here
Any thoughts?
@redaemn you are welcome to get the relevant aspects about positioning etc. from my calendar. (https://github.com/jhiemer/angularjs-calendar)
I was not able to proceed due to the lack of time, but you can use it and extend it as you wish to.
Hello @redaemn. I'm sure this will be a great addition! The custom rules is a problem, and at some point we might think of a css file per directive, when the default bootstrap is not enough, like in this case.
As you said, the drag & drop functionality is a prerequisite, and if you implement it, other directives may benefit as well. Like a draggable functionality for dialog.
Keep up with this! :+1:
You should check out https://github.com/btford/angular-dragon-drop for angular html5 drag drop support to start.
Andy Joslin from my mobile
On Tue, Jun 4, 2013 at 6:14 AM, Tasos Bekos [email protected] wrote:
Hello @redaemn. I'm sure this will be a great addition! The custom rules is a problem, and at some point we might think of a
cssfile per directive, when the default bootstrap is not enough, like in this case. As you said, the drag & drop functionality is a prerequisite, and if you implement it, other directives may benefit as well. Like a draggable functionality fordialog.Keep up with this! :+1:
Reply to this email directly or view it on GitHub: https://github.com/angular-ui/bootstrap/issues/501#issuecomment-18900292
@jhiemer and @ajoslin, thanks for your tips! I will surely take e look at those links!!
@redaemn We are cleaning up issues backlog so going to close this one for now. Feel free to open a pull request when you've got something working and ready to be reviewed!