From 5080b03c219e004ea726f949bcaa77c6441aed57 Mon Sep 17 00:00:00 2001 From: carolcarpenter <47428671+carolcarpenter@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:32:05 -0800 Subject: [PATCH] [FE] maintenance fixes (#1963) # Description This PR includes the following proposed change(s): - {List all the changes, if possible add the jira ticket #} --- .../ClientApp/angular.json | 22 ++++++++---------- ...controlling-member-app-invite-type-code.ts | 3 ++- .../maintenance/{src/html => }/favicon.ico | Bin .../{src/html => }/img/bc-gov-logo.png | Bin .../{src/html => }/img/contact.svg | 0 .../{src/html => }/img/gov_bc_logo.svg | 0 .../maintenance.html => spd-unavailable.html} | 0 7 files changed, 12 insertions(+), 13 deletions(-) rename src/Spd.Presentation.Licensing/ClientApp/src/maintenance/{src/html => }/favicon.ico (100%) rename src/Spd.Presentation.Licensing/ClientApp/src/maintenance/{src/html => }/img/bc-gov-logo.png (100%) rename src/Spd.Presentation.Licensing/ClientApp/src/maintenance/{src/html => }/img/contact.svg (100%) rename src/Spd.Presentation.Licensing/ClientApp/src/maintenance/{src/html => }/img/gov_bc_logo.svg (100%) rename src/Spd.Presentation.Licensing/ClientApp/src/maintenance/{src/html/maintenance.html => spd-unavailable.html} (100%) diff --git a/src/Spd.Presentation.Licensing/ClientApp/angular.json b/src/Spd.Presentation.Licensing/ClientApp/angular.json index 81a8db9bc..db123ace7 100644 --- a/src/Spd.Presentation.Licensing/ClientApp/angular.json +++ b/src/Spd.Presentation.Licensing/ClientApp/angular.json @@ -22,14 +22,14 @@ "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": { - "base": "dist", - "browser": "" - }, - "index": "src/index.html", + "base": "dist", + "browser": "" + }, + "index": "src/index.html", "polyfills": ["zone.js"], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", - "assets": ["src/favicon.ico", "src/assets"], + "assets": ["src/favicon.ico", "src/assets", "src/maintenance"], "styles": [ "node_modules/bootstrap/dist/css/bootstrap.min.css", "node_modules/ngx-spinner/animations/square-jelly-box.css", @@ -37,10 +37,8 @@ "src/scss/app.scss" ], "scripts": ["node_modules/jquery/dist/jquery.min.js", "node_modules/bootstrap/dist/js/bootstrap.min.js"], - "allowedCommonJsDependencies": [ - "moment" - ], - "browser": "src/main.ts" + "allowedCommonJsDependencies": ["moment"], + "browser": "src/main.ts" }, "configurations": { "production": { @@ -59,8 +57,8 @@ "outputHashing": "all", "baseHref": "/licensing/" }, - "development": { - "optimization": false, + "development": { + "optimization": false, "extractLicenses": false, "sourceMap": true, "namedChunks": true @@ -92,7 +90,7 @@ "polyfills": ["zone.js", "zone.js/testing"], "tsConfig": "tsconfig.spec.json", "inlineStyleLanguage": "scss", - "assets": ["src/favicon.ico", "src/assets"], + "assets": ["src/favicon.ico", "src/assets", "src/maintenance"], "styles": [ "node_modules/bootstrap/dist/css/bootstrap.min.css", "node_modules/ngx-spinner/animations/square-jelly-box.css", diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/app/api/models/controlling-member-app-invite-type-code.ts b/src/Spd.Presentation.Licensing/ClientApp/src/app/api/models/controlling-member-app-invite-type-code.ts index 1ead3f7f2..e376c0c59 100644 --- a/src/Spd.Presentation.Licensing/ClientApp/src/app/api/models/controlling-member-app-invite-type-code.ts +++ b/src/Spd.Presentation.Licensing/ClientApp/src/app/api/models/controlling-member-app-invite-type-code.ts @@ -4,5 +4,6 @@ export enum ControllingMemberAppInviteTypeCode { New = 'New', - Update = 'Update' + Update = 'Update', + CreateShellApp = 'CreateShellApp' } diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/favicon.ico b/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/favicon.ico similarity index 100% rename from src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/favicon.ico rename to src/Spd.Presentation.Licensing/ClientApp/src/maintenance/favicon.ico diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/bc-gov-logo.png b/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/bc-gov-logo.png similarity index 100% rename from src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/bc-gov-logo.png rename to src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/bc-gov-logo.png diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/contact.svg b/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/contact.svg similarity index 100% rename from src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/contact.svg rename to src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/contact.svg diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/gov_bc_logo.svg b/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/gov_bc_logo.svg similarity index 100% rename from src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/img/gov_bc_logo.svg rename to src/Spd.Presentation.Licensing/ClientApp/src/maintenance/img/gov_bc_logo.svg diff --git a/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/maintenance.html b/src/Spd.Presentation.Licensing/ClientApp/src/maintenance/spd-unavailable.html similarity index 100% rename from src/Spd.Presentation.Licensing/ClientApp/src/maintenance/src/html/maintenance.html rename to src/Spd.Presentation.Licensing/ClientApp/src/maintenance/spd-unavailable.html