GithubHelp home page GithubHelp logo

Comments (16)

owenmead avatar owenmead commented on June 28, 2024 1

https://github.com/owenmead/Pikaday/

from pikaday.

dbushell avatar dbushell commented on June 28, 2024

Yes definitely! It will be on a forked version to avoid code bloat here and probably dependant on Moment.js

from pikaday.

mgibbs189 avatar mgibbs189 commented on June 28, 2024

Cool! Any initial ideas on the time selection UI?

jQuery UI Timepicker uses 2 sliders, which works well, but has a pretty heavy dependency footprint.

from pikaday.

dbushell avatar dbushell commented on June 28, 2024

I'm tentatively going to say within the next month! I made this to ultimately replace my use of jQuery UI date/time pickers.

from pikaday.

mgibbs189 avatar mgibbs189 commented on June 28, 2024

@dbushell - I was asking about the User Interface, not the ETA :)

I've seen everything from dropdowns to flyout menus to sliders, and I was just curious as to which direction you were going to take.

from pikaday.

dbushell avatar dbushell commented on June 28, 2024

@logikal16 ha oh right, must have assumed before reading!

Not thought about it yet, the sliders are nice but a bit fiddly to adjust. When I do some research I'll publish options in this thread. What's your preference?

from pikaday.

mgibbs189 avatar mgibbs189 commented on June 28, 2024

Sliders work best of all the options I've tried. There's definitely still room for improvement though.

I've been tossing around the idea of a joystick button. Dragging up/down to adjust hours, and left/right to adjust minutes.

joystick button

from pikaday.

cemo avatar cemo commented on June 28, 2024

+1 for time support.

from pikaday.

stas avatar stas commented on June 28, 2024

I'm willing to buy a beer/coffee for the first one who requests a pull on this.

Regarding sliders vs select fields: +1 for selects, sliders suck at precision. Having a field where developers can adjust the available time-frame is more than enough (say every hour, every 5 minute to be available as an option).

@dbushell thanks a lot for the work so far!

from pikaday.

delianides avatar delianides commented on June 28, 2024

+1 for selects, I've stopped using sliders for time input because people complained about them. Selects seem to be a much better way to go.

from pikaday.

mgibbs189 avatar mgibbs189 commented on June 28, 2024

Any updates? Is the verdict to use time selection dropdowns?

This is the last issue preventing me from making a clean break from UI Datepicker / Timepicker.

from pikaday.

SilentImp avatar SilentImp commented on June 28, 2024

+1 for time selectors

from pikaday.

stas avatar stas commented on June 28, 2024

Btw.
Current implementation of <input type="datetime"> in Opera

from pikaday.

rikkert avatar rikkert commented on June 28, 2024

Time support will live in a fork.

from pikaday.

noizyboy avatar noizyboy commented on June 28, 2024

Which fork contains the time support?

from pikaday.

noizyboy avatar noizyboy commented on June 28, 2024

Thanks @owenmead!

from pikaday.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.