Skip to content

Commit

Permalink
update references (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsetterfield committed Aug 8, 2024
1 parent bcb751a commit 14dc97f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/pages/examiner-records/examiner-records.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),
);

Expand All @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/examiner-records/examiner-records.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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[] => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/providers/examiner-records/examiner-records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion src/store/journal/journal.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 14dc97f

Please sign in to comment.