mapknitter icon indicating copy to clipboard operation
mapknitter copied to clipboard

Allowing upload of images only

Open IshaGupta18 opened this issue 6 years ago β€’ 37 comments

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you πŸ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

πŸ€” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

Problem

Multiple types of file can be uploaded in the upload image section.

πŸ“‹Solution

Change this line:

https://github.com/publiclab/mapknitter/blob/de156283193542b10607542db5544ae400cf48bc/app/views/images/_new.html.erb#L19

To:

<i class="fa fa-plus-circle"></i> Select images <input id="warpable_uploaded_data" name="warpable[uploaded_data]" type="file" accept="image/*" />

  • [ ] πŸ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • [ ] πŸ“ Update

  • [ ] πŸ’Ύ Commit your changes

  • [ ] πŸ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • [ ] 🏁 Done Ask in comments for a review :)

πŸ€”β“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

IshaGupta18 avatar Feb 11 '19 18:02 IshaGupta18

Thanks for opening your first issue here! Please follow the issue template to help us help you πŸ‘πŸŽ‰πŸ˜„ If you have screenshots to share demonstrating the issue, that's really helpful! πŸ“Έ You can make a gif too!

welcome[bot] avatar Feb 11 '19 18:02 welcome[bot]

hey :) may i take this?

Jordenng avatar Feb 11 '19 18:02 Jordenng

Hi @marieram, you can claim this one. You can see #329 for more details and ask @IshaGupta18 or me for any help. Thanks!

grvsachdeva avatar Feb 11 '19 18:02 grvsachdeva

Yes! Go right ahead and don't hesitate to ask for any help! Thanks a lot!

On Tue, Feb 12, 2019, 12:21 AM Gaurav Sachdeva <[email protected] wrote:

Hi @marieram https://github.com/marieram, you can claim this one. You can see #329 https://github.com/publiclab/mapknitter/issues/329 for more details and ask @IshaGupta18 https://github.com/IshaGupta18 or me for any help. Thanks!

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/mapknitter/issues/338#issuecomment-462447656, or mute the thread https://github.com/notifications/unsubscribe-auth/Am54Z5SNCjYf10YnOYRQdHVmYPFDVYwJks5vMbukgaJpZM4a0wu4 .

IshaGupta18 avatar Feb 11 '19 18:02 IshaGupta18

Hi @marieram, you can claim this one. You can see #329 for more details and ask @IshaGupta18 or me for any help. Thanks!

do you mean me? because you tagged someone else. thanks anyway :)

Jordenng avatar Feb 11 '19 18:02 Jordenng

What a timing :sweat_smile:. you can surely claim this one @Jordenng. Thanks!

@IshaGupta18 I am looking for two FTOs for @marieram and @ctam853, they are also looking for a issue to take a dig, so please tag them if you see any such opportunity. Thanks!

grvsachdeva avatar Feb 11 '19 18:02 grvsachdeva

@gauravano I sure will if I find any!

IshaGupta18 avatar Feb 11 '19 18:02 IshaGupta18

Thank you for your efforts @gauravano !

marielenna avatar Feb 12 '19 00:02 marielenna

May I claim this?

panhabot avatar Feb 13 '19 07:02 panhabot

Hi @panhabot, this issue is claimed by @Jordenng. But, we would love to have your help, you can find more issues at https://code.publiclab.org/#r=all and let us know by commenting below if you can't find any. Thanks!

grvsachdeva avatar Feb 13 '19 11:02 grvsachdeva

@Jordenng Thank so much for the link!

panhabot avatar Feb 13 '19 16:02 panhabot

@panhabot I just created some FTO's at https://github.com/publiclab/plots2/. If you are still looking for issues to work on, then claim this one - https://github.com/publiclab/plots2/issues/4821. Thanks!

grvsachdeva avatar Feb 14 '19 12:02 grvsachdeva

@Jordenng how's the work going on this one? Just checking in to see if you need any help!

IshaGupta18 avatar Feb 17 '19 09:02 IshaGupta18

@gauravano sorry I replied a bit late. I think someone has already claimed it. Thank!

panhabot avatar Feb 18 '19 05:02 panhabot

No issue @panhabot. I will mention you again if I see/create a FTO candidate. Thanks!

grvsachdeva avatar Feb 18 '19 09:02 grvsachdeva

@gauravano Thank you

panhabot avatar Feb 19 '19 13:02 panhabot

I also want to claim this issue.

meet2410shah avatar Feb 20 '19 17:02 meet2410shah

@meet2410shah this issue has already been claimed by @Jordenng. If he isn't working on this, then you can take this up.

IshaGupta18 avatar Feb 20 '19 17:02 IshaGupta18

Yes, Sure! I would like to solve this issue.

meet2410shah avatar Feb 20 '19 18:02 meet2410shah

Yeah, but let's wait for @Jordenng . @Jordenng are you still working on this one?

IshaGupta18 avatar Feb 20 '19 18:02 IshaGupta18

Okay! Please can you suggest another issue which is currently not claimed by anyone?

meet2410shah avatar Feb 20 '19 18:02 meet2410shah

Yes:)

On Wednesday, February 20, 2019, Meet Shah [email protected] wrote:

Okay! Please can you suggest another issue which is currently not claimed by anyone?

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/mapknitter/issues/338#issuecomment-465700307, or mute the thread https://github.com/notifications/unsubscribe-auth/AePNdYq_fzOwQ90p8z78ZQJbryN2q7ZSks5vPZTigaJpZM4a0wu4 .

-- Yarden

Jordenng avatar Feb 21 '19 17:02 Jordenng

I am working on it

On Thursday, February 21, 2019, Yarden Nagel [email protected] wrote:

Yes:)

On Wednesday, February 20, 2019, Meet Shah [email protected] wrote:

Okay! Please can you suggest another issue which is currently not claimed by anyone?

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/mapknitter/issues/338#issuecomment-465700307, or mute the thread https://github.com/notifications/unsubscribe-auth/AePNdYq_fzOwQ90p8z78ZQJbryN2q7ZSks5vPZTigaJpZM4a0wu4 .

-- Yarden

-- Yarden

Jordenng avatar Feb 21 '19 17:02 Jordenng

hey @IshaGupta18 I'm done - can you review please? :)

Jordenng avatar Feb 24 '19 15:02 Jordenng

@Jordenng could you please give me the link to your Pull Request?

IshaGupta18 avatar Feb 24 '19 16:02 IshaGupta18

Okay, so I saw that you made a Pull request in your own local repository. You are supposed to make a PR here, in this repository. Does this make sense?

IshaGupta18 avatar Feb 24 '19 16:02 IshaGupta18

sorry, did I get it right now? @IshaGupta18

Jordenng avatar Feb 24 '19 17:02 Jordenng

Hey @Jordenng, please add Fixes #338 in your PR's main comment to tag this issue, it will help other users to refer your PR easily and also closes this issue automatically when your PR gets merged(due to Fixes keyword).

Thanks!

grvsachdeva avatar Feb 25 '19 12:02 grvsachdeva

I am afraid, not @Jordenng, could you please look up on how to make a PR in the main repo? We need a PR in this repo for it to be merged.

IshaGupta18 avatar Feb 25 '19 18:02 IshaGupta18

@gauravano Is it free to claim ?

vishakhanihore avatar Oct 08 '19 04:10 vishakhanihore