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

Recent Contributors section - refactor followup #231

Merged
merged 2 commits into from
Jul 18, 2019

Conversation

Rishabh570
Copy link
Collaborator

No issue opened for this. It is a step towards making the codebase more flexible and maintainable.

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 rake test
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • PR body includes fixes #0000-style reference to original issue #
  • ask @publiclab/reviewers for help, in a comment below

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

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.

Thanks!

@Rishabh570
Copy link
Collaborator Author

@jywarren A step towards our flexible queryTime in recent contribs logic, making the section of the code flexible and segregated so that future improvements can be (more) easily installable and maintainable. Please take a look :)

@Rishabh570 Rishabh570 changed the title Recent Contributors section - refactor followup [ WIP ] Recent Contributors section - refactor followup Jul 9, 2019
if(!contributorSet.has(contributor.login)) {
contributorSet.add(contributor.login);
AllContributors.push(contributor);
}
Copy link
Member

Choose a reason for hiding this comment

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

Looks super nice! Some extreme indentation here, though, did you want to adjust that? Thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done!

@jywarren
Copy link
Member

jywarren commented Jul 9, 2019

This looks really nice. Do you think it starts to need more documentation in the README about code structure yet, or not quite yet? Like in this README: https://github.com/publiclab/PublicLab.Editor/

This can be merged either way! Thanks!!!

@Rishabh570
Copy link
Collaborator Author

Yes, a more descriptive readme would surely help everyone who's trying to involve in the project...I have that as a to-do in the project. I am thinking of something like showing the flowchart for general control flow and then explaining what every part of the code does.

@Rishabh570 Rishabh570 changed the title [ WIP ] Recent Contributors section - refactor followup Recent Contributors section - refactor followup Jul 17, 2019
@Rishabh570 Rishabh570 added the ready Pull Request approved by reviewer and ready to merge. label Jul 17, 2019
@Rishabh570
Copy link
Collaborator Author

@jywarren This is ready to merge I think, please take a look :)

@jywarren jywarren merged commit 949511d into publiclab:main Jul 18, 2019
@jywarren
Copy link
Member

Awesome!!!!

TildaDares pushed a commit to TildaDares/community-toolbox that referenced this pull request Apr 28, 2021
* followup refactor of utils.

* fix indentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc ready Pull Request approved by reviewer and ready to merge. refactor review-me summer of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants