Skip to content
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

🚧🚧 Looking for backers 🚧🚧 #313

Open
vonovak opened this issue Oct 17, 2020 · 49 comments
Open

🚧🚧 Looking for backers 🚧🚧 #313

vonovak opened this issue Oct 17, 2020 · 49 comments

Comments

@vonovak
Copy link
Member

vonovak commented Oct 17, 2020

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: react-native-maps/react-native-maps#3564 (comment)

@vonovak vonovak pinned this issue Oct 17, 2020
@vonovak vonovak changed the title 🚧🚧 looking for support 🚧🚧 🚧🚧 looking for backers 🚧🚧 Oct 17, 2020
@akkravikumar
Copy link

Hi,

I would like to work as collaborator.

@vonovak
Copy link
Member Author

vonovak commented Oct 29, 2020

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!

@cbhaiji

This comment has been minimized.

@akkravikumar
Copy link

akkravikumar commented Oct 31, 2020

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
/>

@waheedakhtar694
Copy link

@vonovak I can spend my free time on it.

@Naturalclar
Copy link
Contributor

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

@Yandamuri
Copy link

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?

@vonovak
Copy link
Member Author

vonovak commented Dec 4, 2020

@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. :)

@rebeccatownsend-rally
Copy link

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.

@vonovak
Copy link
Member Author

vonovak commented Jan 1, 2021

@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
Copy link
Member Author

vonovak commented Jan 25, 2021

@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 :)

@MuhammadArslan96
Copy link

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

@vonovak
Copy link
Member Author

vonovak commented Jan 28, 2021

@MuhammadArslan96 great, please see #313 (comment) 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.

@cjke
Copy link

cjke commented Feb 6, 2021

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.

@vonovak
Copy link
Member Author

vonovak commented Feb 6, 2021

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. 😄

@cjke
Copy link

cjke commented Feb 7, 2021

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

@vonovak
Copy link
Member Author

vonovak commented Feb 7, 2021

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 🙂

@rebeccatownsend-rally
Copy link

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.

@vonovak
Copy link
Member Author

vonovak commented Feb 17, 2021

@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
Copy link
Member Author

vonovak commented Feb 17, 2021

@rebeccatownsend-rally
Copy link

@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?

@vonovak
Copy link
Member Author

vonovak commented Feb 23, 2021

@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! 🙂

@themudassarhassan
Copy link

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.

@anjessen

This comment has been minimized.

@luizfalavinha

This comment has been minimized.

@sanathnair09
Copy link

@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.

@vonovak
Copy link
Member Author

vonovak commented Jun 15, 2021

@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 :)

@sanathnair09
Copy link

@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.

@bhardwajMehul
Copy link

Hey, I would like to help.

@vonovak
Copy link
Member Author

vonovak commented Jul 8, 2021

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 :)

@rborn
Copy link

rborn commented Sep 2, 2021

@vonovak ❤️ (for "just do it")

@rissois
Copy link

rissois commented Sep 2, 2021

Was not able to add a comment to the contribution, but the RNDTP has been enormously helpful and I hope continues to be maintained!

@clementiano9
Copy link

Hi, @vonovak I have intentions of helping to fix some issues but I haven't gotten to it yet, I would definitely look into this very soon. Thanks for your work so far.

@LIALO
Copy link

LIALO commented Nov 25, 2021

Hi I'm not expert in React Native yet, but I would love to help!

@ehtisham-ali-emumba
Copy link

ehtisham-ali-emumba commented Jan 7, 2022

Hey @vonovak I'd like to help through code.

@JedWatson
Copy link

Hi @vonovak

Just letting you know that we use this library in a few different projects at Thinkmill and wanted to support it, because we really value your work.

So we made an initial donation and have now set up a monthly recurring one as well ❤️

Thanks to everyone who's contributed to the project!

@firasrg
Copy link

firasrg commented Aug 14, 2022

Hello I'm software developer and want to contribute. Could you please share the prior issues to solve ? thanks

@vonovak
Copy link
Member Author

vonovak commented Aug 20, 2022

@firas1220 thank you for your interest! An issue that comes to my mind first is timeZoneOffsetInMinutes being broken on Android, see eg. #528 #547

Would you like to take a look at this? Otherwise you can pick any of the open issues and try to fix one that looks interesting.

Let me know!
Thank you 🙂

@firasrg
Copy link

firasrg commented Aug 20, 2022

@firas1220 thank you for your interest! An issue that comes to my mind first is timeZoneOffsetInMinutes being broken on Android, see eg. #528 #547

Would you like to take a look at this? Otherwise you can pick any of the open issues and try to fix one that looks interesting.

Let me know! Thank you 🙂

It seems the project uses React Native CLI, which I'm not used to unfortenatly 😢. I thought its Expo project! I'm afraid I may find difficulties while dealing with native source code and/or some configs. What do you suggest me to do?

@vonovak
Copy link
Member Author

vonovak commented Aug 21, 2022

@firas1220 RN cli is not too different from expo cli so don't worry about it :)

Have a look at the contributor guide here: https://github.com/react-native-datetimepicker/datetimepicker/blob/master/CONTRIBUTING.md and then, well, try to work your way through the problem!

It'll take some time but you can do it! 🙂

@Bobivankenobi
Copy link

Hey @vonovak thank you for your work.
I'm facing some issues with the latest versions 6.6.0 and 6.7.0.

error: SyntaxError: /node_modules/@react-native-community/datetimepicker/src/androidUtils.js: Unexpected token, expected "]" (21:30)
  19 | type Params = {
  20 |   value: Timestamp,
> 21 |   display: AndroidNativeProps['display'],
     |                               ^
  22 |   is24Hour: AndroidNativeProps['is24Hour'],
  23 |   minimumDate: AndroidNativeProps['minimumDate'],
  24 |   maximumDate: AndroidNativeProps['maximumDate'],
error: SyntaxError: /node_modules/@react-native-community/datetimepicker/src/DateTimePickerAndroid.android.js: Unexpected token, expected "]" (127:42)

  125 | }
  126 |
> 127 | function dismiss(mode: AndroidNativeProps['mode']): Promise<boolean> {
      |                                           ^
  128 |   // $FlowFixMe - `AbstractComponent` [1] is not an instance type.
  129 |   return pickers[mode].dismiss();
  130 | }
[Fri Nov 18 2022 10:29:48.860]  ERROR    [Error: TransformError SyntaxError: /node_modules/@react-native-community/datetimepicker/src/androidUtils.js: Unexpected token, expected "]" (21:30)

  19 | type Params = {
  20 |   value: Timestamp,
> 21 |   display: AndroidNativeProps['display'],
     |                               ^
  22 |   is24Hour: AndroidNativeProps['is24Hour'],
  23 |   minimumDate: AndroidNativeProps['minimumDate'],
  24 |   maximumDate: AndroidNativeProps['maximumDate'],]
[Fri Nov 18 2022 10:29:48.975]  ERROR    [Error: TransformError SyntaxError: /node_modules/@react-native-community/datetimepicker/src/DateTimePickerAndroid.android.js: Unexpected token, expected "]" (127:42) 

I really need positiveButton and negativeButton props. Thank you.

@mdipanjan
Copy link

hello, @Bobivankenobi you can try this option which resolved my issue.
You can use this patch-package to replace all the AndroidNativeProps['mode'] to $PropertyType<AndroidNativeProps, 'mode'> , AndroidNativeProps['display'] to $PropertyType<AndroidNativeProps, 'display'> and so on from your node module's android related folders and use that patch. I hope this helps.

@CCB-cerivera

This comment was marked as spam.

@YuriVini
Copy link

Hii, I really would like to work as collaborator. Mainly because a I want override Android positiveButton.

@matthewmturner
Copy link

hi there - it seems there is still recent / ongoing activity in the repo. does that mean the collaborators / financial backing was found and there isn't risk of the repo going unmaintained?

@vonovak
Copy link
Member Author

vonovak commented May 24, 2023

hi there - it seems there is still recent / ongoing activity in the repo. does that mean the collaborators / financial backing was found and there isn't risk of the repo going unmaintained?

Hello @matthewmturner, I try to do some "housekeeping" maintenance, mostly by reviewing PRs that appear occasionally.

As for funding, all is on the open collective and the total amount received in sponsorships now is $20 monthly. There was a company sponsor that contributed $100 / month which allowed to work on some bigger features because the balance accumulated more quickly that way. Since they withdrew the support there were no bigger developments (the last was supporting the new architecture).

There are definitely a few things in my head that would be nice to have, and a whole new story with supporting
UICalendarView and MaterialDatePicker but with the current state of things, it's hard to prioritize it (it'll be best to leave it to someone who really needs it I think). 🙂

@matthewmturner
Copy link

@vonovak great thanks for information. We are interested in adding this and could potentially support. Will keep you posted as we make progress.

@DeVoresyah
Copy link

hi @vonovak
I would help to sponsoring this package since I always use this with the agency budget. in terms of the fund, do you provide some like discord or anything that can share the progress to all of sponsorship?

@vonovak
Copy link
Member Author

vonovak commented Mar 20, 2024

hi @vonovak I would help to sponsoring this package since I always use this with the agency budget. in terms of the fund, do you provide some like discord or anything that can share the progress to all of sponsorship?

hello, thank you for your interest! I'm not sure I understand the question though; the progress that is being made is seen right here, in the package repository. :)

Hope this answers the question (?)

@vonovak vonovak unpinned this issue Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests