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

Removed the fork me ribbon #611

Open
wants to merge 181 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
18972ad
Increase code readability of src files. (#63)
Rishabh570 Oct 11, 2018
bc630b0
gets all of the publiclab's repos from github. (#65)
Rishabh570 Oct 13, 2018
7023bfc
add issue filter feature on embed.html (#70)
Rishabh570 Oct 16, 2018
a37843b
Update README.md
jywarren Oct 16, 2018
6df0b9e
Update config.yml (#66)
faithngetich Oct 20, 2018
19aedf0
Create a first timers issue template (#68)
faithngetich Oct 20, 2018
dceb35f
Add PR, Issue,and FTO Templates (#74)
starkblaze01 Oct 22, 2018
c10ad24
Show contributors last week at bottom of page. (#73)
Rishabh570 Oct 22, 2018
39b8e29
community-toolbox.js (#84)
radheyshyamjangid Nov 7, 2018
1b16edb
Recent month contributors show up against URL queries. (#87)
Rishabh570 Nov 7, 2018
d76a810
Add title tags to avatars to show name (#89)
ajzliu Nov 7, 2018
b40494e
Update index.html (#86)
janpabisiak Nov 7, 2018
651493e
Fix issue of extra margin in bottom (#93)
subhahu123 Nov 13, 2018
4b964c3
Update index.html and community-toolbox.js (#102)
gorzelinski Nov 13, 2018
b47d680
Display all issues with a given label. (#95)
Rishabh570 Nov 14, 2018
e5df31c
Move up "Recent Contributors" section (#105)
jywarren Nov 16, 2018
dbde6bf
Add instructions for filtering by labels and repo using URL (#106)
digitaldina Nov 28, 2018
4a30aa6
Update the file $index.html as described (#88)
leanyanko Dec 1, 2018
67f5133
added proper link to readme.md (#110)
debck Dec 16, 2018
7ef2324
recent contributors has link to their github pages
lakshyabatman Dec 21, 2018
5ab07cd
recent contributors has link to their github pages
lakshyabatman Dec 21, 2018
d341ef2
Changes made in src/community-toolbox.js
lakshyabatman Dec 25, 2018
ebac694
Bump moment from 2.19.4 to 2.23.0 (#113)
dependabot[bot] Jan 6, 2019
b4b12ea
Bump tape from 4.9.1 to 4.9.2 (#120)
dependabot[bot] Jan 6, 2019
4ac20ee
[Security] Bump bootstrap from 3.2.0 to 3.4.0 (#118)
dependabot[bot] Jan 6, 2019
dc22add
Bump tape-run from 3.0.4 to 5.0.0 (#117)
dependabot[bot] Jan 6, 2019
a2a4f90
Bump tap-spec from 4.1.2 to 5.0.0 (#121)
dependabot[bot] Jan 6, 2019
dc7fb32
Bump font-awesome from 4.5.0 to 4.7.0 (#122)
dependabot[bot] Jan 6, 2019
c740212
Add link which redirects to whole organization issues pages (#82)
slasher17 Jan 8, 2019
a4376e1
Images on recent contributors is linked to github profile (#124)
lakshyabatman Jan 9, 2019
75d7fee
Fix site issues related to 403 errors.
Rishabh570 Jan 15, 2019
f2b0487
Create CODE_OF_CONDUCT.md (#129)
toyblox Jan 15, 2019
7b1869e
Add survey form temporarily.
Rishabh570 Jan 16, 2019
22f1b3d
Update index.html
jywarren Jan 16, 2019
3d7110b
add new lock file. (#132)
Rishabh570 Jan 23, 2019
6ca1409
Bump chart.js from 2.7.2 to 2.7.3 (#133)
dependabot[bot] Jan 24, 2019
724a0fc
Bump tape from 4.9.1 to 4.10.1 (#139)
dependabot[bot] Feb 14, 2019
a05c597
Bump bootstrap from 3.4.0 to 3.4.1 (#138)
dependabot[bot] Feb 14, 2019
73d1528
#80 created the scroll to top button (#140)
harshithpabbati Feb 15, 2019
c0a2bd0
Structure MVC architecture (#107)
Rishabh570 Feb 21, 2019
fb514aa
version bump
jywarren Feb 21, 2019
3958f77
Bump moment from 2.23.0 to 2.24.0 (#134)
dependabot[bot] Mar 4, 2019
600a430
Create .travis.yml (#123)
jywarren Mar 13, 2019
3ba7fd6
Bump grunt-contrib-watch from 0.6.1 to 1.1.0
dependabot-support Mar 13, 2019
d42ef52
Bump browserify from 13.0.0 to 16.2.3
dependabot-support Mar 13, 2019
1d08ac2
Bump matchdep from 0.3.0 to 2.0.0
dependabot-support Mar 13, 2019
0303a9e
Bump grunt-contrib-concat from 0.5.1 to 1.0.1
dependabot-support Mar 13, 2019
6281aad
Bump grunt from 0.4.5 to 1.0.3 (#156)
dependabot[bot] Mar 14, 2019
f99bd18
Bump chart.js from 2.7.3 to 2.8.0 (#157)
dependabot[bot] Mar 15, 2019
a5a4a28
Update index.html
jywarren Mar 21, 2019
0bf1d79
Bump grunt from 1.0.3 to 1.0.4 (#170)
dependabot[bot] Mar 25, 2019
272eafe
Bump jquery from 3.3.1 to 3.4.0 (#172)
dependabot[bot] Apr 11, 2019
375adeb
update demo.css (#167)
angelisamaria Apr 14, 2019
d2fd172
Fixes #182 Add "fork me on github" ribbon (#184)
Iworley0001 Apr 17, 2019
900822c
center the avatars in contribution list (#188)
filiplipinski Apr 20, 2019
25e3c55
here are my changes. (#190)
vedantsingh1404 Apr 23, 2019
9879ce5
Added styles as directed (#175)
kingingcole Apr 24, 2019
27d4ba6
Connect with us section (#186)
ibrahimm02 Apr 25, 2019
5883274
Updated list storage to IndexedDB (#192)
stephqian May 10, 2019
c5bfd9b
Bump tape-run from 5.0.0 to 6.0.0 (#196)
dependabot[bot] May 15, 2019
871d062
Bump jquery from 3.4.0 to 3.4.1 (#195)
dependabot[bot] May 15, 2019
4da40fc
made 'connect with us' sectoin responsive (#215)
voidJuneau May 31, 2019
30dd907
Refactor the codebase (#213)
Rishabh570 Jun 3, 2019
bf490b3
Make welcome page text to source from config.json file (#216)
Rishabh570 Jun 6, 2019
e13747e
Add dropdown autocomplete for navigation around repositories (#219)
Rishabh570 Jun 21, 2019
8f54436
add night mode theme. (#221)
Rishabh570 Jun 26, 2019
2259366
Bump tape from 4.10.1 to 4.11.0 (#230)
dependabot-preview[bot] Jul 1, 2019
15b983d
resolve dropdown logic and change urlHash source. (#229)
Rishabh570 Jul 2, 2019
b5b0225
add list of fto authors. (#225)
Rishabh570 Jul 4, 2019
394ec63
add a copy to clipboard button. (#232)
Rishabh570 Jul 9, 2019
03ba43a
Bump browserify from 16.2.3 to 16.3.0 (#234)
dependabot-preview[bot] Jul 9, 2019
499d504
Add a list of stale issues (#217)
Rishabh570 Jul 9, 2019
949511d
Recent Contributors section - refactor followup (#231)
Rishabh570 Jul 18, 2019
558b637
add notifications for user acknowledge. (#236)
Rishabh570 Jul 25, 2019
9d2cb85
Update index.html, copyToClipboard.js and demo.css as Issue #240. (#242)
quoclien Jul 30, 2019
2ae45b5
Rename autocomplete.js #241 (#245)
airdry Jul 31, 2019
fd36b6a
make filter for recent contributors list. (#238)
Rishabh570 Aug 3, 2019
b424fe8
Add leaderboard of recent contributors (#235)
Rishabh570 Aug 14, 2019
12325aa
add tests for utils folder. (#246)
Rishabh570 Aug 17, 2019
bc71c05
Bump jest from 24.8.0 to 24.9.0 (#253)
dependabot-preview[bot] Aug 19, 2019
5ddba29
pwa work (#239)
Rishabh570 Aug 20, 2019
fd687b5
Bump tape-run from 6.0.0 to 6.0.1 (#256)
dependabot-preview[bot] Aug 21, 2019
389c011
[ WIP ] Add documentation (#258)
Rishabh570 Aug 26, 2019
6081b17
Update README.md
jywarren Sep 3, 2019
737688b
Update CODE_OF_CONDUCT.md as per new revision (#262)
sashadev-sky Sep 3, 2019
e3e8044
Footer UI changes (#255)
pydevsg Sep 9, 2019
c28dedb
Remove redundant function from community-toolbox.js #218 (#268)
mastal88 Sep 28, 2019
0368736
Added author thumbnail to issue display (#266)
samagragupta Sep 28, 2019
5472365
Update usage.md
jywarren Oct 18, 2019
529410e
fixed UI bug: footer elements not centered (#273)
k-awe-some Oct 21, 2019
6807d12
Bump browserify from 16.3.0 to 16.5.0 (#250)
dependabot-preview[bot] Oct 21, 2019
16cf1d6
Bump node-snackbar from 0.1.15 to 0.1.16 (#286)
dependabot-preview[bot] Nov 16, 2019
5f8064f
Bump chart.js from 2.8.0 to 2.9.3 (#292)
dependabot-preview[bot] Nov 16, 2019
06a76cf
Added a language attribute (#287)
elizabeth-agada Nov 16, 2019
30ae370
Bump tape from 4.11.0 to 4.12.0 (#303)
dependabot-preview[bot] Dec 17, 2019
cd2a94e
fix header UI issue. (#307)
Rishabh570 Jan 5, 2020
2cc7acf
Bump tape from 4.12.0 to 4.12.1 (#304)
dependabot-preview[bot] Jan 6, 2020
f7dfbd4
[Security] Bump handlebars from 4.1.2 to 4.5.3 (#305)
dependabot-preview[bot] Jan 6, 2020
95e83c9
Bump tape from 4.12.1 to 4.13.0 (#312)
dependabot-preview[bot] Jan 9, 2020
f638748
Bump http-server from 0.11.1 to 0.12.1 (#311)
dependabot-preview[bot] Jan 9, 2020
b6da311
sort dropdown made responsive (#313)
rounak176 Jan 10, 2020
bf953ee
fixed the stale issues which fixes issue #282 (#314)
DevanshCodes Jan 20, 2020
84dc307
Bump jest from 24.9.0 to 25.1.0 (#322)
dependabot-preview[bot] Jan 23, 2020
5358009
JS code enhancement (#298)
somenath1435 Jan 23, 2020
d88808b
Fixed the hyperlink issue (Fixes issue #320) (#329)
DevanshCodes Jan 31, 2020
12f6353
Update getting_started.md (#327)
govindgoel Jan 31, 2020
02aa12c
Fix The Position Of Fork me Ribbon (#332)
govindgoel Feb 8, 2020
94d71ea
Added the scrolling in-list (#336)
DevanshCodes Feb 11, 2020
3c76934
Add a all repositories button to dropdown (#338)
govindgoel Feb 11, 2020
43c59c4
Show Github username over avatar (#340)
govindgoel Feb 16, 2020
d2b2619
Add gitter option in connect with us section (#342)
govindgoel Feb 25, 2020
b96a945
Bump tape from 4.13.0 to 4.13.2 (#344)
dependabot-preview[bot] Mar 3, 2020
c541280
Bump grunt from 1.0.4 to 1.1.0 (#347)
dependabot-preview[bot] Mar 17, 2020
9527cd5
[Security] Bump acorn from 6.0.4 to 6.4.1 (#346)
dependabot-preview[bot] Mar 17, 2020
e49f64b
updated installation instructions (#345)
govindgoel Mar 27, 2020
7bb799d
Bump jquery from 3.4.1 to 3.5.0 (#357)
dependabot-preview[bot] Apr 15, 2020
255a73f
Bump browserify from 16.5.0 to 16.5.1 (#351)
dependabot-preview[bot] Apr 15, 2020
97a4db6
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4 (#374)
dependabot-preview[bot] Jul 7, 2020
444424b
Bump moment from 2.24.0 to 2.27.0 (#375)
dependabot-preview[bot] Jul 7, 2020
77888e7
Bump grunt from 1.1.0 to 1.2.0 (#377)
dependabot-preview[bot] Jul 7, 2020
00bc07e
Bump grunt from 1.2.0 to 1.2.1 (#378)
dependabot-preview[bot] Jul 11, 2020
80ff008
Bump browserify from 16.5.1 to 16.5.2 (#383)
dependabot-preview[bot] Aug 4, 2020
55a7319
[Security] Bump elliptic from 6.4.1 to 6.5.3 (#380)
dependabot-preview[bot] Aug 4, 2020
ccb7953
Bump grunt from 1.2.1 to 1.3.0 (#387)
dependabot-preview[bot] Sep 21, 2020
adc268c
Bump moment from 2.27.0 to 2.28.0 (#391)
dependabot-preview[bot] Sep 21, 2020
aff1b17
[Security] Bump http-proxy from 1.18.0 to 1.18.1 (#390)
dependabot-preview[bot] Sep 21, 2020
b375b9f
Bump tape-run from 6.0.1 to 8.0.0 (#379)
dependabot-preview[bot] Oct 6, 2020
d3a9080
Bump moment from 2.28.0 to 2.29.1 (#393)
dependabot-preview[bot] Oct 6, 2020
070f158
Bump tape from 4.13.2 to 5.0.1 (#372)
dependabot-preview[bot] Oct 6, 2020
8f00132
Update demo.css to fix font links to League Spartan CDN via fontsourc…
jywarren Oct 27, 2020
80ac251
Bump browserify from 16.5.2 to 17.0.0 (#396)
dependabot-preview[bot] Oct 30, 2020
fc0b306
Bump jquery from 3.5.0 to 3.5.1 (#369)
dependabot-preview[bot] Oct 30, 2020
12ca425
Bump http-server from 0.12.1 to 0.12.3 (#360)
dependabot-preview[bot] Oct 30, 2020
571fe26
Bump chart.js from 2.9.3 to 2.9.4 (#398)
dependabot-preview[bot] Oct 30, 2020
cb12d7b
restyle missing avatar images as grey circles (#413)
akanksha-v Dec 19, 2020
8a108e0
add fto authors usernames (#416)
govindgoel Dec 21, 2020
8b2530f
New Navbar added with the logo of PublicLab (#420)
YogeshSharma01 Jan 29, 2021
fbc1450
Fully automate dev setup with Gitpod (#425)
jywarren Feb 4, 2021
0165b1b
Public lab dependency chart (#424)
YogeshSharma01 Feb 27, 2021
17b126a
Created tests.yml (#435)
jywarren Mar 2, 2021
4a611cf
Bump grunt-browserify from 5.3.0 to 6.0.0 (#432)
dependabot-preview[bot] Mar 2, 2021
2b2631f
Bump tape from 5.0.1 to 5.2.1 (#431)
dependabot-preview[bot] Mar 2, 2021
f3065d8
[Security] Bump ini from 1.3.5 to 1.3.8 (#410)
dependabot-preview[bot] Mar 2, 2021
022ddaa
Dependency chart is added to the navbar (#434)
YogeshSharma01 Mar 2, 2021
2632379
Language section added to home page (#422)
YogeshSharma01 Mar 11, 2021
18e5aa3
Formate of web page is fixed (#441)
YogeshSharma01 Mar 25, 2021
eeecfa6
Language section is added into the navbar (#447)
YogeshSharma01 Mar 26, 2021
99c8654
Sticky footer to clear the database which updates it along with the c…
Rishabh570 May 18, 2021
1b3547e
Bump jest from 25.1.0 to 26.6.3 (#408)
dependabot-preview[bot] May 18, 2021
612f214
Bump jquery from 3.5.1 to 3.6.0 (#436)
dependabot-preview[bot] May 18, 2021
f0d56c1
Bump tape from 5.2.1 to 5.2.2 (#437)
dependabot-preview[bot] May 18, 2021
5a7e2e8
[Security] Bump elliptic from 6.5.3 to 6.5.4 (#439)
dependabot-preview[bot] May 18, 2021
8c4231c
Bump grunt from 1.3.0 to 1.4.0 (#458)
dependabot-preview[bot] May 18, 2021
2342e3b
Bump tape-run from 8.0.0 to 9.0.0 (#455)
dependabot-preview[bot] May 18, 2021
e59b4aa
[Security] Bump y18n from 4.0.0 to 4.0.3 (#453)
dependabot-preview[bot] May 18, 2021
d00f513
Upgrade to GitHub-native Dependabot (#463)
dependabot-preview[bot] May 18, 2021
c3e69d0
Added permalink to Recent Contributors section (#464)
swetshaw Mar 1, 2022
76cd5fc
Fix spelling on "Recent contributors" Permalink on Navbar (#543)
adeola-dev Mar 31, 2022
1fb0918
Bump plist from 3.0.2 to 3.0.4 (#538)
dependabot[bot] Mar 31, 2022
005c2e0
Bump tape from 5.2.2 to 5.5.2 (#537)
dependabot[bot] Mar 31, 2022
85077e2
Bump cached-path-relative from 1.0.2 to 1.1.0 (#531)
dependabot[bot] Mar 31, 2022
33b7c8e
Bump http-server from 0.12.3 to 14.1.0 (#527)
dependabot[bot] Mar 31, 2022
8b83092
Fixed Support Label link on Navbar (#541)
PeculiarE Apr 1, 2022
7487e30
moved link tags to the head. this fixes #550 (#551)
on2onyekachi Apr 4, 2022
d61c525
Fix charset character encoding value in embed and index file. Fixes #…
archijaiswal Apr 5, 2022
d0b92db
Remove inline styling and update demo.css (#566)
djmiller1008 May 8, 2022
98cb8b2
Add bootstrap classes (#567)
nawed2611 May 8, 2022
9188155
fixes: #564 Grouped similar inline style rule into demo.css (#565)
on2onyekachi May 17, 2022
541613f
(fix): Update broken links in index.html page (#577)
YorhaBlue May 17, 2022
148629b
fixes: #575 links to change selected Repo (#578)
on2onyekachi May 21, 2022
73a0ffe
Bump ws from 7.4.3 to 7.5.7 (#546)
dependabot[bot] Jul 3, 2022
dce9219
Bump browserslist from 4.16.3 to 4.20.2 (#545)
dependabot[bot] Jul 3, 2022
96947b2
Bump parse-link-header from 1.0.1 to 2.0.0 (#526)
dependabot[bot] Jul 3, 2022
823ae87
Bump plist from 3.0.2 to 3.0.5 (#544)
dependabot[bot] Jul 3, 2022
e8b7795
Bump jsdom from 16.4.0 to 16.7.0 (#582)
dependabot[bot] Jul 3, 2022
8cd08cf
Bump shell-quote from 1.6.1 to 1.7.3 (#581)
dependabot[bot] Jul 3, 2022
9b37404
Bump moment from 2.29.1 to 2.29.3 (#556)
dependabot[bot] Jul 3, 2022
dbda6be
Bump grunt from 1.4.0 to 1.5.3 (#570)
dependabot[bot] Jul 3, 2022
bbdeb0e
Bump follow-redirects from 1.11.0 to 1.15.1 (#584)
dependabot[bot] Jul 3, 2022
394b3c0
Bump jest from 26.6.3 to 28.1.2 (#583)
dependabot[bot] Jul 3, 2022
1f65e2d
Added Media queries for removing the ForkMe icon for small size screen
Anshul-target Apr 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### Please describe the problem (or idea)

> What happened just before the problem occurred? Or what problem could this idea solve?



> What did you expect to see that you didn't?



### Please show us where to look

https://code.publiclab.org/ ...


### What's your PublicLab.org username?

> This can help us diagnose the issue:



### Browser, version, and operating system

> Many bugs are related to these -- please help us track it down and reproduce what you're seeing!


****

## 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
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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!
14 changes: 9 additions & 5 deletions .github/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,25 @@

# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome

# Comment to be posted to on first-time issues
# Comment to be posted to on first time issues
newIssueWelcomeComment: |
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! 📸

If you have screenshots to share demonstrating the issue, that's really helpful! 📸 You can [make a gif](https://www.cockos.com/licecap/) too!
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome

# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: |
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! 👍🎉😄
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge

# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: |
Congrats on merging your first pull request! 🙌🎉⚡️
Your code will likely be published to code.publiclab.org in the next few days.
Your code will likely be published to https://code.publiclab.org in the next few days.
In the meantime, can you tell us your Twitter handle so we can thank you properly?
Now that you've completed this, you can help someone else take their first step! See: https://code.publiclab.org
Now that you've completed this, you can help someone else take their first step!
See: [Public Lab's coding community!](https://code.publiclab.org)

# It is recommended to include as many gifs and emojis as possible

28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
ignore:
- dependency-name: chart.js
versions:
- 3.0.2
- 3.1.0
- 3.1.1
- dependency-name: y18n
versions:
- 4.0.1
- 4.0.2
- dependency-name: ini
versions:
- 1.3.8
- dependency-name: jest-when
versions:
- 3.1.0
- 3.2.0
- dependency-name: tape
versions:
- 5.1.1
- 5.2.0
47 changes: 47 additions & 0 deletions .github/first-timers-issue-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Hi, this is a [first-timers-only issue](https://publiclab.github.io/community-toolbox/#r=all). 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](https://github.com/publiclab/plots2/labels/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]($BRANCH_URL) in the `$REPO` repository (press the little pen Icon) and edit the line as shown below.

[See this page](https://publiclab.github.io/community-toolbox/#r=all) 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
$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](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github) on how to send a pull request using the terminal.

2. You can also [edit files directly in your browser](https://help.github.com/articles/editing-files-in-your-repository/) 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](https://publiclab.github.io/community-toolbox/#r=all). Thanks!

(This issue was created by [First-Timers-Bot](https://github.com/hoodiehq/first-timers-bot).)
12 changes: 12 additions & 0 deletions .github/first-timers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# You can change the labels to suit your needs if "first-timers-only" is not what you are looking for.
# These are some examples.
labels:
- first-timers-only
- help-wanted

#If you would like to add your own template for the issue, add an .md file to your .github folder
template: .github/first-timers-issue-template.md

# You can create the issue in a different repo than where the problem is. Just make sure you installed the bot on the configured repository.
# The issue will link back to the original repository where the contribution will be made.
#repository: repo-name
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Tests

on: [pull_request]
jobs:
tests:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: npm install
- name: "Build dist files"
run: grunt build
- name: "Run tests"
run: npm test
3 changes: 3 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tasks:
- init: npm install
command: npm run start
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- '8'
- '10'
before_install:
- npm install -g grunt-cli
before_script:
- grunt build
script: npm test
11 changes: 11 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Public Lab Code of Conduct

_Public Lab, 55 Cromwell Street, 1C, Providence, RI 02907_

We are coming together with an intent to care for ourselves and one another as we produce knowledge in pursuit of environmental justice. For this to work for everybody, individual decisions will not be allowed to run counter to the welfare of other people. We—visitors, community members, community moderators, staff, organizers, sponsors, and all others—hold ourselves accountable to the same values regardless of position or experience. This community aspires to be a respectful place both during online and in-person interactions so that all people are able to fully participate with their dignity intact. This document is a piece of the culture we're creating.

This code of conduct applies to all spaces managed by the Public Lab community and non-profit, both online and in person. It provides a clear set of practical guidelines for events led by organizers and community members, multi-day events such as Barnraisings, and online venues such as the website, comment threads on software platforms, chatrooms, our mailing lists, the issue tracker, and any other forums created by Public Lab which the community uses for communication. For interactions with additional groups, see our Partnership Guidelines at https://publiclab.org/partners.

To read the full Code of Conduct and learn how to contact the Conduct Committee or the Moderators group, see:

https://publiclab.org/conduct
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = function(grunt) {
},
source: {
files: [
'src/*.js',
'src/*/*.js',
'Gruntfile.js'
],
Expand All @@ -24,7 +23,7 @@ module.exports = function(grunt) {

browserify: {
dist: {
src: ['src/community-toolbox.js'],
src: ['src/scripts/community-toolbox.js'],
dest: 'dist/community-toolbox.js'
}
}
Expand Down
88 changes: 47 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,79 @@
Community Toolbox
====
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/publiclab/community-toolbox)

A toolbox of a GitHub organization's contributor community.
## Community Toolbox

See a live instance (set up for Public Lab's community) at: http://code.publiclab.org/
A platform dedicated to community growth and getting insights on organization-wide activities.

[![Code of Conduct](https://img.shields.io/badge/code-of%20conduct-green.svg)](https://publiclab.org/conduct)
[![first-timers-only-friendly](http://img.shields.io/badge/first--timers--only-friendly-lightgray.svg?style=flat-square)](https://code.publiclab.org#r=all)
[![Join the chat at https://publiclab.org/chat](https://img.shields.io/badge/chat-in%20different%20ways-blue.svg)](https://publiclab.org/chat)
[![visit here](https://img.shields.io/badge/live_at-URL-yellow)](https://code.publiclab.org/)
[![GitHub license](https://img.shields.io/github/license/publiclab/community-toolbox)](https://github.com/publiclab/community-toolbox/blob/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/publiclab/community-toolbox)](https://github.com/publiclab/community-toolbox/stargazers)
[![Newcomers welcome](https://img.shields.io/badge/newcomers-welcome-pink.svg)](https://code.publiclab.org)

## Embed an issues list

Community Toolbox lets you view issues of a specific repository for embedding on another site, with the following URL:
## Table of Contents

http://code.publiclab.org/examples/embed.html#o=orgname&r=repository
1. [Project Overview](#project-overview)
2. [Getting Started](./docs/getting_started.md)
2. [How to Use](./docs/usage.md)

For issues with a specific label, use, for example:

http://code.publiclab.org/community-toolbox/examples/embed.html#o=orgname&r=repository&l=first-timers-only
## Project Overview

To embed these on your site, use an `<iframe>` like this:
The project structure of community toolbox is majorly divided into two groups,
- `/examples` contains code responsible for front-end styles and related scripts,
- `/src` contains the actual code for fetching data and showing it to the user.

```html
<iframe src="http://code.publiclab.org/examples/embed.html#o=orgname&r=repository" style="border:none;" width="100%" height="600px"></iframe>
```
![](./images/overview.png)

## Org-wide issues
As shown in the flowchart, `/src` inherits MVC like architecture. Here,

You can also use Community Toolbox to display issues for a given label across an entire organization. Use `all` for the `r` parameter, like this:
Fragment | Contains
--- | ---
`/models` | database related operations (Database layer)
`/scripts` | main source file (community-toolbox.js)
`/utils` | utility functions (Controller layer)
`/UI` | user interface functions (View layer)

http://code.publiclab.org/#r=all
---

## Configuration
### models

[These lines](https://github.com/publiclab/community-toolbox/blob/620c4d906be704ffaa5b40509796c18c393f83f4/index.html#L115-L118) allow configuration of the example to set **repository, organization** and **labels** to use, by adding to the URL hash in the format: `https://publiclab.github.io/community-toolbox/#r=all` (for the `r` parameter, as an example). So the options are:
`models/` corresponds to the **Database Layer**. It is responsible for all the operations that happen on the database i.e., create, read and delete operations. The structure of `models/` ensures the segregation of code chunks based on their responsibilities.

* **repository** - using `r=` you can set the repository name to look at, like: http://code.publiclab.org#r=plots2 for https://github.com/publiclab/plots2
* **organization/user** - using `o=` you can set the organization or user name to look at, like: http://code.publiclab.org#o=publiclab for https://github.com/publiclab
* **first-timers-only label** - using `f=` you can set the label to use for `first-timers-only` or equivalent issues, like: http://code.publiclab.org#f=help-wanted for https://github.com/publiclab/plots2/labels/help-wanted
* **first timers only "candidates"** - using `c=` you can set the label to use for `fto-candidate` or equivalent issues (at Public Lab, we keep a queue of not-quite-ready-but-almost issues for newcomers, that have key information but aren't completely formatted to welcome yet), like: http://code.publiclab.org#c=fto-candidate for https://github.com/publiclab/plots2/labels/fto-candidate
There are 3 major categories to this:
- Setting up/initializing the database (initialize.js),
- Defining operations for the database (crud.js), and
- Providing a layer to communicate with the outside code (utils.js)

![](./images/models.png)

## Developing

To develop and build out Community Toolbox, you'l need to have `npm` installed and to run `npm install` to get all the dependencies.
### scripts

Community Toolbox is built using a Grunt task from the source files in `/src/`, and the compiled file is saved to `/dist/community-toolbox.js`. To build, run `grunt build`. To watch files for changes, and build whenever they occur, run `grunt`.
`scripts/` contains the main entry point **_community-toolbox.js_** which is responsible for plugging every single functionality to the website. This file provides an interface to communicate with every feature that is present or is to be added later on. This file then gets bundled up with the help of grunt and that bundled-up version of the file is injected into the website as a script with the help of the landing page html file (index.html).

API calls are based on: https://www.npmjs.com/package/github-api-simple

## Install Instructions
* Clone or download the repo. into any fresh temporary folder.
### utils

``` git clone https://github.com/publiclab/community-toolbox.git ```
`utils/` acts as a **Controller Layer**, it contains code for various different features, majority of the code for any feature is present in this folder. This is to follow our approach of keeping main logic separate from the interface file (community-toolbox.js). This helps in making the code more readable and maintainable.

* Cd into that root folder you just cloned locally.

``` cd community-toolbox ```
![](./images/utilscripts.png)

* Open terminal in the current folder and to install all dependencies type
### UI

```npm install ```

Update to new version of packages if required in package.json.

* Now go to the folder and open index.html in browser.
`UI/` acts as a **View Layer**, it is responsible for displaying data on the landing page. Data is given to UI functions and its their job to display that data on to the screen. These functions are broken up into different units according to the data they display.

- Data for repository contributors is displayed on the screen with the help of **_contributorsUI.js_**,
- Similarly, **_recentContributorsUI.js_** shows recent contributors' data on to the page, and likewise other functions show data accordingly.

## Testing

(testing is not yet implemented, but when it is, it'll probably work like this)
![](./images/UI.png)

Assuming `tape` is installed via `npm install`:

`npm test`
### Up next

- ### [Getting started guide](./docs/getting_started.md)
20 changes: 20 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"org-heading-name": "Public Lab",
"org": "publiclab",
"default-repository": "plots2",
"URL": "https://code.publiclab.org",
"favicon-link": "https://i.publiclab.org/system/images/photos/000/000/354/medium/Boots-ground-02.png",
"forkMe-ribbon-link": "https://github.com/publiclab/community-toolbox",
"code-of-conduct-link": "https://publiclab.org/conduct",
"README-link": "https://github.com/publiclab/plots2/blob/main/README.md",
"official-chatroom-link": "https://publiclab.org/chat",
"gitter-chatroom-link": "https://gitter.im/publiclab/publiclab",
"issue-label-for-newcomer": "first-timers-only",
"issue-label-for-issues-like-newcomer": "candidates",
"help-wanted-issue-label": "help-wanted",
"support-issue-label": "support",
"newcomer-welcoming-guidelines-page-link": "https://publiclab.org/n/13667",
"other-ways-to-support-guidelines-link": "https://publiclab.org/n/13687",
"facebook-link": "https://www.facebook.com/PublicLab/",
"twitter-link": "https://twitter.com/PublicLab?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"
}
Loading