Major overhaul to the Notes/Issues. Minor tweaks to the UI. Added Profile photos

This commit is contained in:
2026-02-19 06:30:57 +02:00
parent a9a1531d57
commit f09979c653
21 changed files with 988 additions and 308 deletions

View File

@@ -50,6 +50,15 @@ async def update_note(
return service.update_note(note_id, body)
@router.patch("/{note_id}/status", response_model=NoteInDB)
async def toggle_note_status(
note_id: str,
body: NoteUpdate,
_user: TokenPayload = Depends(require_permission("equipment", "edit")),
):
return service.update_note(note_id, body)
@router.delete("/{note_id}", status_code=204)
async def delete_note(
note_id: str,