From b78263a7339b03f0a38927e557f9c93b3ba8c4db Mon Sep 17 00:00:00 2001 From: lynnetteeee Date: Thu, 14 Nov 2024 02:42:41 +0800 Subject: [PATCH] Remove comments --- peer-prep-collab/src/models/question.model.ts | 4 +--- .../src/loading-screen/match-modal/match-modal.component.ts | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/peer-prep-collab/src/models/question.model.ts b/peer-prep-collab/src/models/question.model.ts index 3e455bce9c..832ebd1650 100644 --- a/peer-prep-collab/src/models/question.model.ts +++ b/peer-prep-collab/src/models/question.model.ts @@ -4,6 +4,4 @@ export interface Question { question_description: string; question_categories: string[]; question_complexity: string; -} -// defined to match json keys from questions service -// todo: figure out a better way to handle this (reminder: camelCase) \ No newline at end of file +} \ No newline at end of file diff --git a/peer-prep-fe/src/loading-screen/match-modal/match-modal.component.ts b/peer-prep-fe/src/loading-screen/match-modal/match-modal.component.ts index 5b0c135a66..713e91bed4 100644 --- a/peer-prep-fe/src/loading-screen/match-modal/match-modal.component.ts +++ b/peer-prep-fe/src/loading-screen/match-modal/match-modal.component.ts @@ -88,7 +88,6 @@ export class MatchModalComponent implements OnInit, OnDestroy { console.log('RESPONSE FROM FINDMATCH ', response); console.log('TIMEOUT FROM FINDMATCH ', response.timeout); - // TODO (in BE too): UI if matching process gets disrupted (e.g. rabbitmq server goes down) - avoid silent failures if (response.timeout) { this.clearFrontendTimeout(); this.handleMatchResponseUi(response); @@ -244,7 +243,6 @@ export class MatchModalComponent implements OnInit, OnDestroy { this.findMatch(); } - // TODO: HANDLE CANCEL MATCH - SYNC W MATCHING SVC BE PEEPS @KERVYN @IVAN async cancelMatch() { this.isVisible = false; await this.matchService.cancelMatchRequest(this.userData.user_id);