datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

🚧🚧 Looking for backers 🚧🚧

Open vonovak opened this issue 5 years ago • 49 comments

TL, DR; We're looking for new collaborators or financial backers.

hello! Allow me to be personal - I'm Vojtech, one of the maintainers of the datetimepicker module (and others). I've been involved in open source around React Native for a while because I really like it. Over the course of time though, I concluded that I do not want to spend much of my free time doing open source work (features, bugfixes, issue handling, docs...) that is used in for-profit projects. Please note I'm not using this module in any project I'm currently working on.

So, allow me to say openly: I do not plan to spend my free time on maintenance of this module unless I just feel like doing it for fun (irregularly), or unless I'm compensated for it.

This module has a number of bugs, missing features and open issues that require someone's attention. There are changes that need to be done to make the module work well and make consumers (that is you / your company 🙂 ) happy. We're looking for new collaborators that would help us with these. If you're interested, please don't hesitate to contribute - we'll help you if needed. Just to make it clear, I don't feel comfortable giving repo access rights to everyone unless they have some track record already (here or in other repos), so I'd first like to see an external contribution happen from a fork and after it all works out I will give those access rights :) Not having repo access rights does not prevent anyone from contributing.

If you want to ensure continued maintenance using money instead of your time, use the links below. Sponsorships will be used to compensate the time every maintainer spends working on this project. Talk to your boss about sponsoring OSS. Your support is much appreciated!

github sponsors profile opencollective profile

If you have any questions, this is a good place to ask 🙂

Thank you! 🙂

For the people who are interested in contributing - I will be available to answer questions you may have but for the most part, I believe it is beneficial to follow the "just do it" advice given here: https://github.com/react-native-maps/react-native-maps/issues/3564#issuecomment-772375951

vonovak avatar Oct 17 '20 15:10 vonovak

Hi,

I would like to work as collaborator.

akkravikumar avatar Oct 29 '20 08:10 akkravikumar

Hello @akkravikumar, Thanks for commenting! Do you have an idea of where you'd like to get involved? The way I see it, there are several categories of potential involvement:

  • triage issues: many issues do not have good descriptions, so you can ask people for runnable reproductions there and fix the bugs that are reported. I also noticed that since we moved out of react native community organization, we don't have the same issue templates we had before (they are not in this repo now), so you could eg. make sure this repo has a proper issue template, such as this one
  • work on missing features or bugs. I can point you to some, or if you walk through the issues, you'll find some - usually they collected a lot of comments over the course of time :)
  • documentation: improving docs maybe by adding some screenshots for iOS14 and just clarifying stuff

Do you have any questions? Let me know what you think and what you prefer! Feel free to just pick a task and open a PR! Thanks for your interest!

vonovak avatar Oct 29 '20 18:10 vonovak

Not able to run on android

cbhaiji avatar Oct 30 '20 07:10 cbhaiji

Hi @vonovak I would like to work on fixing bugs. I had the following issue(image attached) in iOS14 when tapping on date time field. After that i fixed the issue by removing textColor props. I'm sure i can able to fix the bugs/issues

Attached Image

<DateTimePickerModal headerTextIOS="Pick a date & time" isVisible={datePickerVisibility} mode="datetime" onConfirm={handleConfirm} onCancel={hideDatePicker} minimumDate={new Date(moment().subtract(1, 'days'))} // textColor={"black"}. < ---- Simply remove this line then its working as expected />

akkravikumar avatar Oct 31 '20 11:10 akkravikumar

@vonovak I can spend my free time on it.

waheedakhtar694 avatar Nov 04 '20 09:11 waheedakhtar694

@vonovak I can also spend my free time maintaining the project

Naturalclar avatar Dec 03 '20 06:12 Naturalclar

I have just started using this library for my new application and this message concerned me a bit. is it ok to continue with library?

Yandamuri avatar Dec 03 '20 09:12 Yandamuri

@Naturalclar hey, good to hear that, you're all over the place, don't forget to rest for a bit :D

@Yandamuri this is one of the few date picking libraries out there and several other directly depend on this one, so there isn't much choice AFAICT. If you care about the date picker in your app, you're encouraged to support the project as I outlined in the first post, thank you. :)

vonovak avatar Dec 04 '20 08:12 vonovak

Hey @vonovak - I would like to help contribute to this project. I would like to help triage and resolve accessibility issues, however, please let me know if there is an additional or alternative way that I can contribute that would be more useful.

rebeccatownsend-rally avatar Dec 28 '20 17:12 rebeccatownsend-rally

@rebeccatownsend-rally thanks for your interest! I think most people contribute to OSS because they're scratching their own itch and so solving your own problem is a great way to get started - if you have some accessibility issues that you want to tackle, please go ahead :) Otherwise, I try to keep the issue tracker more or less clean so that the issues are understandable and you should be able to go through them and find some issues that are actionable and can be implemented right away. If you open the example project, you'll be able to edit the source files and test the changes in the example app - that's the best way to get familiar with how the module works :)

I'll try to mark some issues as good-first-issue to flag those that should be easier to start with. Thanks!

vonovak avatar Jan 01 '21 21:01 vonovak

@rebeccatownsend-rally I have tagged some issues as "good first issue": https://github.com/react-native-datetimepicker/datetimepicker/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

some are harder, some are easier, hopefully this will help someone :)

vonovak avatar Jan 25 '21 09:01 vonovak

Hi @vonovak , I would like to work as a collaborator

MuhammadArslan96 avatar Jan 28 '21 11:01 MuhammadArslan96

@MuhammadArslan96 great, please see https://github.com/react-native-datetimepicker/datetimepicker/issues/313#issuecomment-718927112 for suggestions on where to start. Again, if there are questions, just ask :) Just to make it clear, I don't feel like giving repo access rights to everyone unless they have some track record already (here or in other repos), so I'd first like to see an external contribution happen from a fork and after it all works out I will give those access rights :) Hope this makes sense, thanks.

vonovak avatar Jan 28 '21 12:01 vonovak

Totally understand the intent of the issue at hand. I can't begin to understand how much work it is to support a module like this. Datepickers are a PITA at the best of times, then trying to support multiple platforms on top of that.

Genuine question, is there anyway to get React Native or Expo to support this project? Especially considering they link to it from the expo docs. "Community project" or not, modules like this make Expo more appealing, and they in turn are making money off their premium offerings.

cjke avatar Feb 06 '21 10:02 cjke

hello @cjke

is there anyway to get React Native or Expo to support this project? Especially considering they link to it from the expo (and even and RN) docs

Yes, that seems like a valid question, but the fact this library is mentioned in the documentation is about the only reason I see for why facebook or expo should support this project. Facebook and expo are already providing a TON of value by giving away a lot of their work for free and remember that they are not even using this module in their product, so why should they sponsor it? If they support this library, shouldn't they by extension also support a thousand other libs out there...?

The question that I have is, with 150k weekly npm downloads, why is it that 5 months after asking for support the only visible progress has been that we have 2 sponsors (thank you!!) with a total of $10 per month? 🤔 🙂

Everyone is just used to get all these building blocks for free, which is sad because it hampers their quality but it is what it is 🤷‍♂️ And I'm not complaining btw, it's just the way I see it. I'm not married to this lib (or any other) so why should I care. 😄

vonovak avatar Feb 06 '21 16:02 vonovak

Unfortunately a big percentage of people wouldn't even pay for all of React or React Native, so there is little chance they would pay for one module. I support a few libraries (via Pateron, as I've been doing it before Github sponsor was a thing), but I guess its not realistic either for every user to pay for every module that lines their package.json, and in turn, do you then pay a small % to every module in this libraries package.json?

I think a lot of people get into OSS for reasons other than money, such as: great for the resume, raises brand awareness (if you yourself are a studio or company), a way of giving back to other OSS developers, to scratch ones own itch while at the same time getting free testing.

I don't want to be argumentative, more, I would hate to see this library die because it didn't have enough support. I mention Expo because they offer a premium, paid service. People use Expo because it is a quick start into RN development and has a huge tool belt of modules ready to go, such as this one. Without modules like this, I would guess less people would pay for the premium Expo offering.

Anyway, I'm not too invested, I've only just started testing the waters with this module, and I typically check out the issues area before committing to a module to gauge the current activity. While I was here I thought I would leave my 2c.

I wish you well on this project and others

cjke avatar Feb 07 '21 00:02 cjke

I guess its not realistic either for every user to pay for every module that lines their package.json

I agree and that's not what I'm calling for. But if you, as a company, pick 20 or 30 deps from your package.json and sponsor them $5 or $10 each, I think that is very much doable. Only a minority of libraries offer sponsorship options.

I think a lot of people get into OSS for reasons other than money

If I made it sound like I'm in OSS for money, then I'm sorry - that's definitely not the case 😂. As I outlined in the first post, I'm looking for "coding support" and / or sponsors because both ways can help.

I would hate to see this library die because it didn't have enough support.

It's not going to die, I will circle back to it every once in a while and I'm always ready to review PRs.

I wish you well on this project and others

Thanks, same to you 🙂

vonovak avatar Feb 07 '21 11:02 vonovak

Hey there, I'm taking a stab at contributing, but I can't seem to get the example app running in iOS 🤦 . Rather than sink time into debugging alone, I figured I would reach out in case there is a known solution. The issue is:

/Users/rebecca.townsend/Documents/datetimepicker/ios/RNDateTimePicker.m:10:9: fatal error: 'React/RCTUtils.h' file not found

Any thoughts?

Have already installed pods. Basically just following the instructions in the read.me for running the example app.

rebeccatownsend-rally avatar Feb 17 '21 22:02 rebeccatownsend-rally

@rebeccatownsend-rally did you run yarn in the root of the repo to install deps? I should add that step

also, you need to open the xcodeworkspace file in example/ios

vonovak avatar Feb 17 '21 23:02 vonovak

@rebeccatownsend-rally I opened a PR for docs improvement, does that help? https://github.com/react-native-datetimepicker/datetimepicker/pull/397/files

vonovak avatar Feb 17 '21 23:02 vonovak

@vonovak Thanks for updating the docs. I am still not able to run the example for iOS, unfortunately. The error is the same /Users/rebecca.townsend/Documents/datetimepicker/ios/RNDateTimePicker.m:10:9: fatal error: 'React/RCTUtils.h' file not found I'm assuming that you're not able to reproduce this. I wonder if there's an incompatibility with my tools versioning. I'm using XCode v12.4, node v14.1, npx v6.14.4, cocoapods v1.10.1 Wonder what versions you are using, or if you know of any compatibility issues?

rebeccatownsend-rally avatar Feb 18 '21 15:02 rebeccatownsend-rally

@rebeccatownsend-rally sorry, there was a problem with the yarn run:ios script, fix is here. I never really used it tbh which is why it didn't work. In the mean time, you can just open the example project (example/ios/example.xcworkspace/) in Xcode and build from there, that should work just fine and you'll need to open xcode anyway to do any development. Thanks and sorry for the wrong information! 🙂

vonovak avatar Feb 23 '21 10:02 vonovak

Hi, I used this library in my recent project for client. I saw this issue and I'm open to help to contribute to this library in my free time. I would really like to fix some bugs or implement new features. I have very little open source development experience but I'm really passionate about it and will try to help as much as possible. Thanks.

themudassarhassan avatar Feb 28 '21 11:02 themudassarhassan

hi I have this error [Unhandled promise rejection: Error: Couldn't find a 'component', 'getComponent' or 'children' prop for the screen 'ReservationScreen'. This can happen if you passed 'undefined'. You likely forgot to export your component from the file it's defined in, or mixed up default import and named import when importing.] like dateTimePicker is not export...

anjessen avatar Mar 26 '21 09:03 anjessen

is not possible to edit Locale prop on android?

luizfalavinha avatar May 08 '21 19:05 luizfalavinha

@vonovak

Hey,

I just used this package in my project and saw this post. I would love to help contribute and give back to this module since I really liked the features it provides. I could help updating the documentation and fixing bugs. Let me know what I should do to get started.

sanathnair09 avatar Jun 15 '21 21:06 sanathnair09

@sanathnair09 thanks for the comment. I don't really have a list of prioritized issues that should be worked on, but I remember labelling some issues as "good first issue" so you can tackle those. If you just "scratch your own itch" and work on what you like, that is perfect as well :)

vonovak avatar Jun 15 '21 21:06 vonovak

@sanathnair09 thanks for the comment. I don't really have a list of prioritized issues that should be worked on, but I remember labelling some issues as "good first issue" so you can tackle those. If you just "scratch your own itch" and work on what you like, that is perfect as well :)

Hey @vonovak... as you suggested I kinda just worked on what I liked and made a documentation website for datetimepicker. The doc is currently live at https://sanathnair09.github.io/rn-datepicker-website/

let me know if this is something you would be interested in adding to the official package.

sanathnair09 avatar Jun 17 '21 03:06 sanathnair09

Hey, I would like to help.

bhardwajMehul avatar Jun 27 '21 12:06 bhardwajMehul

hello @sanathnair09! Thanks for the comment and thanks for your patience with my answer (I was vacationing and then it took some more time to get back to OSS). That documentation website looks really nice! The documentation of the package definitely needs improvement and even new sections that would cover missing topics (eg. testing) and perhaps more examples with screenshots. I'd be happy to have the current documentation moved to the docs page you created if it is included in this repository (under the GH organization's control) and if you know you can spend some small amount of time maintaining it and just making sure it runs 🙂 Thanks again! Please let me know your thoughts.

Perhaps you could open a separate issue for this where we can discuss the details :)

vonovak avatar Jul 08 '21 18:07 vonovak