Added esc functionality to open windows, added 'n' keybind to create new tasks, fixed Accounts and settings page to allow for edits to be made as well as profile picture to be updated

This commit is contained in:
NPS Agent
2026-05-13 09:55:19 +09:30
parent cf3e4cfe41
commit abb6402f86
7 changed files with 135 additions and 30 deletions
+13
View File
@@ -168,6 +168,19 @@ class ApiService {
return data;
}
async getTaskNotes(taskId) {
return this.request(`/tasks/${taskId}/notes`);
}
async createTaskNote(taskId, body) {
const data = await this.request(`/tasks/${taskId}/notes`, {
method: 'POST',
body: JSON.stringify({ body }),
});
this.notify();
return data;
}
async addAudit(auditData) {
const data = await this.request('/audit', {
method: 'POST',