Skip to content

Commit

Permalink
fix(admin): Handle no stats data, cleanup imports (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmeaders authored Nov 23, 2024
1 parent 02c7526 commit 77835fe
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 398 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "santasworkshop",
"version": "4.1.0",
"version": "4.1.1",
"author": "Joel Meaders",
"private": true,
"workspaces": [
Expand Down
18 changes: 0 additions & 18 deletions santashop-admin/src/app/pages/admin/admin.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,6 @@ import {
IonTabButton,
IonIcon,
IonLabel,
IonRouterLink,
IonContent,
IonRouterOutlet,
IonFooter,
IonToolbar,
IonTabBar,
IonTabButton,
IonIcon,
IonLabel,
IonRouterLink,
IonContent,
IonRouterOutlet,
IonFooter,
IonToolbar,
IonTabBar,
IonTabButton,
IonIcon,
IonLabel,
],
})
export class AdminPage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ import {
IonText,
IonButton,
IonRouterLink,
IonContent,
IonText,
IonButton,
IonRouterLink,
IonContent,
IonText,
IonButton,
],
})
export class ConfirmationPage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ import { IonContent, IonNote } from '@ionic/angular/standalone';
KeyValuePipe,
IonContent,
IonNote,
IonContent,
IonNote,
IonContent,
IonNote,
],
})
export class DuplicatePage {
Expand Down
20 changes: 0 additions & 20 deletions santashop-admin/src/app/pages/admin/checkin/review/review.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,26 +58,6 @@ import { HttpsCallableResult } from '@santashop/core';
IonText,
IonIcon,
IonButton,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonText,
IonIcon,
IonButton,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonText,
IonIcon,
IonButton,
],
})
export class ReviewPage {
Expand Down
10 changes: 0 additions & 10 deletions santashop-admin/src/app/pages/admin/checkin/scan/scan.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@ import { camera } from 'ionicons/icons';
IonIcon,
IonSelect,
IonSelectOption,
IonContent,
IonItem,
IonIcon,
IonSelect,
IonSelectOption,
IonContent,
IonItem,
IonIcon,
IonSelect,
IonSelectOption,
],
})
export class ScanPage {
Expand Down
12 changes: 0 additions & 12 deletions santashop-admin/src/app/pages/admin/landing/landing.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ import {
IonToggle,
IonRouterLink,
IonContent,
IonList,
IonListHeader,
IonItem,
IonIcon,
IonToggle,
IonRouterLink,
IonContent,
IonList,
IonListHeader,
IonItem,
IonIcon,
IonToggle,
],
})
export class LandingPage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,34 +88,6 @@ import { searchOutline, checkmarkCircle } from 'ionicons/icons';
IonText,
IonSelect,
IonSelectOption,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonInput,
IonCheckbox,
IonButton,
IonIcon,
IonText,
IonSelect,
IonSelectOption,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonInput,
IonCheckbox,
IonButton,
IonIcon,
IonText,
IonSelect,
IonSelectOption,
],
})
export class PreRegistrationPage implements OnDestroy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ import {
IonCheckbox,
IonButton,
IonIcon,
IonGrid,
IonRow,
IonCol,
} from '@ionic/angular/standalone';
import { BehaviorSubject } from 'rxjs';
import { Child, Registration } from '@santashop/models';
Expand Down Expand Up @@ -57,40 +54,6 @@ import { searchOutline, checkmarkCircle } from 'ionicons/icons';
IonCheckbox,
IonButton,
IonIcon,
IonContent,
IonGrid,
IonRow,
IonCol,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonInput,
IonCheckbox,
IonButton,
IonIcon,
IonContent,
IonGrid,
IonRow,
IonCol,
IonContent,
IonList,
IonListHeader,
IonNote,
IonItemDivider,
IonLabel,
IonItem,
IonInput,
IonCheckbox,
IonButton,
IonIcon,
IonContent,
IonGrid,
IonRow,
IonCol,
],
})
export class RegistrationPage {
Expand Down
22 changes: 0 additions & 22 deletions santashop-admin/src/app/pages/admin/search/by-code/by-code.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,6 @@ import {
IonInput,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonButton,
IonIcon,
],
})
export class ByCodePage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,6 @@ import {
IonInput,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonButton,
IonIcon,
],
})
export class ByEmailPage {
Expand Down
24 changes: 0 additions & 24 deletions santashop-admin/src/app/pages/admin/search/by-name/by-name.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,6 @@ import {
IonNote,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonNote,
IonButton,
IonIcon,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonLabel,
IonInput,
IonNote,
IonButton,
IonIcon,
],
})
export class ByNamePage {
Expand Down
24 changes: 0 additions & 24 deletions santashop-admin/src/app/pages/admin/search/results/results.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,6 @@ declare type SortFnType = (
IonItem,
IonLabel,
IonIcon,
IonRouterLink,
IonContent,
IonButton,
IonSpinner,
IonCardSubtitle,
IonCardHeader,
IonCardTitle,
IonChip,
IonList,
IonItem,
IonLabel,
IonIcon,
IonRouterLink,
IonContent,
IonButton,
IonSpinner,
IonCardSubtitle,
IonCardHeader,
IonCardTitle,
IonChip,
IonList,
IonItem,
IonLabel,
IonIcon,
],
})
export class ResultsPage {
Expand Down
14 changes: 0 additions & 14 deletions santashop-admin/src/app/pages/admin/search/search.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@ import {
IonCardSubtitle,
IonList,
IonItem,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
IonRouterLink,
IonContent,
IonCardHeader,
IonCardTitle,
IonCardSubtitle,
IonList,
IonItem,
],
})
export class SearchPage {}
Loading

0 comments on commit 77835fe

Please sign in to comment.