New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launching V1.0 #749
Comments
Adding some recent contributors for their opinion on this: @mgrdevport, @jochenberger, @ro-savage, @rafeememon. |
I haven't used react-datepicker in a while because I had too many issues with it, so I don't have a strong opinion. |
@martijnrusschen When you click the datepicker, the portal should be fixed, take up the entire screen, and remove the ability to scroll. This works on all devices we tested including iPad iOS10 but does not work on iPhone iOS10, instead the portal appears at the top of the page, and the viewport stays focused on the the input. My guess is this is something to do with We worked around it by using the built-in date picker when we detected an iPhone. Unfortunately, I am not at the company anymore and no longer have access to an iPhone to test. Maybe release with a known issue, and offer the work around until its fixed? |
IMO the most important thing to settle on is the API, which includes the components we will expose, the props that they'll take in, and possibly even the styles. I think it stands to be cleaned up pretty substantially, and there are a few breaks that we've wanted to make but deferred on. Once we've settled on the API I think we'll have a clear path forward to getting to a releasable v1. |
General feedback:
Source map explorer of react-datepicker |
It should be pretty easy to remove lodash completely. Let me know if you want a PR for removing lodash. |
@ro-savage, if |
Done :) |
We might just leave it as it is, if there's no urgent reason to do it. I agree that API is the most important piece to settle on, but looking at the comments it seems pretty decent currently. |
@martijnrusschen I think the recentish API changes wrt timezones has created a fair bit of confusion. (Eg: #747 #727 #627) It doesn't help that the API is undocumented in regards to what sort of moment objects are expected, and a lot of existing examples violate those undocumented expectations. (For example, by passing in local moment objects, or by assuming the moment object received from |
Also we need new build system. Webpack2 and react-theme support. |
I'd love to get rid of grunt and move everything to webpack. However, I don't have the time to convert the scripts. I have a WIP open to migrate to webpack 2: #735. |
@aij What would you do to make that easier to understand? I'm open for suggestions. |
Oh, and along with webpack2 I meant to change the building itself. Of course without grunt and I do not understand why there after each build I get some |
@alex-shamshurin Correct, the demo site generates a bundle.js which is committed to the gh-pages branch. I think we should just add it to the ignore list for the master branch. Thoughts? |
Sure, I think demo site must be updated only when you release new version. May be it's the only case of grunt.. |
It helps to have a demo site to use as a local development environment. You can directly see and test your changes. |
Anyway it may must excluded from git. |
And another issue with I had problems it's an internal |
@martijnrusschen I think the main thing that needs to happen with regards to how the API uses moment, is that someone needs to make a decision. That decision should be documented somewhere, and the code and/or examples should be updated to match. I ended up opening #781 where I tried to explain the confusion in detail. TL;DR: The current code seems to assume all dates are passed in as local moment objects, yet |
Having used react-datepicker for a few months: I suggest making the next release 1.0, without any further changes. Then follow usual semver from there. Its going to be fine. |
I think it's not stable enough. We have issues with build system, internal |
Its been a while since I used react-datepicker but we struggled with the way datepicker uses moment as well. From memory copied our moment object into a new moment object, passed it to datepicker, then copied the result back into another moment object. This was done to ensure correct timezones. (Or something). Whatever it was, we struggled for a long time to get our dates correct with react-datepicker given that we are in New Zealand. It would be great if timezones were handled better. (Offset isn't enough, due to daylight savings) |
Newest release: 0.64.0. Oh well. Good to see the project is still moving forward though 👍 |
Getting closer. V1 should be ready before the end of the year. |
About a year ago, we did our latest try on launching a v1.0 version. I think it would be good to define a v1.0 version so that we can apply breaking changes when needed and show the maturity of this component.
Our last effort in defining what should be done before we launch v1.0 was documented in https://github.com/Hacker0x01/react-datepicker/milestone/2. What do you guys think of this? Should be continue with this, create a new Milestone, or just call it a day and launch v1.0 in the current state?
Todos:
The text was updated successfully, but these errors were encountered: