From 14dc97f767ff82f8b9c36ae6b518f7dca7f4f66f Mon Sep 17 00:00:00 2001 From: andrewsetterfield <48550267+andrewsetterfield@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:34:29 +0100 Subject: [PATCH] update references (#1679) --- src/app/pages/examiner-records/examiner-records.actions.ts | 4 ++-- src/app/pages/examiner-records/examiner-records.effects.ts | 4 ++-- src/app/providers/examiner-records/examiner-records.ts | 2 +- src/store/journal/journal.effects.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/pages/examiner-records/examiner-records.actions.ts b/src/app/pages/examiner-records/examiner-records.actions.ts index 7fb8f65b0..111b30c52 100644 --- a/src/app/pages/examiner-records/examiner-records.actions.ts +++ b/src/app/pages/examiner-records/examiner-records.actions.ts @@ -27,7 +27,7 @@ export const TestCategoryChanged = createAction( ); export const GetExaminerRecords = createAction( - '[ExaminerRecordsPage] Call backend tests', + '[ExaminerRecordsPage] Get remote examiner records details', (staffNumber: string) => ({ staffNumber }), ); @@ -36,7 +36,7 @@ export const ClickDataCard = createAction( (onClickData: ExaminerReportsCardClick) => ({ onClickData }), ); export const CacheExaminerRecords = createAction( - '[ExaminerRecordsPage] Cache backend tests', + '[ExaminerRecordsPage] Cache remote examiner records details', (tests: ExaminerRecordModel[]) => ({ tests }), ); export const UpdateLastCached = createAction( diff --git a/src/app/pages/examiner-records/examiner-records.effects.ts b/src/app/pages/examiner-records/examiner-records.effects.ts index 9c3db8c6e..021395e32 100644 --- a/src/app/pages/examiner-records/examiner-records.effects.ts +++ b/src/app/pages/examiner-records/examiner-records.effects.ts @@ -34,7 +34,7 @@ export class ExaminerRecordsEffects { onlineExaminerRecordsCalled$ = createEffect(() => this.actions$.pipe( ofType(GetExaminerRecords), switchMap(({ staffNumber }) => { - //Get backend tests in the examiner records format + // Get remote data for examiner records return this.searchProvider.examinerRecordsSearch( staffNumber, ).pipe( @@ -46,7 +46,7 @@ export class ExaminerRecordsEffects { }), ); }), - //Remove blank properties from returned records + // Remove blank properties from returned records map((examinerHash: string) => (examinerHash ? this.compressionProvider.extract(examinerHash) : null) as ExaminerRecordModel[]), map((examinerRecords): ExaminerRecordModel[] => { diff --git a/src/app/providers/examiner-records/examiner-records.ts b/src/app/providers/examiner-records/examiner-records.ts index 11ac35bb4..e6dd15ca6 100644 --- a/src/app/providers/examiner-records/examiner-records.ts +++ b/src/app/providers/examiner-records/examiner-records.ts @@ -112,7 +112,7 @@ export class ExaminerRecordsProvider { } /** - * Handler for loading spinner while pulling backend data. + * Handler for loading spinner while pulling remote data. * * This method manages the UI state for a loading spinner based on the `isLoading` parameter. * It updates the `currentlyLoading` state and invokes the `handleUILoading` method of the `loadingProvider` diff --git a/src/store/journal/journal.effects.ts b/src/store/journal/journal.effects.ts index 3c3a760a6..a0e53d94a 100644 --- a/src/store/journal/journal.effects.ts +++ b/src/store/journal/journal.effects.ts @@ -247,7 +247,7 @@ export class JournalEffects { return of({ type: 'NO_ACTION' }); } - //Make a call to the backend service for the full test results for the tests we need to rehydrate + // Make a call to the test results service for the full test results for the tests we need to rehydrate return this.searchProvider.getTestResults( this.compressionProvider.compress({ applicationReferences: testsToRehydrate.map(value => value.appRef),