You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,13 +87,69 @@ var makeRequest = function (url, method) {
86
87
};
87
88
88
89
asyncfunctionrefresh(){
89
-
awaitmakeRequest("api/backlog").then(function(data){add("color1","Backlog",data,"id=someday");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
90
-
awaitmakeRequest("api/upcoming").then(function(data){add("color5","Upcoming",data,"id=upcoming");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
91
-
awaitmakeRequest("api/waiting").then(function(data){add("color3","Waiting",data,"query=Waiting");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
92
-
awaitmakeRequest("api/inbox").then(function(data){add("color4","Inbox",data,"id=inbox");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
93
-
awaitmakeRequest("api/mit").then(function(data){add("color2","MIT",data,"query=MIT");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
94
-
awaitmakeRequest("api/today").then(function(data){add("color6","Today",data,"id=today");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
95
-
awaitmakeRequest("api/next").then(function(data){add("color7","Next",data,"id=anytime");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
90
+
awaitmakeRequest("api/backlog").then(function(data){add("color1","Backlog",data,"id=someday","tasks in someday projects");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
91
+
awaitmakeRequest("api/cleanup").then(function(data){add("color8","Grooming",data,"id=empty","empty projects, tasks with no parent, items with tag 'Cleanup'");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
92
+
awaitmakeRequest("api/upcoming").then(function(data){add("color5","Upcoming",data,"id=upcoming","scheduled tasks");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
93
+
awaitmakeRequest("api/waiting").then(function(data){add("color3","Waiting",data,"query=Waiting","tasks with the tag 'Waiting'");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
94
+
awaitmakeRequest("api/inbox").then(function(data){add("color4","Inbox",data,"id=inbox","tasks in the inbox");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
95
+
awaitmakeRequest("api/mit").then(function(data){add("color2","MIT",data,"query=MIT","most important tasks with the tag 'MIT'");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
96
+
awaitmakeRequest("api/today").then(function(data){add("color6","Today",data,"id=today","tasks for today");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
97
+
awaitmakeRequest("api/next").then(function(data){add("color7","Next",data,"id=anytime","anytime tasks that are not in today");}).catch(function(result){document.getElementById('loading').innerHTML='Error: '+(result.statusText||'no reply from database');})
0 commit comments