1
1
<!DOCTYPE html>
2
2
< html >
3
+
3
4
< head >
4
5
< meta charset ="UTF-8 ">
5
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
9
< link rel ="stylesheet " type ="text/css " href ="index.css ">
9
10
< script src ="./scripts/fontawesome.js "> </ script >
10
11
< style type ="text/css ">
11
- html , body {
12
- width : 375px !important ;
13
- height : 600px !important ;
14
- max-height : 600px !important ;
15
- overflow-y : scroll;
16
- background : # eae4e4 ;
17
- }
18
- </ style >
12
+ html ,
13
+ body {
14
+ width : 375px !important ;
15
+ height : 600px !important ;
16
+ max-height : 600px !important ;
17
+ overflow-y : scroll;
18
+ background : # eae4e4 ;
19
+ }
20
+ </ style >
19
21
</ head >
22
+
20
23
< body >
21
24
< div class ="pl-1 py-4 rounded-2xl ">
22
25
< div class ="bg-white px-4 py-4 mx-2 mb-2 rounded-3xl ">
23
- < div class ="flex justify-between py-2 ">
24
- < h3 id ="scrumHelperHeading " class ="text-3xl font-semibold cursor-pointer "> Scrum Helper</ h3 >
25
- < img src ="icons/night-mode.png " alt ="Night Mode " class ="w-7 h-7 mx-3 cursor-pointer ">
26
- </ div >
27
- < div >
28
- < p class =""> Report your development progress by auto-fetching your Git activity for a selected period</ p >
29
- </ div >
30
-
26
+ < div class ="flex justify-between py-2 ">
27
+ < h3 id ="scrumHelperHeading " class ="text-3xl font-semibold cursor-pointer "> Scrum Helper</ h3 >
28
+ < img src ="icons/night-mode.png " alt ="Night Mode " class ="w-7 h-7 mx-3 cursor-pointer ">
29
+ </ div >
30
+ < div >
31
+ < p class =""> Report your development progress by auto-fetching your Git activity for a selected period</ p >
32
+ </ div >
33
+
31
34
< div class ="center mt-2 flex justify-between ">
32
- < label class ="flex items-center justify-center gap-2 ">
33
- Disable
34
- < input type ="checkbox " value ="" id ="enable " class ="sr-only peer " >
35
- < div class ="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600 "> </ div >
36
- < span class =""> </ span >
37
- Enable
38
- </ label >
39
- < div class ="flex ">
40
- < button id ="homeButton " title ="Go to Report " class ="ml-1 p-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700 transition ">
41
- < i class ="fa fa-home text-2xl text-gray-600 dark:text-gray-300 "> </ i >
42
- </ button >
43
- < button id ="settingsToggle ">
44
- < img id ="settingsIcon " src ="icons/settings-light.png " alt ="Settings " class ="w-6 h-6 mx-3 cursor-pointer ">
45
- </ button >
35
+ < label class ="flex items-center justify-center gap-2 ">
36
+ Disable
37
+ < input type ="checkbox " value ="" id ="enable " class ="sr-only peer ">
38
+ < div
39
+ class ="relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600 ">
46
40
</ div >
41
+ < span class =""> </ span >
42
+ Enable
43
+ </ label >
44
+ < div class ="flex ">
45
+ < button id ="homeButton " title ="Go to Report "
46
+ class ="ml-1 p-2 rounded hover:bg-gray-200 dark:hover:bg-gray-700 transition ">
47
+ < i class ="fa fa-home text-2xl text-gray-600 dark:text-gray-300 "> </ i >
48
+ </ button >
49
+ < button id ="settingsToggle ">
50
+ < img id ="settingsIcon " src ="icons/settings-light.png " alt ="Settings " class ="w-6 h-6 mx-3 cursor-pointer ">
51
+ </ button >
52
+ </ div >
47
53
</ div >
48
54
</ div >
49
-
55
+
50
56
< div class ="rounded-2xl ">
51
57
< div class =" border-gray-100 border-2 bg-white rounded-3xl px-4 py-4 mx-2 my-2 ">
52
58
53
59
< div id ="reportSection " class ="tab-content ">
54
60
< div >
55
61
< h4 > Your Project Name</ h4 >
56
- < input id ="projectName " type ="text " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 " placeholder ="Enter your project name ">
62
+ < input id ="projectName " type ="text "
63
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
64
+ placeholder ="Enter your project name ">
57
65
</ div >
58
66
< div >
59
67
< h4 > Your Github Username</ h4 >
60
- < input id ="githubUsername " type ="text " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 " placeholder ="Required for fetching your contributions ">
68
+ < input id ="githubUsername " type ="text "
69
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
70
+ placeholder ="Required for fetching your contributions ">
61
71
</ div >
62
-
72
+
63
73
< div >
64
74
< p class ="text-sm "> Fetch your contributions between:</ p >
65
75
< div class ="flex justify-between items-center my-2 mx-4 ">
@@ -72,7 +82,7 @@ <h4>Your Github Username</h4>
72
82
< label for ="yesterdayContribution "> Last 1 day</ label >
73
83
</ div >
74
84
</ div >
75
-
85
+
76
86
< div id ="customDateContainer " class ="flex justify-between items-center mt-2 ">
77
87
< div >
78
88
< label for ="startingDate "> Start Date:</ label >
@@ -84,38 +94,56 @@ <h4>Your Github Username</h4>
84
94
</ div >
85
95
</ div >
86
96
</ div >
87
-
97
+
88
98
< div class ="col s12 ">
89
99
< br />
90
100
< input type ="checkbox " id ="showOpenLabel " class ="form-checkbox h-4 w-4 text-blue-600 ">
91
- < label id ="checkboxLabel " for ="showOpenLabel " class ="text-gray-700 font-medium text-sm "> Show Open/Closed Label</ label >
101
+ < label id ="checkboxLabel " for ="showOpenLabel " class ="text-gray-700 font-medium text-sm "> Show Open/Closed
102
+ Label</ label >
92
103
</ div >
93
104
< div class ="my-4 ">
94
105
< p class ="text-sm font-medium "> What is blocking you from making progress?</ p >
95
- < input id ="userReason " type ="text " class ="w-full text-gray-800 mt-3 rounded-xl px-4 py-1 " placeholder ="Enter your reason ">
106
+ < input id ="userReason " type ="text " class ="w-full text-gray-800 mt-3 rounded-xl px-4 py-1 "
107
+ placeholder ="Enter your reason ">
96
108
< hr class ="border-t-2 border-gray-700 mt-1 ">
97
109
</ div >
98
110
< div >
99
111
< div >
100
112
< h6 class ="text-base font-semibold "> Scrum Report</ h6 >
101
- < div id ="scrumReport "
102
- contenteditable ="true "
103
- class ="min-h-[200px] overflow-y-auto whitespace-pre-wrap border-2 border-gray-200 bg-gray-100 rounded-xl text-gray-800 p-2 my-2 ">
113
+ < div id ="scrumReport " contenteditable ="true "
114
+ class ="min-h-[200px] overflow-y-auto whitespace-pre-wrap border-2 border-gray-200 bg-gray-100 rounded-xl text-gray-800 p-2 my-2 ">
104
115
</ div >
105
116
</ div >
106
117
< div class ="flex justify-between gap-2 ">
107
- < button id ="generateReport " class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
108
- < i class ="fa fa-refresh "> </ i > Generate Report
118
+ < button id ="generateReport "
119
+ class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
120
+ < i class ="fa fa-refresh "> </ i > Generate Report
109
121
</ button >
110
- < button id ="copyReport " class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
111
- < i class ="fa fa-copy "> </ i > Copy Report
122
+ < button id ="copyReport "
123
+ class ="flex items-center gap-2 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded ">
124
+ < i class ="fa fa-copy "> </ i > Copy Report
112
125
</ button >
113
126
</ div >
114
127
</ div >
115
128
</ div >
116
129
117
130
< div id ="settingsSection " class ="tab-content hidden ">
118
-
131
+ < div class ="">
132
+ < div class ="flex items-center mt-4 ">
133
+ < h4 > Organisation Name</ h4 >
134
+ < span class ="tooltip-container ml-2 ">
135
+ < i class ="fa fa-question-circle question-icon "> </ i >
136
+ < span class ="tooltip-bubble ">
137
+ < b > Which organisation's GitHub activity?</ b > < br >
138
+ Enter the GitHub organisation name to fetch activites for. Default is < b > fossasia</ b > .
139
+ Organisation name is not case-sensitive.
140
+ </ span >
141
+ </ span >
142
+ </ div >
143
+ < input id ="orgInput " type ="text "
144
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
145
+ placeholder ="Enter organisation name (default: fossasia) ">
146
+ </ div >
119
147
< div class ="">
120
148
< div class ="flex items-center justify-between ">
121
149
< div class ="flex ">
@@ -124,9 +152,13 @@ <h4>Your Github Token</h4>
124
152
< i class ="fa fa-question-circle question-icon "> </ i >
125
153
< span class ="tooltip-bubble ">
126
154
< b > Why is it recommended to add a GitHub token?</ b > < br >
127
- Scrum Helper works without a GitHub token, but adding a personal access token is recommended for a better experience. It raises your API limits, allows access to private repos (if permitted), and improves accuracy and speed. Tokens are stored locally and never sent to us and used only to fetch your git data. You can add one anytime in the extension settings.< br > < br >
155
+ Scrum Helper works without a GitHub token, but adding a personal access token is recommended for a
156
+ better experience. It raises your API limits, allows access to private repos (if permitted), and
157
+ improves accuracy and speed. Tokens are stored locally and never sent to us and used only to fetch
158
+ your git data. You can add one anytime in the extension settings.< br > < br >
128
159
< b > How to obtain:</ b > < br >
129
- 1. Go to < a href ="https://github.com/settings/tokens " target ="_blank " style ="color:#2563eb;text-decoration:underline; "> GitHub Developer Settings</ a > .< br >
160
+ 1. Go to < a href ="https://github.com/settings/tokens " target ="_blank "
161
+ style ="color:#2563eb;text-decoration:underline; "> GitHub Developer Settings</ a > .< br >
130
162
3. Click "Generate new token", select classic token< br >
131
163
4. Paste it here.< br >
132
164
< i > Keep your token secret!</ i >
@@ -137,19 +169,26 @@ <h4>Your Github Token</h4>
137
169
< i id ="tokenEyeIcon " class ="fa fa-eye text-gray-600 "> </ i >
138
170
</ button >
139
171
</ div >
140
- < input id ="githubToken " type ="password " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 pr-10 " placeholder ="Required for making authenticated requests ">
172
+ < input id ="githubToken " type ="password "
173
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 pr-10 "
174
+ placeholder ="Required for making authenticated requests ">
141
175
< p class ="text-sm font-medium "> Enter cache TTL < span class ="text-sm font-normal "> (in minutes)</ span >
142
176
< span class ="tooltip-container ">
143
177
< i class ="fa fa-question-circle question-icon "> </ i >
144
178
< span class ="tooltip-bubble ">
145
- We are caching the data to avoid redundant calls. By default the cache expires after 10 minutes, you can change it here to your desired time. We have given a refresh cache button in case you want to fetch fresh data right now.
179
+ We are caching the data to avoid redundant calls. By default the cache expires after 10 minutes, you
180
+ can change it here to your desired time. We have given a refresh cache button in case you want to
181
+ fetch fresh data right now.
146
182
</ span >
147
183
</ span >
148
- </ p >
149
- < input type ="text " id ="cacheInput " class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 " placeholder ="Write Cache TTL in minutes (Default 10 minutes) ">
184
+ </ p >
185
+ < input type ="text " id ="cacheInput "
186
+ class ="w-full border-2 border-gray-200 bg-gray-200 rounded-xl text-gray-800 p-2 my-2 "
187
+ placeholder ="Write Cache TTL in minutes (Default 10 minutes) ">
150
188
</ div >
151
189
< div class ="">
152
- < button id ="refreshCache " class ="w-full mt-3 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded flex items-center justify-center gap-2 transition-colors duration-200 ">
190
+ < button id ="refreshCache "
191
+ class ="w-full mt-3 bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-4 rounded flex items-center justify-center gap-2 transition-colors duration-200 ">
153
192
< i class ="fa fa-refresh "> </ i >
154
193
< span > Refresh Data (bypass cache)</ span >
155
194
</ button >
@@ -158,53 +197,55 @@ <h4>Your Github Token</h4>
158
197
Use this button to fetch fresh data immediately.
159
198
</ p >
160
199
</ div >
161
-
200
+
162
201
</ div >
163
202
164
203
<!-- asdfghjklkjhgfdsasdfghjkjhgfdsasdfghjk -->
165
204
< div class ="border-gray-100 border-2 bg-white rounded-3xl px-4 py-2 mx-2 my-2 ">
166
205
< div >
167
206
< h4 class ="font-semibold text-xl "> Note:</ h4 >
168
207
< ul class ="text-xs list-disc list-inside ">
169
- < li > The PRs fetched are based on the most recent review by any contributor. If you reviewed a PR 10 days ago and someone else reviewed it 2 days ago, it will still appear in your activity for the past week. (< a target ="_blank " href ="https://github.com/fossasia/scrum_helper/issues/20 "> See this issue</ a > .)
208
+ < li > The PRs fetched are based on the most recent review by any contributor. If you reviewed a PR 10 days
209
+ ago and someone else reviewed it 2 days ago, it will still appear in your activity for the past week.
210
+ (< a target ="_blank " href ="https://github.com/fossasia/scrum_helper/issues/20 "> See this issue</ a > .)
170
211
</ li >
171
- < li > Please note that some discrepancies may occur in the generated SCRUM. We recommend manually reviewing and editing the report to ensure accuracy before sharing
212
+ < li > Please note that some discrepancies may occur in the generated SCRUM. We recommend manually reviewing
213
+ and editing the report to ensure accuracy before sharing
172
214
</ li >
173
215
</ ul >
174
216
</ div >
175
217
</ div >
176
- </ div >
218
+ </ div >
177
219
178
- < div class ="mt-6 border-t border-gray-300 ">
179
- < div class ="bg-white rounded-3xl mx-2 mt-4 mb-2 p-4 border border-gray-100 shadow-sm ">
180
- < div class ="flex items-center justify-center space-x-3 ">
181
- < a target ="_blank "
182
- href =" https://github.com/fossasia/scrum_helper "
183
- class ="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
184
- < i class ="fa fa-code text-sm" > </ i >
185
- < span class =" text-sm font-medium " > View Code </ span >
186
- </ a >
187
- < a target =" _blank "
188
- href =" https://github.com/fossasia/scrum_helper/issues "
189
- class ="bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
190
- < i class =" fa fa-bug text-sm " > </ i >
191
- < span class =" text-sm font-medium " > Report Issue </ span >
192
- </ a >
193
- </ div >
194
- </ div >
195
- < div class =" mt-3 pt-3 border-t border-gray-200 flex justify-center items-center py-5 " >
196
- < p class ="text-xs text- gray-600 text-center " >
197
- Made with ❤️ by < strong > FOSSASIA </ strong > •
198
- < span class =" text-gray-500 dark:text-gray-300 " > v2.0 </ span >
199
- </ p >
220
+ < div class ="mt-6 border-t border-gray-300 ">
221
+ < div class ="bg-white rounded-3xl mx-2 mt-4 mb-2 p-4 border border-gray-100 shadow-sm ">
222
+ < div class ="flex items-center justify-center space-x-3 ">
223
+ < a target ="_blank " href =" https://github.com/fossasia/scrum_helper "
224
+ class =" bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
225
+ < i class ="fa fa-code text-sm " > </ i >
226
+ < span class ="text-sm font-medium " > View Code </ span >
227
+ </ a >
228
+ < a target =" _blank " href =" https://github.com/fossasia/scrum_helper/issues "
229
+ class =" bg-blue-50 hover:bg-blue-100 text-blue-600 transition-all duration-200 rounded-lg px-4 py-2 flex items-center space-x-2 " >
230
+ < i class =" fa fa-bug text-sm " > </ i >
231
+ < span class ="text-sm font-medium " > Report Issue </ span >
232
+ </ a >
233
+ </ div >
234
+ </ div >
235
+ < div class =" mt-3 pt-3 border-t border-gray-200 flex justify-center items-center py-5 " >
236
+ < p class =" text-xs text-gray-600 text-center " >
237
+ Made with ❤️ by < strong > FOSSASIA </ strong > •
238
+ < span class ="text-gray-500 dark: text-gray-300 " > v2.0 </ span >
239
+ </ p >
240
+ </ div >
241
+ </ div >
200
242
</ div >
201
243
</ div >
202
- </ div >
203
- </ div >
204
244
< script src ="scripts/jquery-3.2.1.min.js "> </ script >
205
245
< script type ="text/javascript " type ="text/javascript " src ="materialize/js/materialize.min.js "> </ script >
206
246
< script src ="scripts/main.js "> </ script >
207
247
< script src ="scripts/scrumHelper.js "> </ script >
208
248
< script src ="scripts/popup.js "> </ script >
209
249
</ body >
250
+
210
251
</ html >
0 commit comments