Files
alfresco-content-app/projects/aca-about
Denys Vuika 69cb107dd9 Angular 14 upgrade (#2598)
* angular 14

* material 14 and ADF 14

* latest ADF 5.x and theme import fixes

* use latest ADF 5.x

* update build command

* update travis command

* upgrade ngrx to v14

* upgrade flex layout lib

* fix after rebase

* fix after rebase

* upgrade to latest ADF
2022-08-25 12:05:00 +01:00
..
2022-08-09 18:39:25 +01:00
2022-08-09 18:39:25 +01:00
2022-08-25 12:05:00 +01:00

About Plugin for Alfresco Content App

Provides the "About" page for ACA and ACA-based apps.

Installing

Import the module into the application:

// src/app/extensions.module.ts

import { AcaAboutModule } from '@alfresco/aca-about';

@NgModule({
  imports: [
    // other modules
    AcaAboutModule
  ]
})
export class AcaAboutModule {}

Update the app.extensions.json extension configuration to enable extra routes and components:

{
  "actions": [
    {
      "id": "app.actions.about",
      "type": "NAVIGATE_URL",
      "payload": "/about"
    }
  ],

  "routes": [
    {
      "id": "app.about",
      "path": "about",
      "layout": "app.layout.main",
      "component": "app.about.component"
    }
  ],

  "features": {
    "header": [
      {
        "id": "app.header.more",
        "children": [
          {
            "id": "app.header.about",
            "order": 100,
            "title": "APP.BROWSE.ABOUT.TITLE",
            "description": "APP.BROWSE.ABOUT.TITLE",
            "icon": "info",
            "actions": {
              "click": "app.actions.about"
            }
          }
        ]
      }
    ]
  }
}

Alternatively, you can use the assets/about.plugin.json file.

Compile and distribute/run the application.