Seeking opinions on Koha's calendar widget
I would like to propose that we stop using the calendar widget which is currently included with Koha and start using the jQuery UI version at the same time that we incorporate jQuery UI into other areas of Koha (see bug 5481 - Replace YUI JS libraries with Jquery UI http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5481). Some reasons: - It's simpler to manage a single group of jQuery UI widgets than to continue to maintain a separate set of files just for the calendar. - jQueryUI is actively developed and packaged with Debian - Our current calendar widget is not longer being developed under GPL. The author asks $80 per domain for the current version. - The current calendar widget uses now-deprecated CSS properties which are causing problems in some browsers. The jQueryUI calendar widget can be tested here: http://jqueryui.com/demos/datepicker/ The configuration which most closely approaches the version we use is this one: http://jqueryui.com/demos/datepicker/#dropdown-month-year Note that when we implement jQuery UI we will be creating a "theme" for all jQuery UI widgets which will be consistent with Koha's colors. In other words, it doesn't have to be orange :) Can anyone suggest any reasons why we should not switch? -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Owen, I can't see any compelling reason not to make the switch. Thanks for laying it out clearly for us! -Ian On Thu, Feb 17, 2011 at 12:51 PM, Owen Leonard <oleonard@myacpl.org> wrote:
I would like to propose that we stop using the calendar widget which is currently included with Koha and start using the jQuery UI version at the same time that we incorporate jQuery UI into other areas of Koha (see bug 5481 - Replace YUI JS libraries with Jquery UI http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5481).
Some reasons:
- It's simpler to manage a single group of jQuery UI widgets than to continue to maintain a separate set of files just for the calendar. - jQueryUI is actively developed and packaged with Debian - Our current calendar widget is not longer being developed under GPL. The author asks $80 per domain for the current version. - The current calendar widget uses now-deprecated CSS properties which are causing problems in some browsers.
The jQueryUI calendar widget can be tested here:
http://jqueryui.com/demos/datepicker/
The configuration which most closely approaches the version we use is this one:
http://jqueryui.com/demos/datepicker/#dropdown-month-year
Note that when we implement jQuery UI we will be creating a "theme" for all jQuery UI widgets which will be consistent with Koha's colors. In other words, it doesn't have to be orange :)
Can anyone suggest any reasons why we should not switch?
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Ian Walls Lead Development Specialist ByWater Solutions Phone # (888) 900-8944 http://bywatersolutions.com ian.walls@bywatersolutions.com Twitter: @sekjal
Hi, On Thu, Feb 17, 2011 at 12:51 PM, Owen Leonard <oleonard@myacpl.org> wrote:
Can anyone suggest any reasons why we should not switch?
For the calendar widget qua date-picker, switching to the jQuery UI widget makes sense for the reasons you've mentioned. I do have a question -- have you checked whether it can be made to work as a stand-alone calendar widget that is not tied to a form's input field, e.g., the way the current calendar widget is used on the holidays page? Regards, Galen -- Galen Charlton gmcharlt@gmail.com
On Fri, Feb 18, 2011 at 7:21 AM, Galen Charlton <gmcharlt@gmail.com> wrote:
Hi,
On Thu, Feb 17, 2011 at 12:51 PM, Owen Leonard <oleonard@myacpl.org> wrote:
Can anyone suggest any reasons why we should not switch?
For the calendar widget qua date-picker, switching to the jQuery UI widget makes sense for the reasons you've mentioned. I do have a question -- have you checked whether it can be made to work as a stand-alone calendar widget that is not tied to a form's input field, e.g., the way the current calendar widget is used on the holidays page?
I'd like to add my voice to the 'yes, definitely you want to switch'. I've had a large project going that is eventually migrating from exactly that old stinky calendar widget to the jQuery UI calendar widget -- much more please to use from the user and developer ends. The only issue we've had is the old stinky widget support time and date setting so needed to handle time inputs separately. Galen, it can be used inline and I suspect would work how you're thinking. See: http://jqueryui.com/demos/datepicker/#inline -reed
Hi, On Thu, Feb 17, 2011 at 2:38 PM, Reed Wade <reedwade@gmail.com> wrote:
Galen, it can be used inline and I suspect would work how you're thinking. See: http://jqueryui.com/demos/datepicker/#inline
Thanks for confirming. +1 to the switch. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
Le 17/02/2011 20:55, Galen Charlton a écrit :
Hi,
On Thu, Feb 17, 2011 at 2:38 PM, Reed Wade <reedwade@gmail.com> wrote:
Galen, it can be used inline and I suspect would work how you're thinking. See: http://jqueryui.com/demos/datepicker/#inline
Thanks for confirming.
+1 to the switch.
Regards,
Galen
I have seen #localize... +1 for the switch. (and as far as I am concerned, everything that comes to unification and simplification of the tools used, you can count on me) -- Henri-Damien LAURENT
On Thu, Feb 17, 2011 at 2:55 PM, Galen Charlton <gmcharlt@gmail.com> wrote:
Hi,
Galen, it can be used inline and I suspect would work how you're
On Thu, Feb 17, 2011 at 2:38 PM, Reed Wade <reedwade@gmail.com> wrote: thinking. See:
Thanks for confirming.
+1 to the switch.
Trying again.... ;-) +1 to switch as well. Kind Regards, Chris
Further--- It's well worth considering a whole hog shift to the jQuery UI widgets throughout. -reed On Fri, Feb 18, 2011 at 8:38 AM, Reed Wade <reedwade@gmail.com> wrote:
On Fri, Feb 18, 2011 at 7:21 AM, Galen Charlton <gmcharlt@gmail.com> wrote:
Hi,
On Thu, Feb 17, 2011 at 12:51 PM, Owen Leonard <oleonard@myacpl.org> wrote:
Can anyone suggest any reasons why we should not switch?
For the calendar widget qua date-picker, switching to the jQuery UI widget makes sense for the reasons you've mentioned. I do have a question -- have you checked whether it can be made to work as a stand-alone calendar widget that is not tied to a form's input field, e.g., the way the current calendar widget is used on the holidays page?
I'd like to add my voice to the 'yes, definitely you want to switch'.
I've had a large project going that is eventually migrating from exactly that old stinky calendar widget to the jQuery UI calendar widget -- much more please to use from the user and developer ends.
The only issue we've had is the old stinky widget support time and date setting so needed to handle time inputs separately.
Galen, it can be used inline and I suspect would work how you're thinking. See: http://jqueryui.com/demos/datepicker/#inline
-reed
On 17/02/11 17:51, Owen Leonard wrote:
I would like to propose that we stop using the calendar widget which is currently included with Koha and start using the jQuery UI version at the same time that we incorporate jQuery UI into other areas of Koha (see bug 5481 - Replace YUI JS libraries with Jquery UI http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5481). Definitely concur +1
Colin -- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 845 557 5634 (phone) +44 (0) 7759 633626 (mobile) colin.campbell@ptfs-europe.com skype: colin_campbell2 http://www.ptfs-europe.com
Le 17/02/2011 18:51, Owen Leonard a écrit :
The jQueryUI calendar widget can be tested here:
-- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
participants (8)
-
Chris Nighswonger -
Colin Campbell -
Galen Charlton -
Ian Walls -
LAURENT Henri-Damien -
Owen Leonard -
Paul Poulain -
Reed Wade