Forums

Posting in these forums is disabled. These forums will be available for archive purposes. Please join the new forums at the links below:

  • yui-support - replaces the `YUI 3.x` and `YUI 3 Gallery` forums.
    We have created the following discussion categories within this group to aid discoverability for these most-used topics:
    • Charts for YUI Charts support.
    • DataTable for YUI DataTable support.
    • Gallery for YUI Gallery support, including support for published Gallery components as well as the Gallery process in general.
    • Tools for support of YUI’s suite of developer tools such as selleck, shifter, grover, yogi, etc.
    • Everything Else for questions that don’t fit one of the categories above, we’ve got you covered here.
  • yui-deprecated - replaces the `YUI 2.x` forum and the forums of other deprecated products (`YUI Doc`, `Builder`, `YUI PHP Loader`, etc.).
  [ 11 posts ] Go to page 1, 2 Next
New Topic | Post Reply | Print view
Previous topic | Next topic

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile
Tags:
  • bug

Feature Requests

Post Posted: Sat Oct 31, 2009 2:54 pm
+0-
Add your feature requests here please.

Viktor Rennert

YUI Contributor

  • Username: Blackshark
  • Joined: Wed Sep 09, 2009 5:18 am
  • Posts: 8
  • Location: Berlin
  • GitHub: vrennert
  • Gists: vrennert
  • IRC: Blackshark
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Mon Nov 02, 2009 1:55 am
+1-
What i had in my YUI 2 implementation is.
-24 and 12 hour mode
-same flexible internalization as in calendar
-selection of time periods
-bi-directional update (choose time from gui and update input OR type time and update gui)
-convert timestamp to YUI time.

that's it so far.

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile
Tags:
  • github

Re: Feature Requests

Post Posted: Mon Nov 02, 2009 10:44 am
+0-
Coolness. I'll put that on the list. Or if you feel up to it feel free to fork the code in github and make the changes, I will merge them in.

JohnG

  • Joined: Mon Oct 26, 2009 7:42 pm
  • Posts: 61
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Fri Feb 19, 2010 7:41 pm
+0-
I really like this widget, would it be possible to get an example with two inputs on the same form?

- 2nd the request for being able to configure the time periods; instead of 15 minute increments, maybe 10, 5 or 1.

Joss DaBoss

  • Username: joss
  • Joined: Thu Feb 18, 2010 8:18 am
  • Posts: 1
  • Offline
  • Profile
Tags:
  • container
  • css
  • widget

Re: Feature Requests

Post Posted: Sat Feb 20, 2010 6:24 am
+-1-
JohnG wrote:
I really like this widget, would it be possible to get an example with two inputs on the same form?

- 2nd the request for being able to configure the time periods; instead of 15 minute increments, maybe 10, 5 or 1.


I would like to second the request for an example where one had multiple inputs of this type in the same form, but I am more interested in the situation where one has a table contain 100's of times and one wanted to bring up the widget adjacent to the chosen cell when one clicked on it.

I tried with a set of inputs and the sticking point I ran into was the placement of the container. It worked fine if we left the widget where it was but I wanted the widget next to the chosen input. I suppose I could create the widget on demand for each cell but that seems wasteful. What I was thinking was maybe one could detatch the widget from wherever it was and place it into the parent of the selected widget.. my solution almost worked too, but it loses the css .. this is what I tried...

<form>
<div>Label: <input type="text" name="time1" value="2:45AM" class="time"></div>
<div>Label: <input type="text" name="time2" value="2:45AM" class="time"></div>
<div>Label: <input type="text" name="time3" value="2:45AM" class="time"></div>
<div id='cb'>
</div>
</form>

then... something like:

Yui().Use('gallery-timepicker', function(Y) {
var pContainer = Y.get('#cb');
var dbg = Y.get('#dbg');
var theTarget;
var picker = new Y.Saw.Timepicker({contentBox: '#cb'});
picker.render();
picker.hide();
picker.set('time.ampm', picker.AM);

picker.subscribe('timeset', function(data){
if (theTarget)
theTarget.set('value' ,data.s12hour); //#time should be a text input
});

picker.subscribe('cellclick', function(e){
this.hide();
},picker);

function handleClick(e){
theTarget = e.target;
picker.hide();
var parent = theTarget.get('parentNode');
dbg.setContent(theTarget.get('id'));
pContainer.remove();
parent.appendChild(pContainer);
picker.toggle();
}

Y.all('.time').on('click', handleClick);
});

and it almost worked.. except the displayed widget does not have appropriate css settings. This might be completely the wrong way of going about it anyway, so I want to know the correct way.

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Tue Feb 23, 2010 12:44 pm
+0-
Hi, it looks like this might be a bug, I'm working on it right now.

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Tue Feb 23, 2010 1:41 pm
+0-
Yeah, there is a bug, there was a static var being treated as if it wasn't. I have a patch I'm testing now, I'll request a push.

When the change is out using another one will be just like using the first, just call new Y.Saw.Timepicker and do whatever you like.

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Tue Feb 23, 2010 2:02 pm
+0-
CDN push requested, I'll let you know what its updated. If you are interested, here is the patch:

http://github.com/saw/yui3-gallery/comm ... 5e04b6717d

A little hard to read because I cleaned up some formatting.

Stephen Woods

YUI Contributor

  • Username: saw
  • Joined: Wed Jul 08, 2009 2:28 pm
  • Posts: 8
  • Location: San Francisco, CA
  • Twitter: ysaw
  • GitHub: saw
  • Gists: saw
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Thu Feb 25, 2010 5:21 pm
+0-
Ok fix is pushed, now two pickers will co-exist on the same page happily.

Rishi Kanth

  • Username: rishikanth.s
  • Joined: Mon Jun 28, 2010 8:33 pm
  • Posts: 1
  • IRC: Rishi
  • Offline
  • Profile

Re: Feature Requests

Post Posted: Mon Jun 28, 2010 8:47 pm
+0-
Hi,

I am new to YUI and I have tried your Timepicker and it has been very useful tool for my design. I have tried to customerize the minutes values but failed to do so. I have check your source JS and found that you have fixed the values between 15 - 45 with step size 15. Is it possible to add "Customizable Minutes" feature to the widget.

2. Can I possibly download the JS, include it in my web pages and use it. If yes ? Can you please show me the changes i need to make to the function call.

Thanks,
  [ 11 posts ] Go to page 1, 2 Next
New Topic | Post Reply | Print view
Previous topic | Next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum