-
Makhtar DIAGNE authored
* [TECH] Nginx add referential apps * [DLAB-4154] Improve the management of mongo scripts - Mutualize scripts between dev environment and deployment - Add versioning on scripts executed on a given environment * [DLAB-4154] Add Mitogen in order to improve performance (mongo deployment in local) * First step: Update main color + customer collection Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Get colors from serveur (mock) + apply color conversion and default/overriden values Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Get colors form application and AuthDTO + make specific colors (transparent, light, dark) Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Quick push Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Push for test Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * WIP themes colors Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Fix colors Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Export colors function in colors.util.ts Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Add Colors in graphical identity for Customer Creation Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Update create/view customer page + add edit colors for customers Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Add app logo configuration Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * Fix some features Signed-off-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> * [TECH] Fix frontend issues * [DLAB-4011] temp commit * [DLAB-4011] Fix initial values in color inputs * [DLAB-4011] create, update theme colors * [DLAB-4011] Color picker for theme inputs * [DLAB-4011] Fix custom graphic identity validation * [DLAB-4011] Fix inputs behavior and appearance * [Theme] Create primary & secondary variables * [DLAB-4011] Add custom theme to cas, identity and portal * Version upgrade to 1.0.2-SNAPSHOT * [DEVOPS] Fix unknown variable vitamui_services.x.dir.assets * [DEVOPS] Update scripts for deployment * [DEVOPS] Add README and update cleanup method for certificates * [DLAB-4011] Add IT scenario & primary-dark color * [DLAB-4011] Set dlab theme config * [DLAB-4011] Set dlab colors on cas, identity & portal * [TECH] FIX vitamui input component * [FIX DLAB-3306] Sort subrogations * [ELCA-27] Expose NavbarComponent and childs to permit customizing * [TECH] Frontend : Some cleaning & optimization optimisation * [TECH] Fix theme default logo * [TECH] Fix recette configuration * [TECH] Frontend Optimization * [TECH] Fix front tests * [TECH] Frontend Optimization (bis) * [FIX RABB-585] Add animation in progress bar * [FIX RABB-577] Add space above title * [FIX RABB-581] Fix VITAMUI_AUTHENTICATION Logbook code * [TECH] Fix console error on ICU comment Keys EXT_VITAMUI_AUTHENTIFICATION_USER and EXT_VITAMUI_AUTHENTIFICATION_OTP_USER defined in file event-tyoe-label.component.html are kept only for Legacy code and existing data * [RABB-626] Frontend Optimization : fix font * [FIX RABB-37] Accept Timeout parameter as Http header * [TECH] Frontend use assets from ui-frontend-common & update branding * [TECH] Nginx : Add favicon link * [TECH] UI Frontend rewrite links in SCSS files with base-ref, deploy-url * [TECH] Theme : getAsset, normalize path for security issues * [FIX RABB-664] Show secondary color instead of primary for valid-check password * [TECH] Frontend use assets from ui-frontend-common & update branding : fix tests * [FIX RABB-577] Add space below group profile pop-in title * [TECH] Remove default UI page title name * [DEVOPS] Update theme values in deployment * [TECH] Update package-lock files * [TECH] Rollback versions update * [TECH] Fix wrong URL * [TECH] First Fixes after review * Update typos in deployment/README.rst Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com> * [TECH] Fixes from PR review * [TECH] Changes in ui-referential for theme engine * [TECH] Strange fixes for ui-referential (why was it working) * [TECH] Fix PR review : display error message during colors validating * Update ui/ui-frontend/projects/identity/src/locale/messages.xlf Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com> * Update ui/ui-frontend/projects/identity/src/locale/messages.xlf Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com> * Update ui/ui-frontend/projects/identity/src/locale/messages.xlf Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com> * [TECH] Merge fixes * Revert [TECH] Strange fixes for ui-referential (why was it working) Co-authored-by:
Makhtar DIAGNE <makhtar.diagne@teamdlab.com> Co-authored-by:
Mathieu Leguay <mathieu.leguay@ouidou.fr> Co-authored-by:
BLANCHET Ludovic <ludovic.blanchet.ext@culture.gouv.fr> Co-authored-by:
Makhtar DIAGNE <makhtar.diagne@teamvitamui.com> Co-authored-by:
Maël AUDEON <mael.audeon@teamdlab.com> Co-authored-by:
Mathieu Leguay <mathieu.leguay@teamdlab.com> Co-authored-by:
Amine FILALI <amine.filali@xelians.fr> Co-authored-by:
CouzinieAtCines <62284459+CouzinieAtCines@users.noreply.github.com>
Unverified8aca1e4d
Angular Global info
This project was generated with Angular CLI version 8.3.3.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Common lib specific info
Usage
import variables with @import "~@vitamui/common/sass/variables"
(contain colors variables)
import mixins with @import "~@vitamui/common/sass/mixins"
(contain fonts mixins)
import theme with @import "~@vitamui/common/sass/theme"
Developing new features or fixing bugs in angular common
In order to test the modifications you made to the angular-commons library without publishing to the nexus repo, you can run npm run packagr:tar
to generate a ui-frontend-common-X.X.X.tgz
tarball.
You can now import your new ui-frontend-common
package in your application by running npm install ../ui-frontend-common/ui-frontend-common-X.X.X.tgz
(relative path from ui-frontend folder - path depends on where your app is located)
Once you've tested your library and everything works fine, you can publish the package (see below).
Package & Publish a new version
Run npm version X.X.X
or npm run version patch
Run npm run build
to build the package.
Run npm run packagr:tar
to build the package npm.
Run ./install_local.sh
to install the local package to ui-frontend.
Test your new version in all the apps and check that everything is okay. Make changes to the applications if necessary.
Run npm publish dist
to publish on the nexus repository.
Commit the changes to the ui-frontend-common
folder only then tag that commit like so git tag ui-frontend-commons@X.X.X
.
Run ./install_from_repo.sh <version>
to install your freshly published version from the nexus on the 4 apps.
Make another commit with the changes made to the apps as well as the incremented version number in the package.json
.
Push your commits and your tag.