Image-sequencer: Remove logs in console.

Created on 15 Jan 2019  ยท  16Comments  ยท  Source: publiclab/image-sequencer

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.

๐Ÿ“‹ Step by Step

  • [ ] ๐Ÿ™‹ 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 the file $FILENAME in the $REPO repository (press the little pen Icon) and edit the line as shown below.

See this page for some help in taking your first steps!

Below is a "diff" showing in red (and a -) which lines to remove, and in green (and a +) which lines to add:

$DIFF
  • [ ] ๐Ÿ’พ 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.

Problem description:

There are logs in console which are not needed.

What happened just before the problem occurred? Or what problem could this idea solve?
There are logs in console which are not needed.

What to expect after resolving the issue?
See a clear console.

File to look

demo.js

What's your PublicLab.org username?

divy123

Thank you!

Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.

To learn how to write really great issues, which increases the chances they'll be resolved, see:

https://publiclab.org/wiki/developers#Contributing+for+non-coders

first-timers-only

All 16 comments

@Divy123 good but can you please update the format based on the template?

Actually I formatted the template as somethings were not required.

I'll go ahead and make a PR.

Is the UserInterface file not being used anymore? It does not have any logic besides showing console logs.

@himanshuc3 it logs the steps the sequencer takes during the process. Is it a good idea to remove them just yet? Let's confirm with @jywarren first?

@VibhorCodecianGupta how about adding a verbose mode?

I think the user interface file is designed to be an overridable minimal
reference implementation of the UI code which can be replaced by a more
complex UI. We could add comments to say this explicitly?

On Wed, Jan 16, 2019, 5:45 AM Harsh Khandeparkar <[email protected]
wrote:

@VibhorCodecianGupta https://github.com/VibhorCodecianGupta how about
adding a verbose mode?

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/image-sequencer/issues/678#issuecomment-454734459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ2q36XdZ8kKq1mSkpGM2Sp-9BGMfks5vDwKogaJpZM4aBdtC
.

@jywarren how about adding a config file of some sort but in a different issue as we are browserifying and refactoring the code anyways. Maybe close this one and find some better but complex solution?

Is this still up for grabs? First timer here

@puranik9 welcome! Can you please wait for @jywarren's approval? If sir says that this issue is good to go, then you can grab it. In the meanwhile, you can search through other issues to find some other first timer only(if any) and see if that interests you. You can also get yourself acquainted with the codebase. Thanks!

This looks good for https://github.com/publiclab/image-sequencer/blob/main/examples/demo.js, but let's leave console.log code in /src/ for now until we can clearly factor it out into a standalone CLI ui sub-library. Perhaps that's a good follow-up in relation to #665 ?

Updated again as there are no logs in intermediateHtmlStepUi.js

@HarshKhandeparkar I've removed the console logs from demo.js.

@himanshuc3 please do the changes suggested in your PR

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jywarren picture jywarren  ยท  5Comments

vaibhavmatta picture vaibhavmatta  ยท  4Comments

keshav234156 picture keshav234156  ยท  4Comments

harshkhandeparkar picture harshkhandeparkar  ยท  4Comments

kindanduseful picture kindanduseful  ยท  5Comments