mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
* AAE-40748 Various i18n and storage bug fixes * refactor: update NoopTranslateModule to use provideHttpClient and provideHttpClientTesting Replaced HttpClientTestingModule with provideHttpClient and provideHttpClientTesting for improved dependency injection in the NoopTranslateModule. * refactor: update FileUploadErrorPipe tests to use TestBed for dependency injection Replaced direct instantiation of FileUploadErrorPipe with TestBed configuration, utilizing NoopTranslateModule for improved testing practices. * test: enhance StorageService and UserPreferencesService tests for improved initialization logic Added tests for UserPreferencesService to verify locale and pagination initialization from storage and config. Updated StorageService tests to restore original localStorage after each test for better isolation. * refactor: simplify TranslationService by removing direct StorageService dependency
Alfresco Core Library
Contains a variety of components, directives and services used throughout ADF
Documentation
See the ADF Core section of the docs index for all available documentation on this library.
Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration, see this page.
If you plan using this component with projects generated by Angular CLI, please refer to the following article: Using ADF with Angular CLI
Install
npm install @alfresco/adf-core
Storybook
In case you would like to aggregate all the stories from core library use
nx run core:storybook
And navigate to http://localhost:4400/.
To create a Storybook core library build use
nx run core:build-storybook