forked from publiclab/community-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
205 lines (126 loc) · 7.79 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="content-type" content="text/html; charset=UTF8">
<title>Community toolbox</title>
<link rel="shortcut icon" type="image/png" href="https://i.publiclab.org/system/images/photos/000/000/354/medium/Boots-ground-02.png"/>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="node_modules/chart.js/dist/Chart.js"></script>
<script src="node_modules/urlhash/urlHash.js"></script>
<script src="dist/community-toolbox.js" charset="utf-8"></script>
</head>
<body>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="node_modules/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="examples/demo.css">
<div class="container-fluid">
<header class="text-center">
<h1>Welcome to Public Lab's coding community!</h1>
</header>
<hr />
<h4 style="text-align:center;font-weight:bold;">We're so happy to meet you! This page is to welcome new contributors. </h4>
<hr />
<div class="row">
<div class="col-md-6">
<p>We especially welcome contributions from people from <b>groups underrepresented</b> in free and open source software!</p>
<p>Our community aspires to be a respectful place. Please read and abide by our <a href="https://publiclab.org/conduct">Code of Conduct</a>.</p>
</div>
<div class="col-md-6">
<p>If you're new, and looking to get involved, you're in the right place. Check out <a href="https://github.com/publiclab/plots2/">our README</a> to get started.</p>
<p>If you're new to GitHub, using branches, or opening pull requests, <a href="https://guides.github.com/activities/hello-world/">read here for an introduction</a>.</p>
<p>If you have trouble, check out <a href="https://publiclab.org/chat">our chatroom</a> to ask for help, or you can talk directly with the other contributors on <a href="https://gitter.im/publiclab/publiclab">our Gitter chatroom</a> or just <a href="https://github.com/publiclab/plots2/issues/new">open an issue</a> and we'll write back!</p>
</div>
</div>
<hr />
<h2>Learn our process</h2>
<p style="text-align: center;">We have a welcoming "workflow" that supports you in getting started, then helps you reach out to welcome someone else in turn!</p>
<br />
<div class="row section" style="text-align: center;">
<div class="col-md-4">
<img class="img-circle" src="images/wrench.png" />
<h3>1.<br />Try an issue</h3>
<p>We've prepared extra-welcoming "first timers only" issues just for you.</p>
</div>
<div class="col-md-4">
<img class="img-circle" src="images/help.png" />
<h3>2.<br />Help someone else out</h3>
<p>Use your new skills to <a href="https://github.com/publiclab/plots2/labels/support">assist someone else</a> who's just starting out. Browse issues below to see who needs help!</p>
</div>
<div class="col-md-4">
<img class="img-circle" src="images/issue.png" />
<h3>3.<br />Create a welcoming issue for someone else</h3>
<p><a href="#whats-next">Read below</a> to learn how to create a "first timers only" issue yourself!</p>
</div>
</div>
<br />
<h2>First-timers-only issues</h2>
<p>Here are <a href="https://github.com/publiclab/plots2/labels/first-timers-only">a selection</a> of issues we've <a href="https://publiclab.org/n/13667">made especially for first-timers</a>. We're here to help, so just ask if one looks interesting, by leaving a comment!</p>
<div class="row first-timers-only"></div>
<p>No issues left? See <a href="/#r=all">issues across this org here</a>, and see the almost-as-good "candidates" below. Or learn how to <a href="">prepare new <b>first-timers-only</b> issues here</a>.</p>
<h2>Candidates</h2>
<p>We put a lot of work into our first-timer-only issues. But if we haven't been able to prepare any recently, here's a set of candidates we haven't yet had time to prepare, but which have most of the needed information:</p>
<div class="row candidates"></div>
<h2 id="whats-next">What's next?</h2>
<p>Once you've completed a <b>first-timers-only</b> issue, there are <a href="https://github.com/publiclab/plots2/labels/help-wanted">plenty of other challenges</a> we'd love to have your help on.</p>
<p>In "Candidates" above, there are some issues we think would make good <b>first-timers-only</b> issues, but haven't finished formatting. They could make a good second-time contribution!</p>
<h2>You're now an expert on being a newcomer!</h2>
<p>After finishing a first-timers-only issue, you're uniquely suited to help others make their own first contribution. We'd love to help you welcome another new person into our community! Here are some ways to help:</p>
<p><a href="https://publiclab.org/n/13667">Create your own first-timers-only issue</a> to welcome others into the project.</p>
<p>Also consider <a href="https://publiclab.org/n/13687">other ways you can support</a> even without coding!</p>
<hr />
<h2 class="contributors-head">Contributors</h2>
<p>This project was made possible by many contributors, including the following GitHub users:</p>
<div class="well contributors"><p class="usernames"></p><hr /><p class="avatars"></p></div>
</div>
<footer>
<div class="row">
<div class="col-md-6 text-center">
<span class="float-md-left"> Page powered by <a href="https://github.com/publiclab/community-toolbox"><i class="fa fa-github"></i></a>
<a href="https://github.com/publiclab/community-toolbox" >Commmunity Toolbox</a>
- Open Source
</span>
</div>
<div class="col-md-6 text-center">
<span class="float-md-right">
<a href="https://github.com/publiclab" title="Organization" ><i class="fa fa-github"></i> </a>
<a href="https://publiclab.org" title="Publiclab Website"><i class="fa fa-globe"></i> Publiclab</a> </span>
</div>
</div>
</footer>
<script type="text/javascript">
var toolbox;
(function() {
var org = urlHash().getUrlHashParameter('o') || 'publiclab';
var repo = urlHash().getUrlHashParameter('r') || 'plots2';
var ftoLabel = urlHash().getUrlHashParameter('f') || 'first-timers-only';
var candidateLabel = urlHash().getUrlHashParameter('c') || 'fto-candidate';
toolbox = CommunityToolbox(org, repo);
if (repo === 'all') {
toolbox.getIssuesForOrg(org, { qs: { labels: ftoLabel } })
.then(displayIssues('.first-timers-only'));
toolbox.getIssuesForOrg(org, { qs: { labels: candidateLabel } })
.then(displayIssues('.candidates'));
} else {
toolbox.api.Issues
.getIssuesForRepo(org, repo, { qs: { labels: ftoLabel } })
.then(displayIssues('.first-timers-only'));
toolbox.api.Issues
.getIssuesForRepo(org, repo, { qs: { labels: candidateLabel } })
.then(displayIssues('.candidates'));
// compile and display all contributors for given org/repo:
toolbox.getRepoContributors(org, repo);
}
function displayIssues(selector) {
return function displayIssues(issues) {
if (typeof issues === "string") issues = JSON.parse(issues).items;
issues.forEach(function(issue) {
toolbox.ui.insertIssue(issue, selector);
});
}
}
})();
</script>
</body>
</html>