Skip to content

Commit

Permalink
ALCS-2175 Code review adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarreta committed Nov 14, 2024
1 parent 1feab58 commit 645d1ca
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
*ngIf="element.status"
[type]="element.status"
></app-application-submission-status-type-pill>
<div class="spinner-overlay" *ngIf="!element.status">
<mat-spinner></mat-spinner>
</div>
<app-spinner-status *ngIf="!element.status" />
</td>
</ng-container>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
.spinner-overlay {
z-index: 2;
opacity: 0.4;
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
*ngIf="element.status"
[type]="element.status"
></app-application-submission-status-type-pill>
<div class="spinner-overlay" *ngIf="!element.status">
<mat-spinner></mat-spinner>
</div>
<app-spinner-status *ngIf="!element.status" />
</td>
</ng-container>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
.spinner-overlay {
z-index: 2;
opacity: 0.4;
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
*ngIf="element.status"
[type]="element.status"
></app-application-submission-status-type-pill>
<div class="spinner-overlay" *ngIf="!element.status">
<mat-spinner></mat-spinner>
</div>
<app-spinner-status *ngIf="!element.status" />
</td>
</ng-container>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
.spinner-overlay {
z-index: 2;
opacity: 0.4;
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
}
2 changes: 2 additions & 0 deletions alcs-frontend/src/app/features/search/search.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { NotificationSearchTableComponent } from './notification-search-table/no
import { SearchComponent } from './search.component';
import { InquirySearchTableComponent } from './inquiry-search-table/inquiry-search-table.component';
import { MatChipsModule } from '@angular/material/chips';
import { SpinnerStatusComponent } from './spinner-status/spinner-status.component';

const routes: Routes = [
{
Expand All @@ -30,6 +31,7 @@ const routes: Routes = [
NotificationSearchTableComponent,
FileTypeFilterDropDownComponent,
InquirySearchTableComponent,
SpinnerStatusComponent,
],
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="spinner-container">
<mat-spinner class="spinner-overlay"></mat-spinner>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.spinner-container {
width: 25px;
height: 25px;
display: flex;
align-items: center;
justify-content: center;
}

.spinner-overlay {
z-index: 2;
opacity: 0.4;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-spinner-status',
templateUrl: './spinner-status.component.html',
styleUrls: ['./spinner-status.component.scss'],
})
export class SpinnerStatusComponent {}
6 changes: 3 additions & 3 deletions services/apps/alcs/src/alcs/search/search.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ApplicationSearchResultDto {
localGovernmentName?: string;
fileNumber: string;
boardCode?: string;
status?: string | null;
status?: string;
dateSubmitted?: number;
class: SearchEntityClass;
}
Expand All @@ -34,7 +34,7 @@ export class NoticeOfIntentSearchResultDto {
localGovernmentName?: string;
fileNumber: string;
boardCode?: string;
status?: string | null;
status?: string;
dateSubmitted?: number;
class: SearchEntityClass;
}
Expand All @@ -57,7 +57,7 @@ export class NotificationSearchResultDto {
localGovernmentName?: string;
fileNumber: string;
boardCode?: string;
status?: string | null;
status?: string;
dateSubmitted?: number;
class: SearchEntityClass;
}
Expand Down

0 comments on commit 645d1ca

Please sign in to comment.