This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/fineract-backoffice-ui.git
from cdda3d7 Merge pull request #439 from
apache/dependabot/github_actions/github/codeql-action/init-4.37.7
add 341b640 feat(config): customize branding, navigation and labels from
a deployment overlay
add d5c8a59 fix(branding): apply the deployment's dark palette, strings
and sign-in screen
add 98453d5 docs: note that branding covers the sign-in screen
add f852fcd fix(branding): keep a deployment's light colours out of the
dark palette
new 4dadd44 Merge pull request #437 from
Aman-Mittal/feat/deployment-customization-overlay
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/ci.yml | 14 +
.gitignore | 10 +
.rat-excludes | 6 +
DOCS/CUSTOMIZATION.md | 211 ++++++++++
DOCS/examples/branding-config.example.json | 57 +++
deploy/entrypoint.sh | 30 +-
deploy/nginx.conf.template | 26 ++
e2e/branded-deployment.spec.ts | 263 +++++++++++++
e2e/deployment-customization.spec.ts | 395 +++++++++++++++++++
e2e/rbac-feature-flag.spec.ts | 22 +-
package.json | 4 +
public/schema/config.schema.json | 200 ++++++++++
scripts/check-branding-path.mjs | 59 +++
scripts/check-nav-ids.mjs | 146 +++++++
scripts/check-reference-downstream.mjs | 201 ++++++++++
scripts/make-branding-demo.mjs | 109 ++++++
scripts/nav-ids.json | 140 +++++++
src/app/app.config.spec.ts | 23 +-
src/app/app.config.ts | 46 ++-
src/app/app.routes.ts | 12 +-
.../adapters/i18n/deployment-translate.loader.ts | 92 +++++
src/app/core/router/translated-title.strategy.ts | 9 +-
src/app/core/services/branding.service.ts | 430 +++++++++++++++++++++
src/app/core/services/config.service.spec.ts | 87 ++++-
src/app/core/services/config.service.ts | 199 ++++++++--
src/app/core/services/nav-composition.test.ts | 222 +++++++++++
src/app/core/services/nav-composition.ts | 302 +++++++++++++++
.../services/navigation-config.service.test.ts | 27 +-
src/app/core/services/navigation-config.service.ts | 254 +++++++++++-
src/app/features/login/login.component.ts | 31 +-
src/app/layout/header.component.ts | 33 +-
src/app/layout/sidebar.component.ts | 34 +-
src/assets/i18n/en.json | 3 +-
src/assets/i18n/hi.json | 3 +-
src/assets/i18n/ko.json | 3 +-
src/main.ts | 49 ++-
src/styles/_ionic-theme.scss | 16 +-
37 files changed, 3656 insertions(+), 112 deletions(-)
create mode 100644 DOCS/CUSTOMIZATION.md
create mode 100644 DOCS/examples/branding-config.example.json
create mode 100644 e2e/branded-deployment.spec.ts
create mode 100644 e2e/deployment-customization.spec.ts
create mode 100644 public/schema/config.schema.json
create mode 100644 scripts/check-branding-path.mjs
create mode 100644 scripts/check-nav-ids.mjs
create mode 100644 scripts/check-reference-downstream.mjs
create mode 100644 scripts/make-branding-demo.mjs
create mode 100644 scripts/nav-ids.json
create mode 100644 src/app/core/adapters/i18n/deployment-translate.loader.ts
create mode 100644 src/app/core/services/branding.service.ts
create mode 100644 src/app/core/services/nav-composition.test.ts
create mode 100644 src/app/core/services/nav-composition.ts