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

[GCI] Standardised Core code comments #1343

Merged
merged 10 commits into from
Dec 16, 2019
Merged

[GCI] Standardised Core code comments #1343

merged 10 commits into from
Dec 16, 2019

Conversation

harshkhandeparkar
Copy link
Member

@harshkhandeparkar harshkhandeparkar commented Dec 9, 2019

Fixes #1340 (<=== Replace 0000 with the Issue Number)

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

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with npm test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

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
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!

@harshkhandeparkar harshkhandeparkar requested review from SidharthBansal and a team December 9, 2019 14:49
@codecov
Copy link

codecov bot commented Dec 9, 2019

Codecov Report

Merging #1343 into main will not change coverage.
The diff coverage is 75%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1343   +/-   ##
=======================================
  Coverage   66.41%   66.41%           
=======================================
  Files         125      125           
  Lines        2552     2552           
  Branches      397      397           
=======================================
  Hits         1695     1695           
  Misses        857      857
Impacted Files Coverage Δ
src/modules/_nomodule/PixelManipulation.js 77.77% <100%> (ø) ⬆️
src/ImageSequencer.js 50.3% <50%> (ø) ⬆️

@harshkhandeparkar harshkhandeparkar changed the title [GCI] Standardise Core code comments [GCI] Standardised Core code comments Dec 9, 2019
@SidharthBansal
Copy link
Member

Please check code climate

@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Dec 9, 2019 via email

src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/modules/_nomodule/PixelManipulation.js Outdated Show resolved Hide resolved
@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Dec 9, 2019 via email

@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Dec 9, 2019 via email

@harshkhandeparkar harshkhandeparkar requested review from SidharthBansal, jywarren and a team and removed request for jywarren December 10, 2019 17:06
Copy link
Member

@SidharthBansal SidharthBansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you missed to remove extra full stops from phrases. Kindly remove it too

src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
function loadNewModule(name, options) {

if (!options) {
return this;

} else if (Array.isArray(options)) {
// contains the array of module and info
// Contains the array of module and info.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many extra .
Please correct it

@SidharthBansal
Copy link
Member

Kindly review prs once yourself too! It will be really helpful to you

@harshkhandeparkar
Copy link
Member Author

I do review my PRs but I don't seem to find any mistakes. That is what reviewers are meant for I guess. Pointing out others' mistakes (Which I am very good at) 😝

@SidharthBansal
Copy link
Member

Judge your code as if it was written by someone else

@harshkhandeparkar
Copy link
Member Author

harshkhandeparkar commented Dec 12, 2019 via email

Copy link
Member

@SidharthBansal SidharthBansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly remove . wherever mentioned.
Thanks

src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/ImageSequencer.js Outdated Show resolved Hide resolved
src/modules/_nomodule/PixelManipulation.js Outdated Show resolved Hide resolved
Copy link
Member

@SidharthBansal SidharthBansal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jywarren kindly merge it
Thanks a lot Harsh!
Superb work. Let me know if any other doc issue needs to be reviewed or if you need approval for this gci task on the dashboard

@jywarren
Copy link
Member

Resolved conflict and will merge when done! Thanks!

@jywarren jywarren merged commit 426733f into publiclab:main Dec 16, 2019
@jywarren
Copy link
Member

Hooray!!

jywarren pushed a commit that referenced this pull request Dec 16, 2019
* standardise comments

* fix

* fixes

* add docs links

* remove extra .

* ., this and other changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Standardise core code comments
3 participants