File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,8 @@ export const App = {
162162 options : {
163163 aims : [
164164 { name : 'Contributing code' , code : 'contribute' } ,
165- { name : 'Triaging issues' , code : 'triage' }
165+ { name : 'Triaging issues' , code : 'triage' } ,
166+ { name : 'Labelling issues' , code : 'label' }
166167 ] ,
167168 skills : [ ] ,
168169 experiences : [
@@ -189,7 +190,7 @@ export const App = {
189190 filteredIssues ( ) {
190191 return this . issues . filter ( issue => {
191192 // If aim is to triage issues
192- if ( this . filters . aim === 'triage' ) {
193+ if ( this . filters . aim === 'triage' || this . filters . aim === 'label' ) {
193194 // Show all issues as they all have the label "🚦 status: awaiting triage"
194195 return true
195196 }
@@ -219,11 +220,14 @@ export const App = {
219220 q . push ( 'label:"help wanted"' )
220221 } else if ( this . filters . aim === 'triage' ) {
221222 q . push ( 'label:"🚦 status: awaiting triage"' )
223+ } else if ( this . filters . aim === 'label' ) {
224+ q . push ( 'label:"🏷 status: label work required"' )
222225 }
223226 this . octokit . search . issuesAndPullRequests ( {
224227 q : q . join ( ' ' ) ,
225228 per_page : 100 ,
226- sort : 'updated'
229+ sort : 'created' ,
230+ order : 'desc'
227231 } ) . then ( res => {
228232 this . issues = res . data . items
229233 this . issues . forEach ( issue => {
You can’t perform that action at this time.
0 commit comments