publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
271 stars 284 forks source link

transferred JS code in "archive.html" into seperate file "archive.js". #1282

Closed Aarav238 closed 1 year ago

Aarav238 commented 1 year ago

Fixes #1182

transferred JS code in archive.html into seperate file archive.js and added script source in head section of archive.html.

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

welcome[bot] commented 1 year ago

Thanks for opening this pull request! Dangerbot will test out your code and reply in a bit with some pointers and requests. There may be some errors, but don't worry! We're here to help! πŸ‘πŸŽ‰πŸ˜„
One thing that can help to get started is to make sure you've included a link back to the original issue you're solving, in the format fixes #0000 (for example). And to make sure the PR title describes what you're trying to do! (often it can be the same as the issue title) Thanks! πŸ™Œ
Then, you can say hello in our chatroom & share a link to this PR to get a review! πŸ‘‹ βœ…

Aarav238 commented 1 year ago

@TildaDares Please review it.

TildaDares commented 1 year ago

Hi @Aarav238, contributors can only work on one first-timers-only issue. Do you think you could close one of these PRs #1282 or #1285 so that other first-timers have something to work on? Thank you!

Aarav238 commented 1 year ago

I have raise two pull request of FTO issues. None of them are merged

Aarav238 commented 1 year ago

Okay, i have closed the #1285 one. Please review this oneπŸ˜‡. @TildaDares

Aarav238 commented 1 year ago

@TildaDares is there any problem in this PR?

7malikk commented 1 year ago

Hello @Aarav238, there have been some new changes to the archive.html file. Would you be willing to update your PR accordingly?

Aarav238 commented 1 year ago

@7malikk i have resolved thr conflict

7malikk commented 1 year ago

@Aarav238 This is looking really good, one final touch, and I believe we are on our way to merge-ville. Now as your PR implies, extract the js code into a separate file, like you did previously and we are home free.

How does that sound @Aarav238 ?

Aarav238 commented 1 year ago

but I have Already extracted js code into archieve.js @7malikk

7malikk commented 1 year ago

but I have Already extracted js code into archieve.js

@7malikk

Oh my bad @Aarav238 I was looking at a different commit Thank you for that clarification.

I believe @jywarren can also review and merge this.

Great job @Aarav238 one 🍭 for you😊

Aarav238 commented 1 year ago

Oh It's Okay @7malikk. Thank you very much.

Aarav238 commented 1 year ago

@7malikk I have some doubts related to start contributing in core project in this organisation

7malikk commented 1 year ago

@7malikk I have some doubts related to start contributing in core project in this organisation

Oh alright @Aarav238 You can join the community element chat, and raise said doubts and we can thrash them out there.

How does that sound?

7malikk commented 1 year ago

@Aarav238 you could start here https://code.publiclab.org/#r=all

7malikk commented 1 year ago

@Aarav238 you could start here https://code.publiclab.org/#r=all

Aarav238 commented 1 year ago

When will my PR get merged @jywarren

7malikk commented 1 year ago

@Aarav238 Hey there, could you check your extracted js code again as it is not in line with the code found here: https://github.com/publiclab/Leaflet.DistortableImage/blob/main/examples/archive.html

You could use the command git fetch upstream/main to get the latest updates locally and make your own updates.

Aarav238 commented 1 year ago

Okay @7malikk Let me try . If I will face any problem I will tag you in gitter.😊

Aarav238 commented 1 year ago

What i have to add in archieve.js @7malikk

7malikk commented 1 year ago

What i have to add in archieve.js @7malikk

Hello @Aarav238 All you need to do is to extract the recently updated js code in the archive.html

https://github.com/publiclab/Leaflet.DistortableImage/blob/main/examples/archive.html

Aarav238 commented 1 year ago

I have resolved the issue.

7malikk commented 1 year ago

@Aarav238 Hey there, great work so far One last thing, here: https://github.com/publiclab/Leaflet.DistortableImage/blob/073e121f1ebc7e5f326c5b402d89fe61258308d4/examples/archive.html#L75-L201

I believe you forgot to cut the js code from the html file. Would you like to resolve this? This should be the last of them all.

Aarav238 commented 1 year ago

I have removed the extra js code from archive.html

7malikk commented 1 year ago

@Aarav238 Great job!

@jywarren I believe this is ready for your review and merge.

welcome[bot] commented 1 year ago

Congrats on merging your first pull request! πŸ™ŒπŸŽ‰βš‘οΈ Your code will likely be published to https://mapknitter.org in the next few days. Now that you've completed this, you can help someone else take their first step! Reach out to someone else working on theirs on Public Lab's code welcome page (where you'll now be featured as a recent contributor!). Thanks!

Help others take their first step

Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. πŸ™Œ

https://code.publiclab.org

Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! πŸ˜•

People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! πŸ˜„ πŸŽ‰

Read about how to help support another newcomer here, or find other ways to offer mutual support here.

jywarren commented 1 year ago

Great work, folks!!!

7malikk commented 1 year ago

@Aarav238 Congratulations on merging you PR

@jywarren Thank you