From cac4bf57f51cb86475f9c36986dabdf9e95419f9 Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Tue, 19 Sep 2023 11:26:33 +0200 Subject: [PATCH 1/4] chore: change the app name to `Caluma Portal Demo` --- ember/app/components/cases-table/template.hbs | 2 +- ember/config/environment.js | 2 +- ember/translations/en.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ember/app/components/cases-table/template.hbs b/ember/app/components/cases-table/template.hbs index 033a47d4..061d94b6 100644 --- a/ember/app/components/cases-table/template.hbs +++ b/ember/app/components/cases-table/template.hbs @@ -2,7 +2,7 @@ {{#if this.noCases}}

- {{t "documents.empty.welcome" appName="Building Permit Demo"}} + {{t "documents.empty.welcome" appName="Building Portal Demo"}}

Date: Tue, 19 Sep 2023 11:27:17 +0200 Subject: [PATCH 2/4] fix: disable fingerprinting the assets to fix caluma logo in production --- ember/ember-cli-build.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ember/ember-cli-build.js b/ember/ember-cli-build.js index 6a7899e5..bbbca31e 100644 --- a/ember/ember-cli-build.js +++ b/ember/ember-cli-build.js @@ -3,6 +3,9 @@ const EmberApp = require("ember-cli/lib/broccoli/ember-app"); module.exports = function (defaults) { + defaults.fingerprint = { + enabled: false, + }; const app = new EmberApp(defaults, { emberApolloClient: { keepGraphqlFileExtension: false, From 91fd64589a8303b55e6a28ae6717960fcff27eee Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Tue, 19 Sep 2023 11:28:19 +0200 Subject: [PATCH 3/4] chore: splite the logo from the navbar --- ember/app/application/template.hbs | 3 ++- ember/app/components/logo/template.hbs | 6 ++++++ ember/app/components/nav-bar/template.hbs | 8 -------- ember/app/styles/app.scss | 1 + ember/app/styles/components/_nav-bar.scss | 7 ++++++- ember/app/styles/components/logo.scss | 14 ++++++++++++++ 6 files changed, 29 insertions(+), 10 deletions(-) create mode 100644 ember/app/components/logo/template.hbs create mode 100644 ember/app/styles/components/logo.scss diff --git a/ember/app/application/template.hbs b/ember/app/application/template.hbs index 27f16358..c0f1a332 100644 --- a/ember/app/application/template.hbs +++ b/ember/app/application/template.hbs @@ -1,5 +1,6 @@

- + +
{{outlet}}
diff --git a/ember/app/components/logo/template.hbs b/ember/app/components/logo/template.hbs new file mode 100644 index 00000000..f2235362 --- /dev/null +++ b/ember/app/components/logo/template.hbs @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/ember/app/components/nav-bar/template.hbs b/ember/app/components/nav-bar/template.hbs index 20f66395..c3e42c53 100644 --- a/ember/app/components/nav-bar/template.hbs +++ b/ember/app/components/nav-bar/template.hbs @@ -1,12 +1,4 @@