Skip to content

Commit

Permalink
Ng16 migration (#4104)
Browse files Browse the repository at this point in the history
* Updated ACA to Angular 16

* Updated Subject types to void in cases where no values was being emitted

* [ACS-8375] [ACA] [General] Selecting a checkbox gives a light green color on focus (#3937)

* [ACS-8376] [ACA] [[Manage Rules] Multiple UI issues in create rule dialog (#3943)

* [ACS-8378] Fixed inputs having fill styling throughout ACA (#3944)

* [ACS-8378] Mat form fields now have white background instead of grey

* [ACS-8378] Fixed issue where the background of the boolean mode control dropdown was appearing as white when in condition groups. Labels in create rules window are now black

* [ACS-8415] Sidenav labels are now grey (#3946)

* [ACS-8379] Fixed issue where icons in menus were coming as black after ng16 upgrade (#3935)

* refactor DI into inject() methods (#3954)

* Cleanup and remove unneeded commits and changes

* Fix eslint (#4032)

* [REVERTABLE] - this is a quick temp fix to be able to release ACA with NG16

* [MIGRATION] - added some fix after rebase

* Refactor AppEffects (#4079)

* Refactor effects to use inject() (#4080)

* Refactor effects to use inject() (#4081)

* Rebase fixes

* [ACS-8739] Fix e2e tests (#4106)

* Updated ADF deps

* Fixed unit passing mandatory value

* Updated ADF version

* Updated ADF version

* [ACS-8743] [ADW] click on search button open a blank page (#4125)

* Updating ADF dep

* Updating ADF

* Refactor injections in effects (#4137)

* Upstream dependencies

* Refactor SearchAiEffects

* Updating ADF and rebased

* Rebased and updated

* Rebased and updated

* Updating deps

* Updating deps

* Updating deps

* Rebased and updated deps

* Pushing package-lock.json

* Moved the JWT storage injection token at app level

* Updated dependencies

* Fixed unit test

* Improved solutio for token with no need to set it explicitly

* Updating dependencies

* Updated package version

* Updated ADF deps

* Use latest ADF

---------

Co-authored-by: swapnil.verma <[email protected]>
Co-authored-by: swapnil-verma-gl <[email protected]>
Co-authored-by: VitoAlbano <[email protected]>
Co-authored-by: Ehsan Rezaei <[email protected]>
Co-authored-by: MichalKinas <[email protected]>
  • Loading branch information
6 people authored Oct 23, 2024
1 parent e97fd97 commit 3fbdc93
Show file tree
Hide file tree
Showing 42 changed files with 7,852 additions and 8,983 deletions.
1 change: 1 addition & 0 deletions app/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"main": "app/src/main.ts",
"tsConfig": "app/tsconfig.app.json",
"polyfills": "app/src/polyfills.ts",
"preserveSymlinks": true,
"allowedCommonJsDependencies": ["minimatch", "cropperjs"],
"stylePreprocessorOptions": {
"includePaths": ["projects/aca-content/src/lib/ui", "node_modules", "node_modules/@alfresco/adf-core/lib"]
Expand Down
6 changes: 3 additions & 3 deletions app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { TRANSLATION_PROVIDER, CoreModule, AuthGuard, AuthModule } from '@alfresco/adf-core';
import { AuthGuard, AuthModule, CoreModule, TRANSLATION_PROVIDER } from '@alfresco/adf-core';
import { AppService } from '@alfresco/aca-shared';

import { AppExtensionsModule } from './extensions.module';
Expand All @@ -51,9 +51,9 @@ import localeSv from '@angular/common/locales/sv';
import { TranslateModule } from '@ngx-translate/core';
import { RouterModule } from '@angular/router';
import { AppComponent } from './app.components';
import { ContentUrlService, CONTENT_LAYOUT_ROUTES, ContentServiceExtensionModule, CoreExtensionsModule } from '@alfresco/aca-content';
import { CONTENT_LAYOUT_ROUTES, ContentServiceExtensionModule, ContentUrlService, CoreExtensionsModule } from '@alfresco/aca-content';
import { ContentVersionService } from '@alfresco/adf-content-services';
import { ShellModule, SHELL_APP_SERVICE, SHELL_AUTH_TOKEN } from '@alfresco/adf-core/shell';
import { SHELL_APP_SERVICE, SHELL_AUTH_TOKEN, ShellModule } from '@alfresco/adf-core/shell';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { APP_ROUTES } from './app.routes';
import { MatIconRegistry } from '@angular/material/icon';
Expand Down
28 changes: 14 additions & 14 deletions docs/tutorials/application-hook.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ export class MyComponent {

Below is the list of public hooks you can use in the plugin:

| Version | Name | Details | Description |
| ------- | ---------------------- | ---------------------------------------------| -----------------------------------------------------------------------------------|
| 2.2.2 | reload | n/a | Reloads the details in the current page. |
| 2.2.2 | reset | n/a | Resets the document list. |
| 2.2.2 | nodesDeleted | n/a | Notifies the node deleted. |
| 2.2.2 | libraryDeleted | n/a | Notifies the library deleted. |
| 2.2.2 | libraryCreated | SiteEntry | Notifies the library created. |
| 2.2.2 | libraryUpdated | SiteEntry | Notifies the library updated. |
| 2.2.2 | libraryJoined | string | Notifies user joined to library. |
| 2.2.2 | libraryLeft | n/a | Notifies user left to library. |
| 2.2.2 | library400Error | n/a | Notifies library errored operation. |
| 2.2.2 | joinLibraryToggle | string | Notifies user toggled join library. |
| 2.2.2 | linksUnshared | n/a | Notifies the shared link unshared. |
| 2.2.2 | favoriteLibraryToggle | n/a | Notifies user toggle favorite library. |
| Version | Name | Details | Description |
| ------- | ---------------------- |-----------| -----------------------------------------------------------------------------------|
| 2.2.2 | reload | n/a | Reloads the details in the current page. |
| 2.2.2 | reset | n/a | Resets the document list. |
| 2.2.2 | nodesDeleted | n/a | Notifies the node deleted. |
| 2.2.2 | libraryDeleted | n/a | Notifies the library deleted. |
| 2.2.2 | libraryCreated | SiteEntry | Notifies the library created. |
| 2.2.2 | libraryUpdated | SiteEntry | Notifies the library updated. |
| 2.2.2 | libraryJoined | n/a | Notifies user joined to library. |
| 2.2.2 | libraryLeft | n/a | Notifies user left to library. |
| 2.2.2 | library400Error | n/a | Notifies library errored operation. |
| 2.2.2 | joinLibraryToggle | n/a | Notifies user toggled join library. |
| 2.2.2 | linksUnshared | n/a | Notifies the shared link unshared. |
| 2.2.2 | favoriteLibraryToggle | n/a | Notifies user toggle favorite library. |
Loading

0 comments on commit 3fbdc93

Please sign in to comment.