diff --git a/docs/README.md b/docs/README.md index c57ee1fbdb..31e453abb0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -80,6 +80,8 @@ for more information about installing and using the source code. | [Header component](core/header.component.md) ![Experimental](docassets/images/ExperimentalIcon.png) | Reusable header for Alfresco applications. | [Source](../lib/core/layout/components/header/header.component.ts) | | [Sidebar action menu component](core/sidebar-action-menu.component.md) | Displays a sidebar-action menu information panel. | [Source](../lib/core/layout/components/sidebar-action/sidebar-action-menu.component.ts) | | [Sidenav layout component](core/sidenav-layout.component.md) | Displays the standard three-region ADF application layout. | [Source](../lib/core/layout/components/sidenav-layout/sidenav-layout.component.ts) | +| [Login dialog panel component](core/login-dialog-panel.component.md) | Shows and manages a login dialog. | [Source](../lib/core/login/components/login-dialog-panel.component.ts) | +| [Login dialog component](core/login-dialog.component.md) | Allows a user to perform a login via a dialog. | [Source](../lib/core/login/components/login-dialog.component.ts) | | [Login component](core/login.component.md) | Authenticates to Alfresco Content Services and or Alfresco Process Services. | [Source](../lib/core/login/components/login.component.ts) | | [Infinite pagination component](core/infinite-pagination.component.md) | Adds "infinite" pagination to the component it is used with. | [Source](../lib/core/pagination/infinite-pagination.component.ts) | | [Pagination component](core/pagination.component.md) | Adds pagination to the component it is used with. | [Source](../lib/core/pagination/pagination.component.ts) | @@ -154,6 +156,7 @@ for more information about installing and using the source code. | [Favorites api service](core/favorites-api.service.md) | Gets a list of items a user has marked as their favorites. | [Source](../lib/core/services/favorites-api.service.ts) | | [Highlight transform service](core/highlight-transform.service.md) | Adds HTML to a string to highlight chosen sections. | [Source](../lib/core/services/highlight-transform.service.ts) | | [Log service](core/log.service.md) | Provides log functionality. | [Source](../lib/core/services/log.service.ts) | +| [Login dialog service](core/login-dialog.service.md) | Manages login dialogs. | [Source](../lib/core/services/login-dialog.service.ts) | | [Nodes api service](core/nodes-api.service.md) | Accesses and manipulates ACS document nodes using their node IDs. | [Source](../lib/core/services/nodes-api.service.ts) | | [Notification service](core/notification.service.md) | Shows a notification message with optional feedback. | [Source](../lib/core/services/notification.service.ts) | | [Page title service](core/page-title.service.md) | Sets the page title. | [Source](../lib/core/services/page-title.service.ts) | @@ -170,7 +173,6 @@ for more information about installing and using the source code. | [User preferences service](core/user-preferences.service.md) | Stores preferences for components. | [Source](../lib/core/services/user-preferences.service.ts) | | [Bpm user service](core/bpm-user.service.md) | Gets information about the current Process Services user. | [Source](../lib/core/userinfo/services/bpm-user.service.ts) | | [Ecm user service](core/ecm-user.service.md) | Gets information about a Content Services user. | [Source](../lib/core/userinfo/services/ecm-user.service.ts) | -| _View util service_ | _Not currently documented_ | [Source](../lib/core/viewer/services/view-util.service.ts) | ## Widgets @@ -185,7 +187,7 @@ for more information about installing and using the source code. | Name | Description | Source link | | ---- | ----------- | ----------- | | [Data Table Adapter interface](core/datatable-adapter.interface.md) | Defines how table data is supplied to DataTable and Tasklist components. | [Source](../lib/core/datatable/data/datatable-adapter.ts) | -| [Form Field Validator interface](core/form-field-validator.interface.md) | Defines how the input fields of [Form](../../lib/process-services/task-list/models/form.model.ts) and Task Details components are validated. | [Source](../lib/core/form/components/widgets/core/form-field-validator.ts) | +| [Form Field Validator interface](core/form-field-validator.interface.md) | Defines how the input fields of Form and Task Details components are validated. | [Source](../lib/core/form/components/widgets/core/form-field-validator.ts) | | [Search Configuration interface](core/search-configuration.interface.md) | Provides fine control of parameters to a search. | [Source](../lib/core/services/search-configuration.service.ts) | [(Back to Contents)](#contents) @@ -205,6 +207,7 @@ for more information about installing and using the source code. | ---- | ----------- | ----------- | | [Breadcrumb component](content-services/breadcrumb.component.md) | Indicates the current position within a navigation hierarchy. | [Source](../lib/content-services/breadcrumb/breadcrumb.component.ts) | | [Dropdown breadcrumb component](content-services/dropdown-breadcrumb.component.md) | Indicates the current position within a navigation hierarchy using a dropdown menu. | [Source](../lib/content-services/breadcrumb/dropdown-breadcrumb.component.ts) | +| [Content metadata component](content-services/content-metadata.component.md) | Displays and edits metadata related to a node. | [Source](../lib/content-services/content-metadata/components/content-metadata/content-metadata.component.ts) | | [Content metadata card component](content-services/content-metadata-card.component.md) | Displays and edits metadata related to a node. | [Source](../lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.ts) | | [Content node selector panel component](content-services/content-node-selector-panel.component.md) | Opens a Content Node Selector in its own dialog window. | [Source](../lib/content-services/content-node-selector/content-node-selector-panel.component.ts) | | [Content node selector component](content-services/content-node-selector.component.md) | Allows a user to select items from a Content Services repository. | [Source](../lib/content-services/content-node-selector/content-node-selector.component.ts) | @@ -245,7 +248,6 @@ for more information about installing and using the source code. | ---- | ----------- | ----------- | | [Node download directive](content-services/node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../lib/content-services/directives/node-download.directive.ts) | | [Node lock directive](content-services/node-lock.directive.md) | Locks a node. | [Source](../lib/content-services/directives/node-lock.directive.ts) | -| [Node share directive](content-services/node-share.directive.md) | Creates and manages public shared links for files. | [Source](../lib/content-services/directives/node-share.directive.ts) | | [Folder create directive](content-services/folder-create.directive.md) | Creates folders. | [Source](../lib/content-services/folder-directive/folder-create.directive.ts) | | [Folder edit directive](content-services/folder-edit.directive.md) | Allows folders to be edited. | [Source](../lib/content-services/folder-directive/folder-edit.directive.ts) | | [Inherited button directive](content-services/inherited-button.directive.md) | Update the current node by adding/removing the inherited permissions. | [Source](../lib/content-services/permission-manager/components/inherited-button.directive.ts) | @@ -280,7 +282,7 @@ for more information about installing and using the source code. | Name | Description | Source link | | ---- | ----------- | ----------- | -| [Search Widget interface](content-services/search-widget.interface.md) | Specifies required properties for [Search filter component](../content-services/search-filter.component.md) widgets. | [Source](../lib/content-services/search/search-widget.interface.ts) | +| [Search Widget interface](content-services/search-widget.interface.md) | Specifies required properties for Search filter component widgets. | [Source](../lib/content-services/search/search-widget.interface.ts) | [(Back to Contents)](#contents) diff --git a/docs/content-services/README.md b/docs/content-services/README.md index 5d24d54a67..57db1afbc1 100644 --- a/docs/content-services/README.md +++ b/docs/content-services/README.md @@ -13,6 +13,7 @@ for more information about installing and using the source code. | ---- | ----------- | ----------- | | [Breadcrumb component](breadcrumb.component.md) | Indicates the current position within a navigation hierarchy. | [Source](../../lib/content-services/breadcrumb/breadcrumb.component.ts) | | [Dropdown breadcrumb component](dropdown-breadcrumb.component.md) | Indicates the current position within a navigation hierarchy using a dropdown menu. | [Source](../../lib/content-services/breadcrumb/dropdown-breadcrumb.component.ts) | +| [Content metadata component](content-metadata.component.md) | Displays and edits metadata related to a node. | [Source](../../lib/content-services/content-metadata/components/content-metadata/content-metadata.component.ts) | | [Content metadata card component](content-metadata-card.component.md) | Displays and edits metadata related to a node. | [Source](../../lib/content-services/content-metadata/components/content-metadata-card/content-metadata-card.component.ts) | | [Content node selector panel component](content-node-selector-panel.component.md) | Opens a Content Node Selector in its own dialog window. | [Source](../../lib/content-services/content-node-selector/content-node-selector-panel.component.ts) | | [Content node selector component](content-node-selector.component.md) | Allows a user to select items from a Content Services repository. | [Source](../../lib/content-services/content-node-selector/content-node-selector.component.ts) | @@ -53,7 +54,6 @@ for more information about installing and using the source code. | ---- | ----------- | ----------- | | [Node download directive](node-download.directive.md) | Allows folders and/or files to be downloaded, with multiple nodes packed as a '.ZIP' archive. | [Source](../../lib/content-services/directives/node-download.directive.ts) | | [Node lock directive](node-lock.directive.md) | Locks a node. | [Source](../../lib/content-services/directives/node-lock.directive.ts) | -| [Node share directive](node-share.directive.md) | Creates and manages public shared links for files. | [Source](../../lib/content-services/directives/node-share.directive.ts) | | [Folder create directive](folder-create.directive.md) | Creates folders. | [Source](../../lib/content-services/folder-directive/folder-create.directive.ts) | | [Folder edit directive](folder-edit.directive.md) | Allows folders to be edited. | [Source](../../lib/content-services/folder-directive/folder-edit.directive.ts) | | [Inherited button directive](inherited-button.directive.md) | Update the current node by adding/removing the inherited permissions. | [Source](../../lib/content-services/permission-manager/components/inherited-button.directive.ts) | @@ -88,4 +88,4 @@ for more information about installing and using the source code. | Name | Description | Source link | | ---- | ----------- | ----------- | -| [Search Widget interface](search-widget.interface.md) | Specifies required properties for [Search filter component](../content-services/search-filter.component.md) widgets. | [Source](../../lib/content-services/search/search-widget.interface.ts) | +| [Search Widget interface](search-widget.interface.md) | Specifies required properties for Search filter component widgets. | [Source](../../lib/content-services/search/search-widget.interface.ts) | diff --git a/docs/core/README.md b/docs/core/README.md index 46c031d7d6..57e460c394 100644 --- a/docs/core/README.md +++ b/docs/core/README.md @@ -32,6 +32,8 @@ for more information about installing and using the source code. | [Header component](header.component.md) ![Experimental](../docassets/images/ExperimentalIcon.png) | Reusable header for Alfresco applications. | [Source](../../lib/core/layout/components/header/header.component.ts) | | [Sidebar action menu component](sidebar-action-menu.component.md) | Displays a sidebar-action menu information panel. | [Source](../../lib/core/layout/components/sidebar-action/sidebar-action-menu.component.ts) | | [Sidenav layout component](sidenav-layout.component.md) | Displays the standard three-region ADF application layout. | [Source](../../lib/core/layout/components/sidenav-layout/sidenav-layout.component.ts) | +| [Login dialog panel component](login-dialog-panel.component.md) | Shows and manages a login dialog. | [Source](../../lib/core/login/components/login-dialog-panel.component.ts) | +| [Login dialog component](login-dialog.component.md) | Allows a user to perform a login via a dialog. | [Source](../../lib/core/login/components/login-dialog.component.ts) | | [Login component](login.component.md) | Authenticates to Alfresco Content Services and or Alfresco Process Services. | [Source](../../lib/core/login/components/login.component.ts) | | [Infinite pagination component](infinite-pagination.component.md) | Adds "infinite" pagination to the component it is used with. | [Source](../../lib/core/pagination/infinite-pagination.component.ts) | | [Pagination component](pagination.component.md) | Adds pagination to the component it is used with. | [Source](../../lib/core/pagination/pagination.component.ts) | @@ -106,6 +108,7 @@ for more information about installing and using the source code. | [Favorites api service](favorites-api.service.md) | Gets a list of items a user has marked as their favorites. | [Source](../../lib/core/services/favorites-api.service.ts) | | [Highlight transform service](highlight-transform.service.md) | Adds HTML to a string to highlight chosen sections. | [Source](../../lib/core/services/highlight-transform.service.ts) | | [Log service](log.service.md) | Provides log functionality. | [Source](../../lib/core/services/log.service.ts) | +| [Login dialog service](login-dialog.service.md) | Manages login dialogs. | [Source](../../lib/core/services/login-dialog.service.ts) | | [Nodes api service](nodes-api.service.md) | Accesses and manipulates ACS document nodes using their node IDs. | [Source](../../lib/core/services/nodes-api.service.ts) | | [Notification service](notification.service.md) | Shows a notification message with optional feedback. | [Source](../../lib/core/services/notification.service.ts) | | [Page title service](page-title.service.md) | Sets the page title. | [Source](../../lib/core/services/page-title.service.ts) | diff --git a/docs/core/datatable.component.md b/docs/core/datatable.component.md index af670a8cc0..41a79128d9 100644 --- a/docs/core/datatable.component.md +++ b/docs/core/datatable.component.md @@ -250,7 +250,7 @@ You can add [Data column component](data-column.component.md) instances to defin table as described in the usage examples and the [Customizing columns](#customizing-columns) section. You can also supply a `` or an -[Empty list component](empty-list-component.md) sub-component to show when the table is empty: +[Empty list component](empty-list.component.md) sub-component to show when the table is empty: ```html diff --git a/docs/core/header.component.md b/docs/core/header.component.md index fcf6898f4f..79b80ac2e2 100644 --- a/docs/core/header.component.md +++ b/docs/core/header.component.md @@ -1,5 +1,5 @@ --- -Added: v2.4.0 +Added: v2.5.0 Status: Experimental Last reviewed: 2018-08-07 --- diff --git a/docs/core/login-dialog-panel.component.md b/docs/core/login-dialog-panel.component.md new file mode 100644 index 0000000000..430aac1136 --- /dev/null +++ b/docs/core/login-dialog-panel.component.md @@ -0,0 +1,26 @@ +--- +Added: v2.6.0 +Status: Active +Last reviewed: 2018-10-02 +--- + +# Login Dialog Panel component + +Shows and manages a login dialog. + +## Class members + +### Events + +| Name | Type | Description | +| ---- | ---- | ----------- | +| success | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<`[`LoginSuccessEvent`](../../lib/core/login/models/login-success.event.ts)`>` | Emitted when the login succeeds | + +## Details + +This component has similar features to the [Login Dialog component](../core/login-dialog.component.md) +but it also creates and manages the dialog for you. + +## See also + +- [Login Dialog component](../core/login-dialog.component.md) diff --git a/docs/core/login-dialog.component.md b/docs/core/login-dialog.component.md index 92fc12f6ce..9f8bc6be5b 100644 --- a/docs/core/login-dialog.component.md +++ b/docs/core/login-dialog.component.md @@ -1,20 +1,20 @@ --- -Added: v2.0.0 +Added: v2.6.0 Status: Active -Last reviewed: 2018-04-18 +Last reviewed: 2018-10-02 --- -# Content Node Selector component +# Login Dialog component Allows a user to perform a login via a dialog. ## Details -The [Login Dialog component](../core/login-dialog.component.md) allow you to perform a login via a dialog. +The [Login Dialog component](../core/login-dialog.component.md) allows you to perform a login via a dialog. ### Showing the dialog -Unlike most components, the Login Dialog Component is typically shown in a dialog box +Unlike most components, the [Login Dialog Component](../core/login-dialog.component.md) is typically shown in a dialog box rather than the main page and you are responsible for opening the dialog yourself. You can use the [Angular Material Dialog](https://material.angular.io/components/dialog/overview) for this, as shown in the usage example. ADF provides the [`LoginDialogComponentData`](../../lib/core/login/components/login-dialog-component-data.interface.ts) interface @@ -35,7 +35,7 @@ The properties are described in the table below: | ---- | ---- | ------------- | ----------- | | title | `string` | "" | Dialog title | | actionName | `string` | "" | Text to appear on the dialog's main action button ("Login", "Access", etc) | -| logged | [`EventEmitter`]| | Event emitted when the login succeeds. | +| logged | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`` | | Event emitted when the login succeeds. | If you don't want to manage the dialog yourself then it is easier to use the [Login Dialog Panel component](login-dialog-panel.component.md), or the @@ -52,7 +52,7 @@ import { Subject } from 'rxjs/Subject'; constructor(dialog: MatDialog ... ) {} -openSelectorDialog() { +openLoginDialog() { data: LoginDialogComponentData = { title: "Perform a Login", actionName: "Access", @@ -62,7 +62,7 @@ openSelectorDialog() { this.dialog.open( LoginDialogComponent, { - data, panelClass: 'adf-content-node-selector-dialog', + data, panelClass: 'adf-login-dialog', width: '630px' } ); @@ -82,3 +82,7 @@ openSelectorDialog() { All the results will be streamed to the logged [subject](http://reactivex.io/rxjs/manual/overview.html#subject) present in the [`LoginDialogComponentData`](../../lib/core/login/components/login-dialog-component-data.interface.ts) object passed to the dialog. When the dialog action is selected by clicking, the `data.logged` stream will be completed. + +## See also + +- [Login component](login.component.md) diff --git a/docs/core/login-dialog.service.md b/docs/core/login-dialog.service.md new file mode 100644 index 0000000000..c6a73357f7 --- /dev/null +++ b/docs/core/login-dialog.service.md @@ -0,0 +1,30 @@ +--- +Added: v2.6.0 +Status: Active +Last reviewed: 2018-10-02 +--- + +# Login Dialog service + +Manages login dialogs. + +## Methods + +- **openLogin**(actionName: `string`, title: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)``
+ Opens a login dialog. + - _actionName:_ `string` - Text to show in the main action button + - _title:_ `string` - Title for the login dialog + - **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`` - Confirmation of login from the dialog +- **close**(): ``
+ Closes the currently open login dialog. + +## Details + +Use the methods of this service to manage login dialogs from code. As an alternative, you may +find it easier to use the [Login dialog component](login-dialog.component.md) to display the +dialog directly from HTML. + +## See also + +- [Login dialog component](login-dialog.component.md) +- [Login component](login.component.md) diff --git a/docs/release-notes/RelNote161.md b/docs/release-notes/RelNote161.md index 6bbe1ce85f..2427ce1ae4 100644 --- a/docs/release-notes/RelNote161.md +++ b/docs/release-notes/RelNote161.md @@ -4,11 +4,37 @@ These release notes provide information for the **1.6.1 release** of Alfresco This is the next **Limited Available** release of Application Development Framework, containing the Angular components to build a Web Application on top of the Alfresco Services. The release can be found on GitHub at [this link.](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/1.6.1) +## Contents + +- [Goals for this release](#goals-for-this-release) +- [Notable new features](#notable-new-features) + - [1. Ability to convert in PDF the unsupported document](#1-ability-to-convert-in-pdf-the-unsupported-document) + - [2. Datatable loading state](#2-datatable-loading-state) + - [3. New extension support in viewer](#3-new-extension-support-in-viewer) + - [4. Extend TypeScript definitions for JS-API](#4-extend-typescript-definitions-for-js-api) + - [5. ADF Card View](#5-adf-card-view) + - [6. Task Header Component](#6-task-header-component) + - [7. Process and Task attachment list component](#7-process-and-task-attachment-list-component) + - [8. Add people Component](#8-add-people-component) + - [9. Breadcrumb root path personalisation](#9-breadcrumb-root-path-personalisation) + - [10. Form events bus](#10-form-events-bus) + - [11. Form render independent from APS](#11-form-render-independent-from-aps) + - [12. Application settings (server-side)](#12-application-settings-server-side) + - [13. Proxy settings and CORS](#13-proxy-settings-and-cors) + - [14. Login restyling](#14-login-restyling) +- [References](#references) +- [Issues addressed](#issues-addressed) +- [Feature](#feature) +- [Story](#story) +- [Bug](#bug) +- [Task](#task) +- [Documentation](#documentation) + ## Goals for this release The roadmap for ADF is taking form, and we have a high focus on bringing in engaging design and UX, as well as add more and more content capabilities into ADF. -Our focus while developing ADF 1.6.1 has been improving the Document List, Improved Preview, Finalize the design of the Login component, External configuration, Performance enhancements for development, improvements in forms as well as paving the way for editing metadata and using forms for content. +Our focus while developing ADF 1.6.1 has been improving the Document List, Improved Preview, Finalize the design of the [Login component,](../core/login.component.md) External configuration, Performance enhancements for development, improvements in forms as well as paving the way for editing metadata and using forms for content. This release builds on last month's contains bug fixes and new feature. See the list below for major details. @@ -23,12 +49,12 @@ Below the most relevant features of this release. - New extension support in viewer - Extend TypeScript definitions for JS-API - ADF Card View -- Task Header Component -- Process and Task attachment list component -- Add people Component +- [Task Header Component](../process-services/task-header.component.md) +- Process and [Task attachment list component](../process-services/task-attachment-list.component.md) +- Add [people Component](../process-services/people.component.md) - Breadcrumb root path personalisation -- Form events bus -- Form render independent from APS +- [`Form`](../../lib/process-services/task-list/models/form.model.ts) events bus +- [`Form`](../../lib/process-services/task-list/models/form.model.ts) render independent from APS - Application settings (server-side) - Proxy settings and CORS - Login restyling @@ -37,30 +63,28 @@ Below the most relevant features of this release. ![](images/Screen+Shot+2017-06-29+at+00.12.55.png) -*The ng2-alfresco-viewer if the renditions service can convert the unsupported document in PDF will show a pop up with the double possibility to Download the file or convert it to PDF.* +_The ng2-alfresco-viewer if the [renditions service](../core/renditions.service.md) can convert the unsupported document in PDF will show a pop up with the double possibility to Download the file or convert it to PDF._ ### 2. Datatable loading state Is now possible define your custom loading template that will be shown during the loading of your data in the datatable: -``` - + -        -            -               -                -                -            -        +         +             +                +                 +                 +             +         - -``` + ![](images/Jun-29-2017+11-34-06.gif) @@ -80,31 +104,27 @@ We have added more methods in the type definition file of the alfresco-js-api to The ADF Card is a generic component, which shows the properties received in input as a material design card.  The main idea was to create a component that can be shared among different components. -``` - - -``` + + The properties are an array of CardViewModel -``` -export class CardViewModel { -    label: string; -    value: any; -    key: any; -    format: string; -    default: string; + export class CardViewModel { +     label: string; +     value: any; +     key: any; +     format: string; +     default: string; -    constructor(obj?: any) { -        this.label = obj.label || ''; -        this.value = obj.value; -        this.key = obj.key; -        this.format = obj.format; -        this.default = obj.default; -    } -} -``` +     constructor(obj?: any) { +         this.label = obj.label || ''; +         this.value = obj.value; +         this.key = obj.key; +         this.format = obj.format; +         this.default = obj.default; +     } + } As properties you can set the label, the value and other optional fields, such as the format and the default values. Specifically, the **format** propriety is useful to show a value in a custom format, for example, the date in DD/MM/YYYY or MM/DD/YYYY @@ -115,13 +135,11 @@ The **default** values allow initializing some properties as defined, in case t This component was already present in the previous ADF versions but we changed the design and the code using the ADF Card Component. The Task Header shows all the information related to the task. -``` -
-   
-        -   
-
-``` +
+    
+         +    
+
Result: @@ -129,22 +147,20 @@ Result: ### 7. Process and Task attachment list component -This component shows all the attachments added to a task/process as a list. The component is using the data table component to show the list and the context menu with the actions. At the moment, you can open the attachment doing the double click on the row or select the action view from the menu actions. There is also the ability to download the attachment or remove it. +This component shows all the attachments added to a task/process as a list. The component is using the [data table component](../../lib/core/datatable/components/datatable/datatable.component.ts) to show the list and the context menu with the actions. At the moment, you can open the attachment doing the double click on the row or select the action view from the menu actions. There is also the ability to download the attachment or remove it. -``` - -    -        -        -        -    - -``` + +     +         +         +         +     + Result: @@ -154,43 +170,40 @@ Result: This component was already present in the previous ADF versions but we changed the design and improve the code. -With this component, you can easily involve a person into a task. The component itself is composed of two different component, the search component, the people list component. +With this component, you can easily involve a person into a task. The component itself is composed of two different component, the [search component,](../content-services/search.component.md) the [people list component](../process-services/people-list.component.md). -The search component has the goal to find a person not involved and show the results in a list. The list is always a data table component with the action menu disabled. +The [search component](../content-services/search.component.md) has the goal to find a person not involved and show the results in a list. The list is always a [data table component](../../lib/core/datatable/components/datatable/datatable.component.ts) with the action menu disabled. -The people list component shows all the people involved in a task in a list. +The [people list component](../process-services/people-list.component.md) shows all the people involved in a task in a list. The component is a wrapper of the data-table component with a custom action i.e. Remove the person from the list. -``` -
-    -        -
-
-   -      -        -          -           
{{getInitialUserName(entry.row.obj.firstName, entry.row.obj.lastName)}}
-         
-       
-        -          -           
{{ getDisplayUser(entry.row.obj.firstName, entry.row.obj.lastName, ' ') }}
-           
{{ entry.row.obj.email }}
-           
can edit
-         
-       
-     
-  
-
- -``` +
+     +         +
+
+    +       +         +           +            
{{getInitialUserName(entry.row.obj.firstName, entry.row.obj.lastName)}}
+          
+        
+         +           +            
{{ getDisplayUser(entry.row.obj.firstName, entry.row.obj.lastName, ' ') }}
+            
{{ entry.row.obj.email }}
+            
can edit
+          
+        
+      
+   
+
Add people search person result: @@ -210,13 +223,11 @@ The new property is **root**. You can specify in the root property the name of Example: -``` - - -``` + + Result: @@ -228,70 +239,60 @@ Refer to the [document list documentation](https://github.com/Alfresco/alfresco ### 10. Form events bus -If you want to listen to all the events fired from the form you can subscribe to this Subject: +If you want to listen to all the events fired from the form you can subscribe to this [`Subject`](http://reactivex.io/documentation/subject.html): -``` -formService.formEvents.subscribe((event: Event) => { -  console.log('Event fired:' + event.type); -  console.log('Event Target:' + event.target); -}); -``` + formService.formEvents.subscribe((event: Event) => { +   console.log('Event fired:' + event.type); +   console.log('Event Target:' + event.target); + }); Refer to the [form documentation](https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-activiti-form#listen-all-form-events) for further details. ### 11. Form render independent from APS -The 1.6.1 release lays a foundation for making a Form renderer independent from the backend and APS services to allow more granular control of how it works and where takes/stores its data. +The 1.6.1 release lays a foundation for making a [`Form`](../../lib/process-services/task-list/models/form.model.ts) renderer independent from the backend and APS services to allow more granular control of how it works and where takes/stores its data. #### Binding "form" definition With this release, it is now possible to bind a form definition via the "form" property. -``` - - -``` + + And the underlying component controller code can be as follows: -``` -export class FormDemoComponent implements OnInit { + export class FormDemoComponent implements OnInit { -  form: FormModel; +   form: FormModel; -  ngOnInit() { -    let formDefinitionJSON: any = DemoForm.getDefinition(); -    let form = this.formService.parseForm(formDefinitionJSON); -    this.form = form; -  } -} -``` +   ngOnInit() { +     let formDefinitionJSON: any = DemoForm.getDefinition(); +     let form = this.formService.parseForm(formDefinitionJSON); +     this.form = form; +   } + } #### Parsing form definitions -The FormService got a new API to parse form definitions from JSON into the FormModel instances without using Form Component like it was previously. +The [`FormService`](../core/form.service.md) got a new API to parse form definitions from JSON into the [`FormModel`](../../lib/core/form/components/widgets/core/form.model.ts) instances without using [`Form`](../../lib/process-services/task-list/models/form.model.ts) Component like it was previously. -``` -formService.parseForm(formDefinitionJSON) -``` + formService.parseForm(formDefinitionJSON) #### Controlling outcome actions -It is now possible to control what happens when end users click the form outcome buttons, like Save, Complete, etc. The FormService gets a new cancellable event called "executeOutcome" for that purpose. +It is now possible to control what happens when end users click the form outcome buttons, like Save, Complete, etc. The [`FormService`](../core/form.service.md) gets a new cancellable event called "executeOutcome" for that purpose. -``` -export class FormDemoComponent implements OnInit { + export class FormDemoComponent implements OnInit { -  constructor(private formService: FormService) { -    formService.executeOutcome.subscribe(e => { -      e.preventDefault(); -      console.log(e.outcome); -    }); -  } +   constructor(private formService: FormService) { +     formService.executeOutcome.subscribe(e => { +       e.preventDefault(); +       console.log(e.outcome); +     }); +   } -} -``` + } ### 12. Application settings (server-side) @@ -299,27 +300,27 @@ It is now possible to have global (server-side) settings that enable or disable By default, all application settings are stored in the "app.config.json" file in the root of your web application and have the following defaults: -``` -{ -    "ecmHost": "http://localhost:3000/ecm", -    "bpmHost": "http://localhost:3000/bpm", -    "application": { -        "name": "Alfresco" -    } -} -``` + { +     "ecmHost": "http://localhost:3000/ecm", +     "bpmHost": "http://localhost:3000/bpm", +     "application": { +         "name": "Alfresco" +     } + } You can get more details on application configuration in the following articles: -- [Demo App Readme](https://github.com/Alfresco/alfresco-ng2-components/blob/development/demo-shell-ng2/README.md#application-settings-server-side) -- [AppConfigService Readme](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-alfresco-core#appconfigservice) + +- [Demo App Readme](https://github.com/Alfresco/alfresco-ng2-components/blob/development/demo-shell-ng2/README.md#application-settings-server-side) +- [AppConfigService Readme](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-alfresco-core#appconfigservice) ### 13. Proxy settings and CORS To greatly simplify development process the demo and generated applications now feature Proxy settings for webpack development server. That allows using ACS/APS services without any CORS configurations. You get the following settings by default (also applied to the Application settings) -- [http://localhost:3000/ecm](http://localhost:3000/ecm) is mapped to [http://localhost:8080](http://localhost:8080) -- [http://localhost:3000/bpm](http://localhost:3000/bpm) is mapped to [http://localhost:9999](http://localhost:9999) + +-  is mapped to +-  is mapped to ### 14. Login restyling @@ -357,84 +358,84 @@ Below you can find a detailed list of tickets addressed in the new release. Fo ## Feature -- [[ADF-510](https://issues.alfresco.com/jira/browse/ADF-510)] - Drag and Drop should detect if user has permission to upload -- [[ADF-524](https://issues.alfresco.com/jira/browse/ADF-524)] - Datatable loading state -- [[ADF-573](https://issues.alfresco.com/jira/browse/ADF-573)] - Allow disabling drag and drop upload based on condition -- [[ADF-613](https://issues.alfresco.com/jira/browse/ADF-613)] - Support for Plain Text files in Viewer -- [[ADF-622](https://issues.alfresco.com/jira/browse/ADF-622)] - Extend TypeScript definitions for JS-API -- [[ADF-631](https://issues.alfresco.com/jira/browse/ADF-631)] - Viewer - Should play also the mp3 file -- [[ADF-667](https://issues.alfresco.com/jira/browse/ADF-667)] - It should be possible to disable row selection in Document List -- [[ADF-710](https://issues.alfresco.com/jira/browse/ADF-710)] - Create a Process Attachment List component -- [[ADF-712](https://issues.alfresco.com/jira/browse/ADF-712)] - Task Attachment - Provide a way to attach a new content -- [[ADF-713](https://issues.alfresco.com/jira/browse/ADF-713)] - Process Attachment - Provide a way to attach a new content -- [[ADF-793](https://issues.alfresco.com/jira/browse/ADF-793)] - Convert to PDF the document that the renditions service provide -- [[ADF-804](https://issues.alfresco.com/jira/browse/ADF-804)] - Add proxy configuration in demo shell -- [[ADF-843](https://issues.alfresco.com/jira/browse/ADF-843)] - Form events bus -- [[ADF-845](https://issues.alfresco.com/jira/browse/ADF-845)] - Breadcrumb path personalisation -- [[ADF-847](https://issues.alfresco.com/jira/browse/ADF-847)] - Use application settings file instead of local storage for server URLs +- \[[ADF-510](https://issues.alfresco.com/jira/browse/ADF-510)] - Drag and Drop should detect if user has permission to upload +- \[[ADF-524](https://issues.alfresco.com/jira/browse/ADF-524)] - Datatable loading state +- \[[ADF-573](https://issues.alfresco.com/jira/browse/ADF-573)] - Allow disabling drag and drop upload based on condition +- \[[ADF-613](https://issues.alfresco.com/jira/browse/ADF-613)] - Support for Plain Text files in Viewer +- \[[ADF-622](https://issues.alfresco.com/jira/browse/ADF-622)] - Extend TypeScript definitions for JS-API +- \[[ADF-631](https://issues.alfresco.com/jira/browse/ADF-631)] - Viewer - Should play also the mp3 file +- \[[ADF-667](https://issues.alfresco.com/jira/browse/ADF-667)] - It should be possible to disable row selection in Document List +- \[[ADF-710](https://issues.alfresco.com/jira/browse/ADF-710)] - Create a [Process Attachment List component](../process-services/process-attachment-list.component.md) +- \[[ADF-712](https://issues.alfresco.com/jira/browse/ADF-712)] - Task Attachment - Provide a way to attach a new content +- \[[ADF-713](https://issues.alfresco.com/jira/browse/ADF-713)] - Process Attachment - Provide a way to attach a new content +- \[[ADF-793](https://issues.alfresco.com/jira/browse/ADF-793)] - Convert to PDF the document that the [renditions service](../core/renditions.service.md) provide +- \[[ADF-804](https://issues.alfresco.com/jira/browse/ADF-804)] - Add proxy configuration in demo shell +- \[[ADF-843](https://issues.alfresco.com/jira/browse/ADF-843)] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) events bus +- \[[ADF-845](https://issues.alfresco.com/jira/browse/ADF-845)] - Breadcrumb path personalisation +- \[[ADF-847](https://issues.alfresco.com/jira/browse/ADF-847)] - Use application settings file instead of local storage for server URLs ## Story -- [[ADF-850](https://issues.alfresco.com/jira/browse/ADF-850)] - Provide ability to use Forms Renderer without APS -- [[ADF-851](https://issues.alfresco.com/jira/browse/ADF-851)] - Provide ability to intercept form outcome button clicks +- \[[ADF-850](https://issues.alfresco.com/jira/browse/ADF-850)] - Provide ability to use Forms Renderer without APS +- \[[ADF-851](https://issues.alfresco.com/jira/browse/ADF-851)] - Provide ability to intercept form outcome button clicks ## Bug -- [[ADF-242](https://issues.alfresco.com/jira/browse/ADF-242)] - When deleting a report the content remains on screen. - 1616 Github -- [[ADF-247](https://issues.alfresco.com/jira/browse/ADF-247)] - 'Process definition overview' displays wrong number of 'Total number of process instances' when choosing 'Active' or 'Complete' - 1621 Github -- [[ADF-525](https://issues.alfresco.com/jira/browse/ADF-525)] - Analytics report - Delete report -- [[ADF-571](https://issues.alfresco.com/jira/browse/ADF-571)] - File upload that is in progress is not stopped with the Cancel button -- [[ADF-603](https://issues.alfresco.com/jira/browse/ADF-603)] - Blank page after running the demo of a component - 1870 Github -- [[ADF-610](https://issues.alfresco.com/jira/browse/ADF-610)] - Upload button and DnD area should not upload hidden files and folders -- [[ADF-621](https://issues.alfresco.com/jira/browse/ADF-621)] - Document List draws drop areas on Files -- [[ADF-640](https://issues.alfresco.com/jira/browse/ADF-640)] - After uploading folder with DnD document list does not reload -- [[ADF-643](https://issues.alfresco.com/jira/browse/ADF-643)] - Upload has performance problems -- [[ADF-680](https://issues.alfresco.com/jira/browse/ADF-680)] - DocumentList is displayed as empty if you delete all files and folders in the last page available. -- [[ADF-684](https://issues.alfresco.com/jira/browse/ADF-684)] - Cannot delete an attachment -- [[ADF-686](https://issues.alfresco.com/jira/browse/ADF-686)] - Cannot download a file -- [[ADF-687](https://issues.alfresco.com/jira/browse/ADF-687)] - 'Attachments' header remains after completing a task -- [[ADF-690](https://issues.alfresco.com/jira/browse/ADF-690)] - Upload drag area aborts all files after snackbar expires -- [[ADF-696](https://issues.alfresco.com/jira/browse/ADF-696)] - Entire accordion group header should be clickable -- [[ADF-702](https://issues.alfresco.com/jira/browse/ADF-702)] - Task/Process Filter - Provide a way to change the default filter -- [[ADF-706](https://issues.alfresco.com/jira/browse/ADF-706)] - Cannot tab into a checkbox on a form -- [[ADF-707](https://issues.alfresco.com/jira/browse/ADF-707)] - Cannot tab into a dynamic table row -- [[ADF-709](https://issues.alfresco.com/jira/browse/ADF-709)] - After creating a dynamic table row tab index starts from top of page -- [[ADF-717](https://issues.alfresco.com/jira/browse/ADF-717)] - Multiple NPM errors during the build -- [[ADF-721](https://issues.alfresco.com/jira/browse/ADF-721)] - Translation problem - dev enviroment -- [[ADF-723](https://issues.alfresco.com/jira/browse/ADF-723)] - 'Upload File' isn't working. -- [[ADF-725](https://issues.alfresco.com/jira/browse/ADF-725)] - Upload dialog does not indicate aborted/rejected files -- [[ADF-737](https://issues.alfresco.com/jira/browse/ADF-737)] - Analytics report - Should expose the Models -- [[ADF-739](https://issues.alfresco.com/jira/browse/ADF-739)] - Viewer within tasks and processes does not display all supported file extensions. -- [[ADF-759](https://issues.alfresco.com/jira/browse/ADF-759)] - Cannot use script.sh with node 8.0.0 and npm 5.0. -- [[ADF-765](https://issues.alfresco.com/jira/browse/ADF-765)] - Rating Component is not working. -- [[ADF-766](https://issues.alfresco.com/jira/browse/ADF-766)] - "Remove" file option within the Attachment list is not working. -- [[ADF-779](https://issues.alfresco.com/jira/browse/ADF-779)] - Broken thumbnails are displayed in Processes Attachment list. -- [[ADF-781](https://issues.alfresco.com/jira/browse/ADF-781)] - Folder content is not uploaded if a folder with the same name already exists -- [[ADF-782](https://issues.alfresco.com/jira/browse/ADF-782)] - It is not possible to upload a Folder by dropping on another Folder in Document List -- [[ADF-794](https://issues.alfresco.com/jira/browse/ADF-794)] - Add people assignment component -- [[ADF-797](https://issues.alfresco.com/jira/browse/ADF-797)] - Published components have wrong content -- [[ADF-802](https://issues.alfresco.com/jira/browse/ADF-802)] - 'Attach Document' and DnD in Attachment List are not working -- [[ADF-810](https://issues.alfresco.com/jira/browse/ADF-810)] - Radio button list is selecting the first value behind the scenes when nothing is selected - 1963 Github -- [[ADF-833](https://issues.alfresco.com/jira/browse/ADF-833)] - Data table - single and double click -- [[ADF-842](https://issues.alfresco.com/jira/browse/ADF-842)] - Error is received in console log when a form is completed -- [[ADF-883](https://issues.alfresco.com/jira/browse/ADF-883)] - UserInfo - Build errors -- [[ADF-884](https://issues.alfresco.com/jira/browse/ADF-884)] - FormComponent - Compilation error -- [[ADF-893](https://issues.alfresco.com/jira/browse/ADF-893)] - Create Attachment Task/Process - Compilation error -- [[ADF-897](https://issues.alfresco.com/jira/browse/ADF-897)] - ActivitiPeopleList - use the prexif adf -- [[ADF-906](https://issues.alfresco.com/jira/browse/ADF-906)] - data property on activiti-form component do not react on changes - 2007 Github -- [[ADF-930](https://issues.alfresco.com/jira/browse/ADF-930)] - Not able to attach a file into Attachment List. +- \[[ADF-242](https://issues.alfresco.com/jira/browse/ADF-242)] - When deleting a report the content remains on screen. - 1616 Github +- \[[ADF-247](https://issues.alfresco.com/jira/browse/ADF-247)] - 'Process definition overview' displays wrong number of 'Total number of process instances' when choosing 'Active' or 'Complete' - 1621 Github +- \[[ADF-525](https://issues.alfresco.com/jira/browse/ADF-525)] - Analytics report - Delete report +- \[[ADF-571](https://issues.alfresco.com/jira/browse/ADF-571)] - File upload that is in progress is not stopped with the Cancel button +- \[[ADF-603](https://issues.alfresco.com/jira/browse/ADF-603)] - Blank page after running the demo of a component - 1870 Github +- \[[ADF-610](https://issues.alfresco.com/jira/browse/ADF-610)] - Upload button and DnD area should not upload hidden files and folders +- \[[ADF-621](https://issues.alfresco.com/jira/browse/ADF-621)] - Document List draws drop areas on Files +- \[[ADF-640](https://issues.alfresco.com/jira/browse/ADF-640)] - After uploading folder with DnD document list does not reload +- \[[ADF-643](https://issues.alfresco.com/jira/browse/ADF-643)] - Upload has performance problems +- \[[ADF-680](https://issues.alfresco.com/jira/browse/ADF-680)] - DocumentList is displayed as empty if you delete all files and folders in the last page available. +- \[[ADF-684](https://issues.alfresco.com/jira/browse/ADF-684)] - Cannot delete an attachment +- \[[ADF-686](https://issues.alfresco.com/jira/browse/ADF-686)] - Cannot download a file +- \[[ADF-687](https://issues.alfresco.com/jira/browse/ADF-687)] - 'Attachments' header remains after completing a task +- \[[ADF-690](https://issues.alfresco.com/jira/browse/ADF-690)] - Upload drag area aborts all files after snackbar expires +- \[[ADF-696](https://issues.alfresco.com/jira/browse/ADF-696)] - Entire accordion group header should be clickable +- \[[ADF-702](https://issues.alfresco.com/jira/browse/ADF-702)] - Task/Process Filter - Provide a way to change the default filter +- \[[ADF-706](https://issues.alfresco.com/jira/browse/ADF-706)] - Cannot tab into a checkbox on a form +- \[[ADF-707](https://issues.alfresco.com/jira/browse/ADF-707)] - Cannot tab into a dynamic table row +- \[[ADF-709](https://issues.alfresco.com/jira/browse/ADF-709)] - After creating a dynamic table row tab index starts from top of page +- \[[ADF-717](https://issues.alfresco.com/jira/browse/ADF-717)] - Multiple NPM errors during the build +- \[[ADF-721](https://issues.alfresco.com/jira/browse/ADF-721)] - Translation problem - dev enviroment +- \[[ADF-723](https://issues.alfresco.com/jira/browse/ADF-723)] - 'Upload File' isn't working. +- \[[ADF-725](https://issues.alfresco.com/jira/browse/ADF-725)] - Upload dialog does not indicate aborted/rejected files +- \[[ADF-737](https://issues.alfresco.com/jira/browse/ADF-737)] - Analytics report - Should expose the Models +- \[[ADF-739](https://issues.alfresco.com/jira/browse/ADF-739)] - Viewer within tasks and processes does not display all supported file extensions. +- \[[ADF-759](https://issues.alfresco.com/jira/browse/ADF-759)] - Cannot use script.sh with node 8.0.0 and npm 5.0. +- \[[ADF-765](https://issues.alfresco.com/jira/browse/ADF-765)] - [Rating Component](../content-services/rating.component.md) is not working. +- \[[ADF-766](https://issues.alfresco.com/jira/browse/ADF-766)] - "Remove" file option within the Attachment list is not working. +- \[[ADF-779](https://issues.alfresco.com/jira/browse/ADF-779)] - Broken thumbnails are displayed in Processes Attachment list. +- \[[ADF-781](https://issues.alfresco.com/jira/browse/ADF-781)] - Folder content is not uploaded if a folder with the same name already exists +- \[[ADF-782](https://issues.alfresco.com/jira/browse/ADF-782)] - It is not possible to upload a Folder by dropping on another Folder in Document List +- \[[ADF-794](https://issues.alfresco.com/jira/browse/ADF-794)] - Add people assignment component +- \[[ADF-797](https://issues.alfresco.com/jira/browse/ADF-797)] - Published components have wrong content +- \[[ADF-802](https://issues.alfresco.com/jira/browse/ADF-802)] - 'Attach Document' and DnD in Attachment List are not working +- \[[ADF-810](https://issues.alfresco.com/jira/browse/ADF-810)] - Radio button list is selecting the first value behind the scenes when nothing is selected - 1963 Github +- \[[ADF-833](https://issues.alfresco.com/jira/browse/ADF-833)] - Data table - single and double click +- \[[ADF-842](https://issues.alfresco.com/jira/browse/ADF-842)] - Error is received in console log when a form is completed +- \[[ADF-883](https://issues.alfresco.com/jira/browse/ADF-883)] - [`UserInfo`](../../lib/content-services/document-list/models/document-library.model.ts) - Build errors +- \[[ADF-884](https://issues.alfresco.com/jira/browse/ADF-884)] - [`FormComponent`](../core/form.component.md) - Compilation error +- \[[ADF-893](https://issues.alfresco.com/jira/browse/ADF-893)] - Create Attachment Task/Process - Compilation error +- \[[ADF-897](https://issues.alfresco.com/jira/browse/ADF-897)] - ActivitiPeopleList - use the prexif adf +- \[[ADF-906](https://issues.alfresco.com/jira/browse/ADF-906)] - data property on activiti-form component do not react on changes - 2007 Github +- \[[ADF-930](https://issues.alfresco.com/jira/browse/ADF-930)] - Not able to attach a file into Attachment List. ## Task -- [[ADF-39](https://issues.alfresco.com/jira/browse/ADF-39)] - Migrate demo components to webpack and update documentation - 1399 Github -- [[ADF-604](https://issues.alfresco.com/jira/browse/ADF-604)] - Upgrade to @angular/material to latest version -- [[ADF-685](https://issues.alfresco.com/jira/browse/ADF-685)] - Create test case in test rail around attachment list component -- [[ADF-881](https://issues.alfresco.com/jira/browse/ADF-881)] - Restore setting PS and CS address setting in demo shell +- \[[ADF-39](https://issues.alfresco.com/jira/browse/ADF-39)] - Migrate demo components to webpack and update documentation - 1399 Github +- \[[ADF-604](https://issues.alfresco.com/jira/browse/ADF-604)] - Upgrade to @angular/material to latest version +- \[[ADF-685](https://issues.alfresco.com/jira/browse/ADF-685)] - Create test case in test rail around attachment list component +- \[[ADF-881](https://issues.alfresco.com/jira/browse/ADF-881)] - Restore setting PS and CS address setting in demo shell ## Documentation -- [[ADF-78](https://issues.alfresco.com/jira/browse/ADF-78)] - Update Activiti CORS setup guide - 1438 Github -- [[ADF-602](https://issues.alfresco.com/jira/browse/ADF-602)] - Accordion Component - Documentation -- [[ADF-776](https://issues.alfresco.com/jira/browse/ADF-776)] - Update ADF project from 1.4.0 to 1.5. +- \[[ADF-78](https://issues.alfresco.com/jira/browse/ADF-78)] - Update Activiti CORS setup guide - 1438 Github +- \[[ADF-602](https://issues.alfresco.com/jira/browse/ADF-602)] - [Accordion Component](../core/accordion.component.md) - Documentation +- \[[ADF-776](https://issues.alfresco.com/jira/browse/ADF-776)] - Update ADF project from 1.4.0 to 1.5. Please refer to [the Alfresco issue tracker](https://issues.alfresco.com/jira/projects/ADF/issues/ADF-581?filter=allopenissues) for other known issues in this release. If you have more questions, please reply here or contact us using [gitter](https://gitter.im/Alfresco/alfresco-ng2-components). diff --git a/docs/release-notes/RelNote170.md b/docs/release-notes/RelNote170.md index 212c3eddbf..6f6616f876 100644 --- a/docs/release-notes/RelNote170.md +++ b/docs/release-notes/RelNote170.md @@ -5,9 +5,40 @@ These release notes provide information for the **1.7.0 release** of Alfresco This is the next **Limited Available** release of Application Development Framework, containing the Angular components to build a Web Application on top of the Alfresco Services. The release can be found on GitHub at [this link.](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/1.7.0) +## Contents + +- [Goals for this release](#goals-for-this-release) +- [Notable new features](#notable-new-features) + - [1. ADF Prefix](#1-adf-prefix) + - [2. Copy and Move component](#2-copy-and-move-component) + - [3. Dropdown Sites/Favorites Component](#3-dropdown-sitesfavorites-component) + - [4. Toolbar Component](#4-toolbar-component) + - [5. Upload Component New design](#5-upload-component-new-design) + - [6. Upload ignore list configuration service](#6-upload-ignore-list-configuration-service) + - [7. Process Service Start Task New design]\(#7-process-service-start-task new-design) + - [8. Process Header Component](#8-process-header-component) + - [9. Search list Component new delete file feature]\(#9-search-list-component new-delete-file-feature) + - [10. Login new property](#10-login-new-property) + - [11. TaskDetails - DueDate and Description editable](#11-taskdetails---duedate-and-description-editable) + - [12. Configuration back end service hostname feature]\(#12-configuration-back-end-service hostname feature) + - [13. User Preferences Service](#13-user-preferences-service) + - [14. Search results highlighting properties](#14-search-results-highlighting-properties) + - [15. Change document list style rows based on permissions](#15-change-document-list-style-rows-based-on-permissions) + - [16. APS Audit REST API in the JS API](#16-aps-audit-rest-api-in-the-js-api) + - [17. New services in ng2-alfresco-core](#17-new-services-in-ng2-alfresco-core) + - [18. Code Contribution Guide and CLA](#18-code-contribution-guide-and-cla) +- [References](#references) +- [Issues addressed](#issues-addressed) + - [Documentation](#documentation) + - [Feature](#feature) + - [Epic](#epic) + - [Bug](#bug) + - [New Feature](#new-feature) + - [Task](#task) + ## Goals for this release -In the ADF 1.7 release we've had a big focus on Content capabilities. We brought in a new design for the Document List and the Uploader. Quite a few changes has made its way in to the release, breadcrumbs now has multiple modes (drop down and normal) and has been separated from the document list. The pagination component is now separated from the document list and has a new design too, and we've added toolbars to the document list. We will continue this effort to split up into more granular components and improve the design. +In the ADF 1.7 release we've had a big focus on Content capabilities. We brought in a new design for the Document List and the Uploader. Quite a few changes has made its way in to the release, breadcrumbs now has multiple modes (drop down and normal) and has been separated from the document list. The [pagination component](../core/pagination.component.md) is now separated from the document list and has a new design too, and we've added toolbars to the document list. We will continue this effort to split up into more granular components and improve the design. We have introduced a "Copy and Move" component that integrates into the document list. The idea is to use the same picker for both forms and document list, i.e use it to select content in a form, or select the destination to copy or move items into. This is still work in progress as some of the features in the picker, such as search highlight didn't make it in time for code freeze. We will continue to improve this in the next release. @@ -22,7 +53,7 @@ Below the most relevant features of this release: - ADF prefix - Copy and Move Component - Dropdown sites/favorites Component -- Toolbar Component +- [Toolbar Component](../core/toolbar.component.md) - Upload Component New design - Upload ignore list configuration service - Start Task New design @@ -31,7 +62,7 @@ Below the most relevant features of this release: - Login new property - TaskDetails - DueDate and Description editable - Configuration back end service hostname feature -- User Preferences Service +- [User Preferences Service](../core/user-preferences.service.md) - Search results highlighting properties - Change document list style rows based on permissions - APS Audit REST API in the JS API @@ -47,24 +78,22 @@ The good news is that you don't need to rename your old component because the ol Two new content actions have been added, the "copy" and the "move" for both folders and files. You can define them the same way as you can do it for the existing content actions. -``` - - - - -``` + + + + ![](images/copy-move.gif) @@ -72,11 +101,9 @@ Two new content actions have been added, the "copy" and the "move" for both fold DocumentList now provides a site dropdown component to show and interact with the sites of the current user. -``` - - -``` + + ![](images/dropdown-sites.gif) @@ -84,19 +111,17 @@ DocumentList now provides a site dropdown component to show and interact with t adf-toolbar is an easy container for headers, titles, actions, breadcrumbs. -``` - -    -        -    -    -    - -``` + +     +         +     +     +     + ![](images/toobar.gif) @@ -135,11 +160,9 @@ Start Process task form has been redesigned: This component shows all the basic information of a process. -``` - - -``` + + The component is using the **adf-card-view** component to render all the information like a card. @@ -169,15 +192,13 @@ The due date and the description of the task details are now editable and integr [Application Configuration Service](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-alfresco-core#appconfigservice) (AppConfigService) gets support for dynamic variable substitution for APS and ACS endpoint settings. It is now possible having a configuration like given below: -``` -{ -    "ecmHost": "http://{hostname}:{port}/ecm", -    "bpmHost": "http://{hostname}:{port}/bpm", -    "application": { -        "name": "Alfresco" -    } -} -``` + { +     "ecmHost": "http://{hostname}:{port}/ecm", +     "bpmHost": "http://{hostname}:{port}/bpm", +     "application": { +         "name": "Alfresco" +     } + } At runtime, the "hostname" and "port" variables will be automatically replaced with the actual values taken from the client machine. This helps reducing overhead with having multiple CI and E2E environments, all environments can use the same config file. @@ -187,22 +208,20 @@ You can see more details on this feature in the following article: [Variable sub Developers have now a possibility storing and retrieving user preferences for either ADF or custom components. -``` -@Component({...}) -class AppComponent { -    constructor(userPreferences: UserPreferencesService) { + @Component({...}) + class AppComponent { +     constructor(userPreferences: UserPreferencesService) { -        userPreferences.set('myProperty1', 'value1'); -        userPreferences.set('myProperty2', 'value2'); +         userPreferences.set('myProperty1', 'value1'); +         userPreferences.set('myProperty2', 'value2'); -        console.log( -            userPreferences.get('myProperty1') -        ); -    } -} -``` +         console.log( +             userPreferences.get('myProperty1') +         ); +     } + } -The [UserPreferencesService](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-alfresco-core#user-preferences-service) provides an API needed to store preferences based on different profiles. You can now have multiple users on the same machine with different set of preferences (like pagination size, authentication type, etc). +The [`UserPreferencesService`](../core/user-preferences.service.md) provides an API needed to store preferences based on different profiles. You can now have multiple users on the same machine with different set of preferences (like pagination size, authentication type, etc). ### 14. Search results highlighting properties @@ -219,12 +238,12 @@ You can now customize the document list style row based on the permissions of th ### 16. APS Audit REST API in the JS API -Two new methods has been added into the alfresco-js-api to support retrieve the audit informations inside the process service: +Two new methods has been added into the alfresco-js-api to support retrieve the audit informations inside the [process service](../process-services/process.service.md): | API | Name | HTTP method | URL | Description | -| -- | -- | -- | -- | -- | -| *ActivitiPublicRestApi.TaskApi* | [**getTaskAuditJson**](https://github.com/Alfresco/alfresco-js-api/blob/a82ce3bbe56cb0944f8771d14193704b571adf96/src/alfresco-activiti-rest-api/docs/TaskApi.md#getTaskAuditJson) | **GET** | /api/enterprise/tasks/{taskId}/audit | Retrieve audit infromation in json format | -| *ActivitiPublicRestApi.TaskApi* | [**getTaskAuditPdf**](https://github.com/Alfresco/alfresco-js-api/blob/a82ce3bbe56cb0944f8771d14193704b571adf96/src/alfresco-activiti-rest-api/docs/TaskApi.md#getTaskAuditPdf) | **GET** | /app/rest/tasks/{taskId}/audit | Retrieve the task audit infromation in pdf format | +| --- | ---- | ----------- | --- | ----------- | +| _ActivitiPublicRestApi.TaskApi_ | [**getTaskAuditJson**](https://github.com/Alfresco/alfresco-js-api/blob/a82ce3bbe56cb0944f8771d14193704b571adf96/src/alfresco-activiti-rest-api/docs/TaskApi.md#getTaskAuditJson) | **GET**  | /api/enterprise/tasks/{taskId}/audit | Retrieve audit infromation in json format | +| _ActivitiPublicRestApi.TaskApi_ | [**getTaskAuditPdf**](https://github.com/Alfresco/alfresco-js-api/blob/a82ce3bbe56cb0944f8771d14193704b571adf96/src/alfresco-activiti-rest-api/docs/TaskApi.md#getTaskAuditPdf) | **GET**  | /app/rest/tasks/{taskId}/audit | Retrieve the task audit infromation in pdf format | For further details about those endepoints please refer to the [official documentation](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-activiti-rest-api/docs/TaskApi.md) @@ -233,15 +252,15 @@ For further details about those endepoints please refer to the [official documen In the ng2-alfresco-core component, there are a lot of services that you can use out of the box outside our component and you can find the complete list [here](https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components#services) The list below is the list of the new services added in 1.7.0: -- DeletedNodesApiService -- FavoritesApiService -- NodesApiService +- [`DeletedNodesApiService`](../core/deleted-nodes-api.service.md) +- [`FavoritesApiService`](../core/favorites-api.service.md) +- [`NodesApiService`](../core/nodes-api.service.md) - PeopleApiService - SearchApiService -- SharedLinksApiService +- [`SharedLinksApiService`](../core/shared-links-api.service.md) - SitesApiService -- ThumbnailService -- SearchService +- [`ThumbnailService`](../core/thumbnail.service.md) +- [`SearchService`](../../lib/core/services/search.service.ts) ### 18. Code Contribution Guide and CLA @@ -280,137 +299,137 @@ Release Notes - Apps Development Framework - Version 1.7. ### Documentation -- [[ADF-537](https://issues.alfresco.com/jira/browse/ADF-537)] - Code contribution guide -- [[ADF-892](https://issues.alfresco.com/jira/browse/ADF-892)] - Blog post on replacing ADF services in apps -- [[ADF-951](https://issues.alfresco.com/jira/browse/ADF-951)] - Article on how to update from 1.5.0 to 1.6. -- [[ADF-961](https://issues.alfresco.com/jira/browse/ADF-961)] - Article integration APS and ACS and cognitive analysis metadata -- [[ADF-987](https://issues.alfresco.com/jira/browse/ADF-987)] - Add information about SaSS in the contribution guidelines -- [[ADF-1007](https://issues.alfresco.com/jira/browse/ADF-1007)] - Add Markdown linter in the build process -- [[ADF-1042](https://issues.alfresco.com/jira/browse/ADF-1042)] - Add documentation on how to search only folder -- [[ADF-1107](https://issues.alfresco.com/jira/browse/ADF-1107)] - Create example: Viewer + adf-card and blog post -- [[ADF-1110](https://issues.alfresco.com/jira/browse/ADF-1110)] - Toolbar documentation -- [[ADF-1136](https://issues.alfresco.com/jira/browse/ADF-1136)] - Provide details on configuring Viewer to display PDF -- [[ADF-1146](https://issues.alfresco.com/jira/browse/ADF-1146)] - Upgrade Angular CLI article to the newest version of CLI/ADF +- \[[ADF-537](https://issues.alfresco.com/jira/browse/ADF-537)] - Code contribution guide +- \[[ADF-892](https://issues.alfresco.com/jira/browse/ADF-892)] - Blog post on replacing ADF services in apps +- \[[ADF-951](https://issues.alfresco.com/jira/browse/ADF-951)] - Article on how to update from 1.5.0 to 1.6. +- \[[ADF-961](https://issues.alfresco.com/jira/browse/ADF-961)] - Article integration APS and ACS and cognitive analysis metadata +- \[[ADF-987](https://issues.alfresco.com/jira/browse/ADF-987)] - Add information about SaSS in the contribution guidelines +- \[[ADF-1007](https://issues.alfresco.com/jira/browse/ADF-1007)] - Add Markdown linter in the build process +- \[[ADF-1042](https://issues.alfresco.com/jira/browse/ADF-1042)] - Add documentation on how to search only folder +- \[[ADF-1107](https://issues.alfresco.com/jira/browse/ADF-1107)] - Create example: Viewer + adf-card and blog post +- \[[ADF-1110](https://issues.alfresco.com/jira/browse/ADF-1110)] - Toolbar documentation +- \[[ADF-1136](https://issues.alfresco.com/jira/browse/ADF-1136)] - Provide details on configuring Viewer to display PDF +- \[[ADF-1146](https://issues.alfresco.com/jira/browse/ADF-1146)] - Upgrade Angular CLI article to the newest version of CLI/ADF ### Feature -- [[ADF-914](https://issues.alfresco.com/jira/browse/ADF-914)] - Form section in the demo shell -- [[ADF-918](https://issues.alfresco.com/jira/browse/ADF-918)] - Activiti Start Task - Refactoring -- [[ADF-920](https://issues.alfresco.com/jira/browse/ADF-920)] - Process Header Component - Use the CardView component -- [[ADF-970](https://issues.alfresco.com/jira/browse/ADF-970)] - Attachment Task/process list - add template for empty list -- [[ADF-971](https://issues.alfresco.com/jira/browse/ADF-971)] - Create Task/process attachment - Improve the functionality -- [[ADF-1032](https://issues.alfresco.com/jira/browse/ADF-1032)] - CLA - External PR automate task -- [[ADF-1108](https://issues.alfresco.com/jira/browse/ADF-1108)] - Task header - Show the parent name clickable -- [[ADF-1114](https://issues.alfresco.com/jira/browse/ADF-1114)] - Process comments - Share the same comment between Task and Process +- \[[ADF-914](https://issues.alfresco.com/jira/browse/ADF-914)] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) section in the demo shell +- \[[ADF-918](https://issues.alfresco.com/jira/browse/ADF-918)] - Activiti Start Task - Refactoring +- \[[ADF-920](https://issues.alfresco.com/jira/browse/ADF-920)] - Process Header Component - Use the CardView component +- \[[ADF-970](https://issues.alfresco.com/jira/browse/ADF-970)] - Attachment Task/process list - add template for empty list +- \[[ADF-971](https://issues.alfresco.com/jira/browse/ADF-971)] - Create Task/process attachment - Improve the functionality +- \[[ADF-1032](https://issues.alfresco.com/jira/browse/ADF-1032)] - CLA - External PR automate task +- \[[ADF-1108](https://issues.alfresco.com/jira/browse/ADF-1108)] - Task header - Show the parent name clickable +- \[[ADF-1114](https://issues.alfresco.com/jira/browse/ADF-1114)] - Process comments - Share the same comment between Task and Process ### Epic -- [[ADF-697](https://issues.alfresco.com/jira/browse/ADF-697)] - Provide support for Codelizer -- [[ADF-868](https://issues.alfresco.com/jira/browse/ADF-868)] - Add the adf prefix across all the components +- \[[ADF-697](https://issues.alfresco.com/jira/browse/ADF-697)] - Provide support for Codelizer +- \[[ADF-868](https://issues.alfresco.com/jira/browse/ADF-868)] - Add the adf prefix across all the components ### Bug -- [[ADF-195](https://issues.alfresco.com/jira/browse/ADF-195)] - fix 'change detection crash' when using router multiple times - 1550 Github -- [[ADF-334](https://issues.alfresco.com/jira/browse/ADF-334)] - "$" symbol on a currency/amount field is shown against the label - 1707 Github -- [[ADF-523](https://issues.alfresco.com/jira/browse/ADF-523)] - Search Component - Unable to delete a file -- [[ADF-733](https://issues.alfresco.com/jira/browse/ADF-733)] - Activiti start process - AppId should not be mandatory -- [[ADF-770](https://issues.alfresco.com/jira/browse/ADF-770)] - Wrong highlight is displayed around options within DocumentList. -- [[ADF-778](https://issues.alfresco.com/jira/browse/ADF-778)] - "Upload Dialog" displays files that were previously uploaded on a different account. -- [[ADF-790](https://issues.alfresco.com/jira/browse/ADF-790)] - Attachment List displays the attached files within a user task. -- [[ADF-819](https://issues.alfresco.com/jira/browse/ADF-819)] - Snackbar does not appear when uploading files via DnD -- [[ADF-923](https://issues.alfresco.com/jira/browse/ADF-923)] - Involved user should not be able to see 'Complete' button as active in a task. -- [[ADF-939](https://issues.alfresco.com/jira/browse/ADF-939)] - [Login] Sign in button does not stay at the bottom -- [[ADF-943](https://issues.alfresco.com/jira/browse/ADF-943)] - APS ContentApi is not present on index.d.ts and SitesApi is not complete -- [[ADF-945](https://issues.alfresco.com/jira/browse/ADF-945)] - 'Undefined' is displayed in 'attach file' widget after restore. -- [[ADF-950](https://issues.alfresco.com/jira/browse/ADF-950)] - when the Form in readonly mode you can edit the date -- [[ADF-957](https://issues.alfresco.com/jira/browse/ADF-957)] - Duplicate Rest calls are made for fields where Rest end points are given -- [[ADF-966](https://issues.alfresco.com/jira/browse/ADF-966)] - Data table doesn't update on async loading -- [[ADF-978](https://issues.alfresco.com/jira/browse/ADF-978)] - No warning message is displayed to the user when minor changes are made on Settings. -- [[ADF-1001](https://issues.alfresco.com/jira/browse/ADF-1001)] - [Process Diagram Widget] - Long process details are not rendered correctly. -- [[ADF-1003](https://issues.alfresco.com/jira/browse/ADF-1003)] - An unsupported file can't be convert to pdf -- [[ADF-1013](https://issues.alfresco.com/jira/browse/ADF-1013)] - [Login Page] - 'Login footer' cannot be switched off. -- [[ADF-1015](https://issues.alfresco.com/jira/browse/ADF-1015)] - Document List is missing @Input decorator for loading state -- [[ADF-1026](https://issues.alfresco.com/jira/browse/ADF-1026)] - Default "empty" document list view should be translatable. -- [[ADF-1047](https://issues.alfresco.com/jira/browse/ADF-1047)] - AlfrescoSettingsService defaults to 'ALL' on page reload -- [[ADF-1048](https://issues.alfresco.com/jira/browse/ADF-1048)] - Multiple files attached to a task within a form are not displayed -- [[ADF-1056](https://issues.alfresco.com/jira/browse/ADF-1056)] - Form List Component does not display the forms of the user -- [[ADF-1068](https://issues.alfresco.com/jira/browse/ADF-1068)] - Files can be uploaded using drag and drop when 'enable file' is unchecked -- [[ADF-1070](https://issues.alfresco.com/jira/browse/ADF-1070)] - User preferences service does not restore prefix on page reload. -- [[ADF-1072](https://issues.alfresco.com/jira/browse/ADF-1072)] - Unsupported type of file attached to a task or process can not be converted to pdf -- [[ADF-1078](https://issues.alfresco.com/jira/browse/ADF-1078)] - [Tasks] - Task Details are displayed inside Task Filters list. -- [[ADF-1079](https://issues.alfresco.com/jira/browse/ADF-1079)] - [Process Services] - Not able to start a process. -- [[ADF-1081](https://issues.alfresco.com/jira/browse/ADF-1081)] - Scroll bar is missing in comments component -- [[ADF-1097](https://issues.alfresco.com/jira/browse/ADF-1097)] - File with unaccepted extension is uploaded when 'Format' is set to 'All files' -- [[ADF-1134](https://issues.alfresco.com/jira/browse/ADF-1134)] - [Document List] Selection events not raised for certain scenarios -- [[ADF-1138](https://issues.alfresco.com/jira/browse/ADF-1138)] - Start Task Form Assignee dropdown show null value inside -- [[ADF-1140](https://issues.alfresco.com/jira/browse/ADF-1140)] - Task header - Wrong parent name key -- [[ADF-1142](https://issues.alfresco.com/jira/browse/ADF-1142)] - Cannot add comment into a process. -- [[ADF-1143](https://issues.alfresco.com/jira/browse/ADF-1143)] - [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form. -- [[ADF-1147](https://issues.alfresco.com/jira/browse/ADF-1147)] - [Processes] - Form is not rendered properly when starting a new process. -- [[ADF-1148](https://issues.alfresco.com/jira/browse/ADF-1148)] - [TaskList] - 'Description' is not rendered. -- [[ADF-1149](https://issues.alfresco.com/jira/browse/ADF-1149)] - 'Remove' involved people of a task button is displayed behind the dialog -- [[ADF-1151](https://issues.alfresco.com/jira/browse/ADF-1151)] - [Processes] - 'Show Diagram' option is not displayed. -- [[ADF-1155](https://issues.alfresco.com/jira/browse/ADF-1155)] - The Process and Task filters are not displayed properly in ADF for applications created in APS -- [[ADF-1162](https://issues.alfresco.com/jira/browse/ADF-1162)] - List with forms is not displayed inside Form List. -- [[ADF-1168](https://issues.alfresco.com/jira/browse/ADF-1168)] - Tasks header component and Processes header component have different margins -- [[ADF-1169](https://issues.alfresco.com/jira/browse/ADF-1169)] - [Start Task] - Missing date validation -- [[ADF-1175](https://issues.alfresco.com/jira/browse/ADF-1175)] - Start Process and Start Task Forms don't close when Cancel button is clicked -- [[ADF-1190](https://issues.alfresco.com/jira/browse/ADF-1190)] - Task form - Unable to view task form when the process does not have variables -- [[ADF-1199](https://issues.alfresco.com/jira/browse/ADF-1199)] - MinimalNodeEntryEntity is missing the "allowableOperations" property -- [[ADF-1200](https://issues.alfresco.com/jira/browse/ADF-1200)] - The URL validation error message is still displayed after changing the invalid url with a valid one -- [[ADF-1201](https://issues.alfresco.com/jira/browse/ADF-1201)] - 508 Compliance Resolution for the App tiles. - 2131 Github -- [[ADF-1216](https://issues.alfresco.com/jira/browse/ADF-1216)] - The included packages are not displayed in About Component if the user is logged only on Content Services -- [[ADF-1228](https://issues.alfresco.com/jira/browse/ADF-1228)] - Task Details - The People and Involve component are not aligned -- [[ADF-1229](https://issues.alfresco.com/jira/browse/ADF-1229)] - Task Filter - Wrong task filter is selected when a new task is created +- \[[ADF-195](https://issues.alfresco.com/jira/browse/ADF-195)] - fix 'change detection crash' when using router multiple times - 1550 Github +- \[[ADF-334](https://issues.alfresco.com/jira/browse/ADF-334)] - "$" symbol on a currency/amount field is shown against the label - 1707 Github +- \[[ADF-523](https://issues.alfresco.com/jira/browse/ADF-523)] - [Search Component](../content-services/search.component.md) - Unable to delete a file +- \[[ADF-733](https://issues.alfresco.com/jira/browse/ADF-733)] - Activiti start process - AppId should not be mandatory +- \[[ADF-770](https://issues.alfresco.com/jira/browse/ADF-770)] - Wrong highlight is displayed around options within DocumentList. +- \[[ADF-778](https://issues.alfresco.com/jira/browse/ADF-778)] - "Upload Dialog" displays files that were previously uploaded on a different account. +- \[[ADF-790](https://issues.alfresco.com/jira/browse/ADF-790)] - Attachment List displays the attached files within a user task. +- \[[ADF-819](https://issues.alfresco.com/jira/browse/ADF-819)] - Snackbar does not appear when uploading files via DnD +- \[[ADF-923](https://issues.alfresco.com/jira/browse/ADF-923)] - Involved user should not be able to see 'Complete' button as active in a task. +- \[[ADF-939](https://issues.alfresco.com/jira/browse/ADF-939)] - [Login] Sign in button does not stay at the bottom +- \[[ADF-943](https://issues.alfresco.com/jira/browse/ADF-943)] - APS ContentApi is not present on index.d.ts and SitesApi is not complete +- \[[ADF-945](https://issues.alfresco.com/jira/browse/ADF-945)] - 'Undefined' is displayed in 'attach file' widget after restore. +- \[[ADF-950](https://issues.alfresco.com/jira/browse/ADF-950)] - when the [`Form`](../../lib/process-services/task-list/models/form.model.ts) in readonly mode you can edit the date +- \[[ADF-957](https://issues.alfresco.com/jira/browse/ADF-957)] - Duplicate Rest calls are made for fields where Rest end points are given +- \[[ADF-966](https://issues.alfresco.com/jira/browse/ADF-966)] - Data table doesn't update on async loading +- \[[ADF-978](https://issues.alfresco.com/jira/browse/ADF-978)] - No warning message is displayed to the user when minor changes are made on Settings. +- \[[ADF-1001](https://issues.alfresco.com/jira/browse/ADF-1001)] - [Process Diagram Widget] - Long process details are not rendered correctly. +- \[[ADF-1003](https://issues.alfresco.com/jira/browse/ADF-1003)] - An unsupported file can't be convert to pdf +- \[[ADF-1013](https://issues.alfresco.com/jira/browse/ADF-1013)] - [Login Page] - 'Login footer' cannot be switched off. +- \[[ADF-1015](https://issues.alfresco.com/jira/browse/ADF-1015)] - Document List is missing @Input decorator for loading state +- \[[ADF-1026](https://issues.alfresco.com/jira/browse/ADF-1026)] - Default "empty" document list view should be translatable. +- \[[ADF-1047](https://issues.alfresco.com/jira/browse/ADF-1047)] - AlfrescoSettingsService defaults to 'ALL' on page reload +- \[[ADF-1048](https://issues.alfresco.com/jira/browse/ADF-1048)] - Multiple files attached to a task within a form are not displayed +- \[[ADF-1056](https://issues.alfresco.com/jira/browse/ADF-1056)] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) List Component does not display the forms of the user +- \[[ADF-1068](https://issues.alfresco.com/jira/browse/ADF-1068)] - Files can be uploaded using drag and drop when 'enable file' is unchecked +- \[[ADF-1070](https://issues.alfresco.com/jira/browse/ADF-1070)] - [User preferences service](../core/user-preferences.service.md) does not restore prefix on page reload. +- \[[ADF-1072](https://issues.alfresco.com/jira/browse/ADF-1072)] - Unsupported type of file attached to a task or process can not be converted to pdf +- \[[ADF-1078](https://issues.alfresco.com/jira/browse/ADF-1078)] - [Tasks] - Task Details are displayed inside Task Filters list. +- \[[ADF-1079](https://issues.alfresco.com/jira/browse/ADF-1079)] - [Process Services] - Not able to start a process. +- \[[ADF-1081](https://issues.alfresco.com/jira/browse/ADF-1081)] - Scroll bar is missing in [comments component](../core/comments.component.md) +- \[[ADF-1097](https://issues.alfresco.com/jira/browse/ADF-1097)] - File with unaccepted extension is uploaded when 'Format' is set to 'All files' +- \[[ADF-1134](https://issues.alfresco.com/jira/browse/ADF-1134)] - [Document List] Selection events not raised for certain scenarios +- \[[ADF-1138](https://issues.alfresco.com/jira/browse/ADF-1138)] - Start Task [`Form`](../../lib/process-services/task-list/models/form.model.ts) Assignee dropdown show null value inside +- \[[ADF-1140](https://issues.alfresco.com/jira/browse/ADF-1140)] - Task header - Wrong parent name key +- \[[ADF-1142](https://issues.alfresco.com/jira/browse/ADF-1142)] - Cannot add comment into a process. +- \[[ADF-1143](https://issues.alfresco.com/jira/browse/ADF-1143)] - [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form. +- \[[ADF-1147](https://issues.alfresco.com/jira/browse/ADF-1147)] - [Processes] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) is not rendered properly when starting a new process. +- \[[ADF-1148](https://issues.alfresco.com/jira/browse/ADF-1148)] - [TaskList] - 'Description' is not rendered. +- \[[ADF-1149](https://issues.alfresco.com/jira/browse/ADF-1149)] - 'Remove' involved people of a task button is displayed behind the dialog +- \[[ADF-1151](https://issues.alfresco.com/jira/browse/ADF-1151)] - [Processes] - 'Show Diagram' option is not displayed. +- \[[ADF-1155](https://issues.alfresco.com/jira/browse/ADF-1155)] - The Process and Task filters are not displayed properly in ADF for applications created in APS +- \[[ADF-1162](https://issues.alfresco.com/jira/browse/ADF-1162)] - List with forms is not displayed inside [`Form`](../../lib/process-services/task-list/models/form.model.ts) List. +- \[[ADF-1168](https://issues.alfresco.com/jira/browse/ADF-1168)] - Tasks header component and Processes header component have different margins +- \[[ADF-1169](https://issues.alfresco.com/jira/browse/ADF-1169)] - [Start Task] - Missing date validation +- \[[ADF-1175](https://issues.alfresco.com/jira/browse/ADF-1175)] - Start Process and Start Task Forms don't close when Cancel button is clicked +- \[[ADF-1190](https://issues.alfresco.com/jira/browse/ADF-1190)] - Task form - Unable to view task form when the process does not have variables +- \[[ADF-1199](https://issues.alfresco.com/jira/browse/ADF-1199)] - [`MinimalNodeEntryEntity`](../content-services/document-library.model.md) is missing the "allowableOperations" property +- \[[ADF-1200](https://issues.alfresco.com/jira/browse/ADF-1200)] - The URL validation error message is still displayed after changing the invalid url with a valid one +- \[[ADF-1201](https://issues.alfresco.com/jira/browse/ADF-1201)] - 508 Compliance Resolution for the App tiles. - 2131 Github +- \[[ADF-1216](https://issues.alfresco.com/jira/browse/ADF-1216)] - The included packages are not displayed in [About Component](../core/about.component.md) if the user is logged only on Content Services +- \[[ADF-1228](https://issues.alfresco.com/jira/browse/ADF-1228)] - Task Details - The People and Involve component are not aligned +- \[[ADF-1229](https://issues.alfresco.com/jira/browse/ADF-1229)] - Task Filter - Wrong task filter is selected when a new task is created ### New Feature -- [[ADF-112](https://issues.alfresco.com/jira/browse/ADF-112)] - Task Header in TaskDetails component shows DueDate but is not editable -- [[ADF-402](https://issues.alfresco.com/jira/browse/ADF-402)] - Process Diagram Widget - Show the current process state -- [[ADF-487](https://issues.alfresco.com/jira/browse/ADF-487)] - Info tab should show Content Service and Process service information -- [[ADF-858](https://issues.alfresco.com/jira/browse/ADF-858)] - Provide ability to attach multiple files on process Form- 1988 Github -- [[ADF-917](https://issues.alfresco.com/jira/browse/ADF-917)] - Upload ignore list files configuration -- [[ADF-955](https://issues.alfresco.com/jira/browse/ADF-955)] - Custom icons for selected rows -- [[ADF-960](https://issues.alfresco.com/jira/browse/ADF-960)] - Allow changing copyright section for Login component -- [[ADF-967](https://issues.alfresco.com/jira/browse/ADF-967)] - Evaluate "hostname" and "port" in the app config service -- [[ADF-968](https://issues.alfresco.com/jira/browse/ADF-968)] - Dropdown sites and favorites -- [[ADF-983](https://issues.alfresco.com/jira/browse/ADF-983)] - User Preferences Service -- [[ADF-1038](https://issues.alfresco.com/jira/browse/ADF-1038)] - Dropdown breadcrumbs -- [[ADF-1039](https://issues.alfresco.com/jira/browse/ADF-1039)] - Search results highlighting -- [[ADF-1040](https://issues.alfresco.com/jira/browse/ADF-1040)] - Change document list style rows based on permissions -- [[ADF-1041](https://issues.alfresco.com/jira/browse/ADF-1041)] - Copy and Move Component -- [[ADF-1086](https://issues.alfresco.com/jira/browse/ADF-1086)] - Allow providing "attachment" option value when generating content links -- [[ADF-1109](https://issues.alfresco.com/jira/browse/ADF-1109)] - APS Audit REST API in the JS API -- [[ADF-1115](https://issues.alfresco.com/jira/browse/ADF-1115)] - Improve Document List selection management +- \[[ADF-112](https://issues.alfresco.com/jira/browse/ADF-112)] - Task Header in TaskDetails component shows DueDate but is not editable +- \[[ADF-402](https://issues.alfresco.com/jira/browse/ADF-402)] - Process Diagram Widget - Show the current process state +- \[[ADF-487](https://issues.alfresco.com/jira/browse/ADF-487)] - Info tab should show [Content Service](../core/content.service.md) and [Process service](../process-services/process.service.md) information +- \[[ADF-858](https://issues.alfresco.com/jira/browse/ADF-858)] - Provide ability to attach multiple files on process Form- 1988 Github +- \[[ADF-917](https://issues.alfresco.com/jira/browse/ADF-917)] - Upload ignore list files configuration +- \[[ADF-955](https://issues.alfresco.com/jira/browse/ADF-955)] - Custom icons for selected rows +- \[[ADF-960](https://issues.alfresco.com/jira/browse/ADF-960)] - Allow changing copyright section for [Login component](../core/login.component.md) +- \[[ADF-967](https://issues.alfresco.com/jira/browse/ADF-967)] - Evaluate "hostname" and "port" in the [app config service](../core/app-config.service.md) +- \[[ADF-968](https://issues.alfresco.com/jira/browse/ADF-968)] - Dropdown sites and favorites +- \[[ADF-983](https://issues.alfresco.com/jira/browse/ADF-983)] - [User Preferences Service](../core/user-preferences.service.md) +- \[[ADF-1038](https://issues.alfresco.com/jira/browse/ADF-1038)] - Dropdown breadcrumbs +- \[[ADF-1039](https://issues.alfresco.com/jira/browse/ADF-1039)] - Search results highlighting +- \[[ADF-1040](https://issues.alfresco.com/jira/browse/ADF-1040)] - Change document list style rows based on permissions +- \[[ADF-1041](https://issues.alfresco.com/jira/browse/ADF-1041)] - Copy and Move Component +- \[[ADF-1086](https://issues.alfresco.com/jira/browse/ADF-1086)] - Allow providing "attachment" option value when generating content links +- \[[ADF-1109](https://issues.alfresco.com/jira/browse/ADF-1109)] - APS Audit REST API in the JS API +- \[[ADF-1115](https://issues.alfresco.com/jira/browse/ADF-1115)] - Improve Document List selection management ### Task -- [[ADF-497](https://issues.alfresco.com/jira/browse/ADF-497)] - Improvement to task comment (activiti-comments) component - 1829 Github -- [[ADF-506](https://issues.alfresco.com/jira/browse/ADF-506)] - Unify thumbnail service across search and document list -- [[ADF-861](https://issues.alfresco.com/jira/browse/ADF-861)] - Add codelizer in ng2-alfresco-viewer ng2-alfresco-webscript -- [[ADF-862](https://issues.alfresco.com/jira/browse/ADF-862)] - Add codelizer in ng2-alfresco-login ng2-alfresco-search -- [[ADF-867](https://issues.alfresco.com/jira/browse/ADF-867)] - Add codelizer in demo-shell and genral build -- [[ADF-869](https://issues.alfresco.com/jira/browse/ADF-869)] - Add ADF prefix on ng2-alfresco-core ng2-alfresco-datatatable -- [[ADF-870](https://issues.alfresco.com/jira/browse/ADF-870)] - Add ADF prefix ng2-alfresco-tag ng2-alfresco-social -- [[ADF-871](https://issues.alfresco.com/jira/browse/ADF-871)] - Add ADF prefix ng2-alfresco-login ng2-alfresco-userinfo -- [[ADF-872](https://issues.alfresco.com/jira/browse/ADF-872)] - Add ADF prefix ng2-alfresco-documentlist ng2-alfresco-search -- [[ADF-873](https://issues.alfresco.com/jira/browse/ADF-873)] - Add ADF prefix ng2-alfresco-webscript ng2-alfresco-viewer -- [[ADF-874](https://issues.alfresco.com/jira/browse/ADF-874)] - Add ADF prefix ng2-activiti-diagrams ng2-alfresco-analytics -- [[ADF-875](https://issues.alfresco.com/jira/browse/ADF-875)] - Add ADF prefix ng2-activiti-tasklist ng2-activiti-processlist -- [[ADF-876](https://issues.alfresco.com/jira/browse/ADF-876)] - Add ADF prefix ng2-activiti-form -- [[ADF-924](https://issues.alfresco.com/jira/browse/ADF-924)] - Upload Component - Import the logic/design from EFSS -- [[ADF-973](https://issues.alfresco.com/jira/browse/ADF-973)] - Remove demo projects from components folder -- [[ADF-992](https://issues.alfresco.com/jira/browse/ADF-992)] - Integrate SFS enhancements to Document List -- [[ADF-993](https://issues.alfresco.com/jira/browse/ADF-993)] - Integrate SFS enhancements for Toolbar component -- [[ADF-1002](https://issues.alfresco.com/jira/browse/ADF-1002)] - Attachment Task list - Add Drag and drop functionality -- [[ADF-1030](https://issues.alfresco.com/jira/browse/ADF-1030)] - Datatable - enable isLoading to show the spinner in all the components -- [[ADF-1044](https://issues.alfresco.com/jira/browse/ADF-1044)] - Activiti Comment - use the new design inside the demoshell -- [[ADF-1045](https://issues.alfresco.com/jira/browse/ADF-1045)] - Attachment Process list - Improve the functionality -- [[ADF-1092](https://issues.alfresco.com/jira/browse/ADF-1092)] - Remove DataTable dependency on MDL -- [[ADF-1103](https://issues.alfresco.com/jira/browse/ADF-1103)] - Add custom tslint rules to avoid unwanted Class and File name prefix -- [[ADF-1112](https://issues.alfresco.com/jira/browse/ADF-1112)] - Move JS-API related services to ADF core -- [[ADF-1117](https://issues.alfresco.com/jira/browse/ADF-1117)] - Activiti Start Process - Migrate to MD -- [[ADF-1120](https://issues.alfresco.com/jira/browse/ADF-1120)] - Remove MDL button wrapper from ADF core -- [[ADF-1144](https://issues.alfresco.com/jira/browse/ADF-1144)] - Deprecate MDL sidebar in demo shell +- \[[ADF-497](https://issues.alfresco.com/jira/browse/ADF-497)] - Improvement to task comment (activiti-comments) component - 1829 Github +- \[[ADF-506](https://issues.alfresco.com/jira/browse/ADF-506)] - Unify [thumbnail service](../core/thumbnail.service.md) across search and document list +- \[[ADF-861](https://issues.alfresco.com/jira/browse/ADF-861)] - Add codelizer in ng2-alfresco-viewer ng2-alfresco-webscript +- \[[ADF-862](https://issues.alfresco.com/jira/browse/ADF-862)] - Add codelizer in ng2-alfresco-login ng2-alfresco-search +- \[[ADF-867](https://issues.alfresco.com/jira/browse/ADF-867)] - Add codelizer in demo-shell and genral build +- \[[ADF-869](https://issues.alfresco.com/jira/browse/ADF-869)] - Add ADF prefix on ng2-alfresco-core ng2-alfresco-datatatable +- \[[ADF-870](https://issues.alfresco.com/jira/browse/ADF-870)] - Add ADF prefix ng2-alfresco-tag ng2-alfresco-social +- \[[ADF-871](https://issues.alfresco.com/jira/browse/ADF-871)] - Add ADF prefix ng2-alfresco-login ng2-alfresco-userinfo +- \[[ADF-872](https://issues.alfresco.com/jira/browse/ADF-872)] - Add ADF prefix ng2-alfresco-documentlist ng2-alfresco-search +- \[[ADF-873](https://issues.alfresco.com/jira/browse/ADF-873)] - Add ADF prefix ng2-alfresco-webscript ng2-alfresco-viewer +- \[[ADF-874](https://issues.alfresco.com/jira/browse/ADF-874)] - Add ADF prefix ng2-activiti-diagrams ng2-alfresco-analytics +- \[[ADF-875](https://issues.alfresco.com/jira/browse/ADF-875)] - Add ADF prefix ng2-activiti-tasklist ng2-activiti-processlist +- \[[ADF-876](https://issues.alfresco.com/jira/browse/ADF-876)] - Add ADF prefix ng2-activiti-form +- \[[ADF-924](https://issues.alfresco.com/jira/browse/ADF-924)] - Upload Component - Import the logic/design from EFSS +- \[[ADF-973](https://issues.alfresco.com/jira/browse/ADF-973)] - Remove demo projects from components folder +- \[[ADF-992](https://issues.alfresco.com/jira/browse/ADF-992)] - Integrate SFS enhancements to Document List +- \[[ADF-993](https://issues.alfresco.com/jira/browse/ADF-993)] - Integrate SFS enhancements for [Toolbar component](../core/toolbar.component.md) +- \[[ADF-1002](https://issues.alfresco.com/jira/browse/ADF-1002)] - Attachment Task list - Add Drag and drop functionality +- \[[ADF-1030](https://issues.alfresco.com/jira/browse/ADF-1030)] - Datatable - enable isLoading to show the spinner in all the components +- \[[ADF-1044](https://issues.alfresco.com/jira/browse/ADF-1044)] - Activiti Comment - use the new design inside the demoshell +- \[[ADF-1045](https://issues.alfresco.com/jira/browse/ADF-1045)] - Attachment Process list - Improve the functionality +- \[[ADF-1092](https://issues.alfresco.com/jira/browse/ADF-1092)] - Remove DataTable dependency on MDL +- \[[ADF-1103](https://issues.alfresco.com/jira/browse/ADF-1103)] - Add custom tslint rules to avoid unwanted Class and File name prefix +- \[[ADF-1112](https://issues.alfresco.com/jira/browse/ADF-1112)] - Move JS-API related services to ADF core +- \[[ADF-1117](https://issues.alfresco.com/jira/browse/ADF-1117)] - Activiti Start Process - Migrate to MD +- \[[ADF-1120](https://issues.alfresco.com/jira/browse/ADF-1120)] - Remove MDL button wrapper from ADF core +- \[[ADF-1144](https://issues.alfresco.com/jira/browse/ADF-1144)] - Deprecate MDL sidebar in demo shell Please refer to [the Alfresco issue tracker](https://issues.alfresco.com/jira/projects/ADF/issues/ADF-581?filter=allopenissues) for other known issues in this release. If you have more questions, please reply here or contact us using [gitter](https://gitter.im/Alfresco/alfresco-ng2-components). diff --git a/docs/release-notes/RelNote180.md b/docs/release-notes/RelNote180.md index 7e2f91aad9..f79d1e9097 100644 --- a/docs/release-notes/RelNote180.md +++ b/docs/release-notes/RelNote180.md @@ -5,9 +5,37 @@ These release notes provide information for the **1.8.0 release** of Alfresco This is the next **Limited Available** release of Application Development Framework, containing the Angular components to build a Web Application on top of the Alfresco Services. The release can be found on GitHub at [this link.](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/1.7.0) +## Contents + +- [Goals for this release](#goals-for-this-release) +- [Notable new features](#notable-new-features) + - [1. Theming ADF component](#1-theming-adf-component) + - [2. Info Drawer component](#2-info-drawer-component) + - [3. Form style component enhancements]\(#3-form-style-component enhancements) + - [4. Empty form template](#4-empty-form-template) + - [5. Form Validation Enhancements](#5-form-validation-enhancements) + - [6. FormFieldModel/FormModel improvements](#6-formfieldmodelformmodel-improvements) + - [7. DataTable Accessibility Improvements]\(#7-datatable accessibility-improvements) + - [8. Copy and move component enhancements](#8-copy-and-move-component-enhancements) + - [9. Download as a ZIP functionality](#9-download-as-a-zip-functionality) + - [10. Tooltips for DataTable/DocumentList cells](#10-tooltips-for-datatabledocumentlist-cells) + - [11. Profile picture in Comments and Involved people](#11-profile-picture-in-comments-and-involved-people) + - [12. Support for additional data sources in Document List](#12-support-for-additional-data-sources-in-document-list) + - [13. Directive to disable element or component based on node permission](#13-directive-to-disable-element-or-component-based-on-node-permission) + - [14. Task/Process Audit Log Directive](#14-taskprocess-audit-log-directive) + - [15. Task List Pagination](#15-task-list-pagination) + - [16. Migrate to @angular/material date picker component](#16-migrate-to-angularmaterial-date-picker-component) + - [17. File Viewer design update and new features](#17-file-viewer-design-update-and-new-features) +- [References](#references) +- [Issues addressed](#issues-addressed) +- [Documentation](#documentation) +- [Bug](#bug) +- [New Feature](#new-feature) +- [Task](#task) + ## Goals for this release -In the ADF 1.8 release we've introduced a number of new generic features, such as Info Drawer, theming capabilities and lots of form customizations and accessibility. The task list now works with the pagination component and we have started the work to completely redesign the viewer component. +In the ADF 1.8 release we've introduced a number of new generic features, such as Info Drawer, theming capabilities and lots of form customizations and accessibility. The task list now works with the [pagination component](../core/pagination.component.md) and we have started the work to completely redesign the [viewer component](../core/viewer.component.md). We continue the effort to migrate to @angular/material, it will be a few more releases before we wrap up that work. The data table and document list continue to get new features and enhancements, with the new data sources and layout presets we open up possibilities for externalizing the layout and sources for the document list. This release builds on last month's contains bug fixes and new feature. See the list below for major details. @@ -19,13 +47,13 @@ Please report issues with this release in the [issue tracker](https://github.co Below the most relevant features of this release: - Theming ADF component -- Info Drawer component -- Form style component enhancements +- [Info Drawer component](../core/info-drawer.component.md) +- [`Form`](../../lib/process-services/task-list/models/form.model.ts) style component enhancements - Empty form template - Additional data sources input for Document List -- Form validation enhancements +- [`Form`](../../lib/process-services/task-list/models/form.model.ts) validation enhancements - FormFieldModel/FormModelimprovements -- DataTable** **Accessibility Improvements +- DataTable\*\* \*\*Accessibility Improvements - Copy and move component enhancements - Download as a ZIP functionality - Tooltips for DataTable/DocumentList cells @@ -33,7 +61,7 @@ Below the most relevant features of this release: - Support for additional data sources in Document List - Directive to disable element or component based on node permission - Task/Process Audit Log Directive -- Task List Pagination +- Task List [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) - Migrate to @angular/material date picker component - File Viewer design update and new features @@ -46,7 +74,7 @@ When you want more customization than a pre-built theme offers, you can create y ### 2. Info Drawer component -It is now possible to use the Info Drawer component, which gives you a sidebar like look with tabbing support. For more information about the usage, check the documentation in the core package. +It is now possible to use the [Info Drawer component,](../core/info-drawer.component.md) which gives you a sidebar like look with tabbing support. For more information about the usage, check the documentation in the core package. ![](images/info-drawer.gif) @@ -60,60 +88,52 @@ We have completed the transition from mdl to material2 for the form components. You can now add an empty template that will be shown if no form definition are present -``` - -   
-      

Empty form

-    
-
-``` + +    
+       

Empty form

+     
+
### 5. Form Validation Enhancements -New events that allow taking control over the Form and Field validation: +New events that allow taking control over the [`Form`](../../lib/process-services/task-list/models/form.model.ts) and Field validation: -``` -validateForm: Subject -validateFormField: Subject() -``` + validateForm: Subject + validateFormField: Subject() -The [validateForm](https://github.com/Alfresco/alfresco-ng2-components/blob/development/ng2-components/ng2-activiti-form/src/events/validate-form.event.ts) event is raised every time the entire Form is re-validated. This happens also every time a field value or some of the properties is changed (for example the "required" property). The [validateFormField](https://github.com/Alfresco/alfresco-ng2-components/blob/development/ng2-components/ng2-activiti-form/src/events/validate-form-field.event.ts) event is raised every time a single Form Field is re-validated. +The [validateForm](https://github.com/Alfresco/alfresco-ng2-components/blob/development/ng2-components/ng2-activiti-form/src/events/validate-form.event.ts) event is raised every time the entire [`Form`](../../lib/process-services/task-list/models/form.model.ts) is re-validated. This happens also every time a field value or some of the properties is changed (for example the "required" property). The [validateFormField](https://github.com/Alfresco/alfresco-ng2-components/blob/development/ng2-components/ng2-activiti-form/src/events/validate-form-field.event.ts) event is raised every time a single [`Form`](../../lib/process-services/task-list/models/form.model.ts) Field is re-validated. Both events are "cancellable", that means you can apply your own validation rules, change corresponding field validation state, or even prevent the default behaviour if needed. Example: -``` -this.formService.validateFormField.subscribe( -  (event: ValidateFormFieldEvent) => { -    const field = event.field; -    const form = event.form; -    // do some custom validation based on field or form + this.formService.validateFormField.subscribe( +   (event: ValidateFormFieldEvent) => { +     const field = event.field; +     const form = event.form; +     // do some custom validation based on field or form -    // set validation as "failed" and prevent any further checks -    event.isValid = false; -    event.preventDefault(); -  } -); -``` +     // set validation as "failed" and prevent any further checks +     event.isValid = false; +     event.preventDefault(); +   } + ); ### 6. FormFieldModel/FormModel improvements #### FormFieldModel -The "required" property now re-validates the corresponding Field and entire Form upon every change. That enables scenarios when the "required" constraint is changed dynamically for a field based on some external factors. +The "required" property now re-validates the corresponding Field and entire [`Form`](../../lib/process-services/task-list/models/form.model.ts) upon every change. That enables scenarios when the "required" constraint is changed dynamically for a field based on some external factors. #### FormModel New "getFieldById" method to simplify certain scenarios when accessing multiple fields by id -``` -getFieldById(fieldId: string): FormFieldModel -``` + getFieldById(fieldId: string): FormFieldModel -The Form now controls all Field validators. It becomes possible managing existing validator instances, replacing them, or extending form validation with custom rules and error messages. The "adf-form" component now also supports binding custom validator sets to the underlying FormModel, that allows defining validation sets in your code and binding via HTML. +The [`Form`](../../lib/process-services/task-list/models/form.model.ts) now controls all Field validators. It becomes possible managing existing validator instances, replacing them, or extending form validation with custom rules and error messages. The "adf-form" component now also supports binding custom validator sets to the underlying [FormModel,](../../lib/core/form/components/widgets/core/form.model.ts) that allows defining validation sets in your code and binding via HTML. -You can read more details on the new Validation layer in the Form readme: [Form Field Validators](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-activiti-form#form-field-validators). The "demo shell" application has been also extended to demonstrate custom validators in action. You can check the code here: [Demo Field Validator](https://github.com/Alfresco/alfresco-ng2-components/blob/development/demo-shell-ng2/app/components/activiti/demo-field-validator.ts). +You can read more details on the new Validation layer in the [`Form`](../../lib/process-services/task-list/models/form.model.ts) readme: [Form Field Validators](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-activiti-form#form-field-validators). The "demo shell" application has been also extended to demonstrate custom validators in action. You can check the code here: [Demo Field Validator](https://github.com/Alfresco/alfresco-ng2-components/blob/development/demo-shell-ng2/app/components/activiti/demo-field-validator.ts). ### 7. DataTable Accessibility Improvements @@ -135,7 +155,7 @@ Further enhancements were implemented for the Copy & move dialog. From now, you ### 9. Download as a ZIP functionality -The ADF framework provides support for downloading nodes (Files and Folders) as "ZIP" archives. The **alfresco-js-api** library features new support for the [Downloads](https://api-explorer.alfresco.com/api-explorer/#/downloads) API. In addition, the Core library (ng2-alfresco-core) provides a "DownloadZipDialogComponent" that allows invoking "Download as Zip" dialogues from any place in your code. +The ADF framework provides support for downloading nodes (Files and Folders) as "ZIP" archives. The **alfresco-js-api** library features new support for the [Downloads](https://api-explorer.alfresco.com/api-explorer/#/downloads) API. In addition, the Core library (ng2-alfresco-core) provides a ["DownloadZipDialogComponent"](../../lib/content-services/dialogs/download-zip.dialog.ts) that allows invoking "Download as Zip" dialogues from any place in your code. ![](images/download-as-zip.gif) @@ -145,36 +165,32 @@ You can see a working button handler code in the following [resource](https://gi It is now possible to provide a custom tooltip for every column in the DataTable and derived components. -``` - - -``` + + And the code behind in this case can be as follows: -``` -import { DataColumn, DataRow } from 'ng2-alfresco-datatable'; + import { DataColumn, DataRow } from 'ng2-alfresco-datatable'; -@Component({...}) -export class MyComponent { -    ... + @Component({...}) + export class MyComponent { +     ... -    getNodeNameTooltip(row: DataRow, col: DataColumn): string { -        if (row) { -            return row.getValue('name'); -        } -        return null; -    } -} -``` +     getNodeNameTooltip(row: DataRow, col: DataColumn): string { +         if (row) { +             return row.getValue('name'); +         } +         return null; +     } + } ### 11. Profile picture in Comments and Involved people -With the new ADF release, if the user has a profile picture, it will be shown inside the Comment/Involved People component: +With the new ADF release, if the user has a profile picture, it will be shown inside the Comment/Involved [People component](../process-services/people.component.md): ![involved people component with images](images/Screen+Shot+2017-09-05+at+11.31.50.png) @@ -196,11 +212,11 @@ You can get more details on the column types in the "[Column Types](https://gith DocumentList now also supports extra data sources. You can now set the "**currentFolderId**" property to one of the following values: -- -trashcan- -- -sharedlinks- -- -sites- -- -favorites- -- -recent- +- \-trashcan- +- \-sharedlinks- +- \-sites- +- \-favorites- +- \-recent- The component provides reasonable column defaults for each custom source, so you can use an empty **adf-document-list** tag in HTML templates, and the layout will be automatically adopted. @@ -214,19 +230,17 @@ The Core ADF library (ng2-alfresco-core) features a new **adf-node-permission** For example toggling the state of the toolbar button based on the DocumentList selection state (selected nodes): -``` - -    - + +     + - - ... - -``` + + ... + You can find all the details and usage examples in the directive documentation: [Node Permission Directive](https://github.com/Alfresco/alfresco-ng2-components/tree/development/ng2-components/ng2-alfresco-core#node-permission-directive). @@ -239,16 +253,15 @@ In the case you are using the **adf-process-audit**  the only parameters that - fileName - format (pdf or json) -``` - -``` + + You can see how it looks like the button after the bind: @@ -264,16 +277,15 @@ In the case you are using the **adf-task-audit**  the only parameters that ar - fileName - format (pdf or json) -``` - -``` + + You can see how it looks like the button after the bind: @@ -293,85 +305,81 @@ This is how the pagination looks like: tasklist-pagination.html -``` - - + + - - -``` + + tasklist-pagination.ts -``` -import { Component, OnInit } from '@angular/core'; -import { Pagination } from 'alfresco-js-api'; -import { TaskListService } from 'ng2-activiti-tasklist'; + import { Component, OnInit } from '@angular/core'; + import { Pagination } from 'alfresco-js-api'; + import { TaskListService } from 'ng2-activiti-tasklist'; -@Component({ -    selector: 'tasklist-paginator', -    templateUrl: './activiti-tasklist-paginator.component.html' -}) -export class TasklistPaginatorComponent implements OnInit { + @Component({ +     selector: 'tasklist-paginator', +     templateUrl: './activiti-tasklist-paginator.component.html' + }) + export class TasklistPaginatorComponent implements OnInit { -    pagination: Pagination = { -        skipCount: 0, -        maxItems: 5, -        totalItems: -    }; +     pagination: Pagination = { +         skipCount: 0, +         maxItems: 5, +         totalItems: +     }; -    page: number = 0; +     page: number = 0; -    constructor(private taskListService: TaskListService) { -    } +     constructor(private taskListService: TaskListService) { +     } -    ngOnInit() { -        this.taskListService.tasksList$.subscribe( -            (tasks) => { -                this.pagination = {count: tasks.data.length, maxItems: this.pagination.maxItems, skipCount: this.pagination.skipCount, totalItems: tasks.total}; -            }, (err) => { -            console.log('err'); -        }); +     ngOnInit() { +         this.taskListService.tasksList$.subscribe( +             (tasks) => { +                 this.pagination = {count: tasks.data.length, maxItems: this.pagination.maxItems, skipCount: this.pagination.skipCount, totalItems: tasks.total}; +             }, (err) => { +             console.log('err'); +         }); -    } +     } -    onPrevPage(pagination: Pagination): void { -        this.pagination.skipCount = pagination.skipCount; -        this.page--; -    } +     onPrevPage(pagination: Pagination): void { +         this.pagination.skipCount = pagination.skipCount; +         this.page--; +     } -    onNextPage(pagination: Pagination): void { -        this.pagination.skipCount = pagination.skipCount; -        this.page++; -    } +     onNextPage(pagination: Pagination): void { +         this.pagination.skipCount = pagination.skipCount; +         this.page++; +     } -    onChangePageSize(pagination: Pagination): void { -        const { maxItems, skipCount } = pagination; -        this.page = (skipCount && maxItems) ? Math.floor(skipCount / maxItems) : 0; -        this.pagination.maxItems = maxItems; -        this.pagination.skipCount = skipCount; -    } +     onChangePageSize(pagination: Pagination): void { +         const { maxItems, skipCount } = pagination; +         this.page = (skipCount && maxItems) ? Math.floor(skipCount / maxItems) : 0; +         this.pagination.maxItems = maxItems; +         this.pagination.skipCount = skipCount; +     } -    onChangePageNumber(pagination: Pagination): void { -        this.pagination.skipCount = pagination.skipCount; -        this.page = Math.floor(pagination.skipCount / pagination.maxItems); -    } +     onChangePageNumber(pagination: Pagination): void { +         this.pagination.skipCount = pagination.skipCount; +         this.page = Math.floor(pagination.skipCount / pagination.maxItems); +     } -} -``` + } You can still tune the styles for the focus rings from within your application, or switch them off if needed via custom css. @@ -390,11 +398,9 @@ In the current release, you can test a basic implementation of the Viewer Dialog This dialogue does not require extra HTML elements in your templates and can be opened from any place in your code using Viewer Service: -``` -if (node.isFile) { -  this.viewerService.showViewerForNode(node); -} -``` + if (node.isFile) { +   this.viewerService.showViewerForNode(node); + } Note that the dialog component and the underlying service are in the early preview and APIs are subject to change in the future releases. @@ -428,137 +434,137 @@ Release Notes - Apps Development Framework - Version 1.8. ## Documentation -- [[ADF-1281](https://issues.alfresco.com/jira/browse/ADF-1281)] - Test naming convention in the contribution guide +- \[[ADF-1281](https://issues.alfresco.com/jira/browse/ADF-1281)] - Test naming convention in the contribution guide ## Bug -- [[ADF-129](https://issues.alfresco.com/jira/browse/ADF-129)] - Erratic Data Picker - GitHub 1223 -- [[ADF-224](https://issues.alfresco.com/jira/browse/ADF-224)] - Custom stencil components not getting rendered on a completed task/start form - 1597 Github -- [[ADF-662](https://issues.alfresco.com/jira/browse/ADF-662)] - Cannot preview document on completed start event -- [[ADF-1048](https://issues.alfresco.com/jira/browse/ADF-1048)] - [Form] Multiple files attached to a task within a form are not displayed -- [[ADF-1052](https://issues.alfresco.com/jira/browse/ADF-1052)] - [Process Services] - Left and right menu arrows are not active. -- [[ADF-1095](https://issues.alfresco.com/jira/browse/ADF-1095)] - Date Range picker remains on screen. -- [[ADF-1096](https://issues.alfresco.com/jira/browse/ADF-1096)] - Process details are not fully displayed on Process Definition Heat Map. -- [[ADF-1143](https://issues.alfresco.com/jira/browse/ADF-1143)] - [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form. -- [[ADF-1197](https://issues.alfresco.com/jira/browse/ADF-1197)] - Cannot upload more than one files on a form. -- [[ADF-1208](https://issues.alfresco.com/jira/browse/ADF-1208)] - [Safari] Favorites Api service returns invalid dates for "createdAt" and "modifiedAt" fields. -- [[ADF-1219](https://issues.alfresco.com/jira/browse/ADF-1219)] - Folder contents are not displayed when double clicking an empty folder in Search Page component -- [[ADF-1252](https://issues.alfresco.com/jira/browse/ADF-1252)] - When closing the Process Diagram the Tasks page is displayed -- [[ADF-1259](https://issues.alfresco.com/jira/browse/ADF-1259)] - Process Filter - Wrong process filter is selected when a new process is created -- [[ADF-1262](https://issues.alfresco.com/jira/browse/ADF-1262)] - Breadcrumb does not shrink when part of the Toolbar header -- [[ADF-1265](https://issues.alfresco.com/jira/browse/ADF-1265)] - Task Header - Datapicker is not showed in the middle -- [[ADF-1267](https://issues.alfresco.com/jira/browse/ADF-1267)] - [Datatable] csra 508 add tabbing datatable - 2157 Github -- [[ADF-1286](https://issues.alfresco.com/jira/browse/ADF-1286)] - getProfilePicture in userApi on alfresco-js-api doesn't return nothing. -- [[ADF-1307](https://issues.alfresco.com/jira/browse/ADF-1307)] - Header Bar colour should always be orange. -- [[ADF-1313](https://issues.alfresco.com/jira/browse/ADF-1313)] - isLoggedIn method of EcmAuth client is returning "true" when ticket expires - 2178 Github -- [[ADF-1316](https://issues.alfresco.com/jira/browse/ADF-1316)] - Can not assign a task to a user without an actual email address -- [[ADF-1327](https://issues.alfresco.com/jira/browse/ADF-1327)] - Attach File widget is not displayed. -- [[ADF-1328](https://issues.alfresco.com/jira/browse/ADF-1328)] - Multi-line text widget is not displaying a value after completing a form. -- [[ADF-1329](https://issues.alfresco.com/jira/browse/ADF-1329)] - "Multi-line text" widget is not rendered properly. -- [[ADF-1346](https://issues.alfresco.com/jira/browse/ADF-1346)] - Attachment list component is shown for completed tasks/processes -- [[ADF-1348](https://issues.alfresco.com/jira/browse/ADF-1348)] - Upload Dialog - 'Cancel All' button does not render -- [[ADF-1360](https://issues.alfresco.com/jira/browse/ADF-1360)] - An error appears in console when clicking on Content Services in Demo Shell -- [[ADF-1368](https://issues.alfresco.com/jira/browse/ADF-1368)] - A file deleted from Document List is still displayed as uploaded in Uploader -- [[ADF-1370](https://issues.alfresco.com/jira/browse/ADF-1370)] - PDF viewer not using web worker -- [[ADF-1384](https://issues.alfresco.com/jira/browse/ADF-1384)] - ADF Form - The placeholder is overlapping the label -- [[ADF-1386](https://issues.alfresco.com/jira/browse/ADF-1386)] - if pagination attribute is undefined shows inconsistent range -- [[ADF-1394](https://issues.alfresco.com/jira/browse/ADF-1394)] - Favorites Api not passing the "include" settings to server -- [[ADF-1395](https://issues.alfresco.com/jira/browse/ADF-1395)] - The title of the reports is not aligned. -- [[ADF-1407](https://issues.alfresco.com/jira/browse/ADF-1407)] - Editing a Report title should be aligned. -- [[ADF-1419](https://issues.alfresco.com/jira/browse/ADF-1419)] - Document List does not show node icon for certain nodes -- [[ADF-1420](https://issues.alfresco.com/jira/browse/ADF-1420)] - [Copy/Move] A folder selected in 'Destination chooser' dialog does not get deselected when selecting it's parent folder -- [[ADF-1425](https://issues.alfresco.com/jira/browse/ADF-1425)] - [Copy/Move]The list of folders is not changed when selecting a site in the 'Destination chooser' dialog -- [[ADF-1426](https://issues.alfresco.com/jira/browse/ADF-1426)] - [Copy/Move]The list of folders is not changed when deleting the 'Search' field input in the 'Destination chooser' dialog -- [[ADF-1428](https://issues.alfresco.com/jira/browse/ADF-1428)] - User is not able to copy/move a file/folder to the root folder. -- [[ADF-1432](https://issues.alfresco.com/jira/browse/ADF-1432)] - Can not create a task -- [[ADF-1442](https://issues.alfresco.com/jira/browse/ADF-1442)] - No able to navigate to a task from within a process. -- [[ADF-1454](https://issues.alfresco.com/jira/browse/ADF-1454)] - [Login Demo] - Switches on Login Page have wrong behaviour. -- [[ADF-1456](https://issues.alfresco.com/jira/browse/ADF-1456)] - timeAgo Pipe - Return invalid date when the input is empty -- [[ADF-1458](https://issues.alfresco.com/jira/browse/ADF-1458)] - 'Enable upload' button is not working. -- [[ADF-1459](https://issues.alfresco.com/jira/browse/ADF-1459)] - Filter selection is not displayed. -- [[ADF-1466](https://issues.alfresco.com/jira/browse/ADF-1466)] - Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error -- [[ADF-1476](https://issues.alfresco.com/jira/browse/ADF-1476)] - Row borders (top and bottom) overlap each other for DataTable -- [[ADF-1478](https://issues.alfresco.com/jira/browse/ADF-1478)] - Pagination is not properly displayed when resizing the browser window. -- [[ADF-1479](https://issues.alfresco.com/jira/browse/ADF-1479)] - Pagination is not working properly on Document List. -- [[ADF-1480](https://issues.alfresco.com/jira/browse/ADF-1480)] - Padding is missing from Task List. -- [[ADF-1484](https://issues.alfresco.com/jira/browse/ADF-1484)] - Switching to custom data source won't change default column layout in DL -- [[ADF-1485](https://issues.alfresco.com/jira/browse/ADF-1485)] - 'Sorting' options are not visible on the Document List. -- [[ADF-1486](https://issues.alfresco.com/jira/browse/ADF-1486)] - Pagination arrows are not visible on search results. -- [[ADF-1487](https://issues.alfresco.com/jira/browse/ADF-1487)] - Checklist placeholder remains on screen. -- [[ADF-1489](https://issues.alfresco.com/jira/browse/ADF-1489)] - Cannot rate a file -- [[ADF-1490](https://issues.alfresco.com/jira/browse/ADF-1490)] - 'Sorting' options are not visible on the 'About'. -- [[ADF-1491](https://issues.alfresco.com/jira/browse/ADF-1491)] - 'Sorting' options are not visible on 'Form List'. -- [[ADF-1494](https://issues.alfresco.com/jira/browse/ADF-1494)] - Padding and highlighting missing on process list -- [[ADF-1495](https://issues.alfresco.com/jira/browse/ADF-1495)] - Task List is not loading. -- [[ADF-1497](https://issues.alfresco.com/jira/browse/ADF-1497)] - Image not displayed when folder is empty -- [[ADF-1498](https://issues.alfresco.com/jira/browse/ADF-1498)] - Pagination on Task List is not aligned when having two tasks or more. -- [[ADF-1499](https://issues.alfresco.com/jira/browse/ADF-1499)] - Advanced "Date Widget" properties do not apply on Demo Shell. -- [[ADF-1500](https://issues.alfresco.com/jira/browse/ADF-1500)] - Dynamic table does not display column names. -- [[ADF-1501](https://issues.alfresco.com/jira/browse/ADF-1501)] - Date widget value is not updated when is cleared. -- [[ADF-1502](https://issues.alfresco.com/jira/browse/ADF-1502)] - AoT problems when using ADF with Angular CLI -- [[ADF-1509](https://issues.alfresco.com/jira/browse/ADF-1509)] - 'Form Name' displays 'No form' after editing 'Due Date' or 'Description'. -- [[ADF-1510](https://issues.alfresco.com/jira/browse/ADF-1510)] - Report button tooltips are missing translation. -- [[ADF-1512](https://issues.alfresco.com/jira/browse/ADF-1512)] - Form is expanding when required label is displayed. -- [[ADF-1513](https://issues.alfresco.com/jira/browse/ADF-1513)] - Form List doesn't display form Tabs. +- \[[ADF-129](https://issues.alfresco.com/jira/browse/ADF-129)] - Erratic Data Picker - GitHub 1223 +- \[[ADF-224](https://issues.alfresco.com/jira/browse/ADF-224)] - Custom stencil components not getting rendered on a completed task/start form - 1597 Github +- \[[ADF-662](https://issues.alfresco.com/jira/browse/ADF-662)] - Cannot preview document on completed start event +- \[[ADF-1048](https://issues.alfresco.com/jira/browse/ADF-1048)] - [Form] Multiple files attached to a task within a form are not displayed +- \[[ADF-1052](https://issues.alfresco.com/jira/browse/ADF-1052)] - [Process Services] - Left and right menu arrows are not active. +- \[[ADF-1095](https://issues.alfresco.com/jira/browse/ADF-1095)] - Date Range picker remains on screen. +- \[[ADF-1096](https://issues.alfresco.com/jira/browse/ADF-1096)] - Process details are not fully displayed on Process Definition Heat Map. +- \[[ADF-1143](https://issues.alfresco.com/jira/browse/ADF-1143)] - [TaskList] - Not able to start a task when changing the assignee from the 'Start Task' form. +- \[[ADF-1197](https://issues.alfresco.com/jira/browse/ADF-1197)] - Cannot upload more than one files on a form. +- \[[ADF-1208](https://issues.alfresco.com/jira/browse/ADF-1208)] - [Safari][favorites api service](../core/favorites-api.service.md) returns invalid dates for "createdAt" and "modifiedAt" fields. +- \[[ADF-1219](https://issues.alfresco.com/jira/browse/ADF-1219)] - Folder contents are not displayed when double clicking an empty folder in Search Page component +- \[[ADF-1252](https://issues.alfresco.com/jira/browse/ADF-1252)] - When closing the Process Diagram the Tasks page is displayed +- \[[ADF-1259](https://issues.alfresco.com/jira/browse/ADF-1259)] - Process Filter - Wrong process filter is selected when a new process is created +- \[[ADF-1262](https://issues.alfresco.com/jira/browse/ADF-1262)] - Breadcrumb does not shrink when part of the Toolbar header +- \[[ADF-1265](https://issues.alfresco.com/jira/browse/ADF-1265)] - Task Header - Datapicker is not showed in the middle +- \[[ADF-1267](https://issues.alfresco.com/jira/browse/ADF-1267)] - [Datatable] csra 508 add tabbing datatable - 2157 Github +- \[[ADF-1286](https://issues.alfresco.com/jira/browse/ADF-1286)] - getProfilePicture in userApi on alfresco-js-api doesn't return nothing. +- \[[ADF-1307](https://issues.alfresco.com/jira/browse/ADF-1307)] - Header Bar colour should always be orange. +- \[[ADF-1313](https://issues.alfresco.com/jira/browse/ADF-1313)] - isLoggedIn method of EcmAuth client is returning "true" when ticket expires - 2178 Github +- \[[ADF-1316](https://issues.alfresco.com/jira/browse/ADF-1316)] - Can not assign a task to a user without an actual email address +- \[[ADF-1327](https://issues.alfresco.com/jira/browse/ADF-1327)] - Attach File widget is not displayed. +- \[[ADF-1328](https://issues.alfresco.com/jira/browse/ADF-1328)] - Multi-line text widget is not displaying a value after completing a form. +- \[[ADF-1329](https://issues.alfresco.com/jira/browse/ADF-1329)] - "Multi-line text" widget is not rendered properly. +- \[[ADF-1346](https://issues.alfresco.com/jira/browse/ADF-1346)] - Attachment list component is shown for completed tasks/processes +- \[[ADF-1348](https://issues.alfresco.com/jira/browse/ADF-1348)] - Upload Dialog - 'Cancel All' button does not render +- \[[ADF-1360](https://issues.alfresco.com/jira/browse/ADF-1360)] - An error appears in console when clicking on Content Services in Demo Shell +- \[[ADF-1368](https://issues.alfresco.com/jira/browse/ADF-1368)] - A file deleted from Document List is still displayed as uploaded in Uploader +- \[[ADF-1370](https://issues.alfresco.com/jira/browse/ADF-1370)] - PDF viewer not using web worker +- \[[ADF-1384](https://issues.alfresco.com/jira/browse/ADF-1384)] - ADF [`Form`](../../lib/process-services/task-list/models/form.model.ts) - The placeholder is overlapping the label +- \[[ADF-1386](https://issues.alfresco.com/jira/browse/ADF-1386)] - if pagination attribute is undefined shows inconsistent range +- \[[ADF-1394](https://issues.alfresco.com/jira/browse/ADF-1394)] - Favorites Api not passing the "include" settings to server +- \[[ADF-1395](https://issues.alfresco.com/jira/browse/ADF-1395)] - The title of the reports is not aligned. +- \[[ADF-1407](https://issues.alfresco.com/jira/browse/ADF-1407)] - Editing a Report title should be aligned. +- \[[ADF-1419](https://issues.alfresco.com/jira/browse/ADF-1419)] - Document List does not show node icon for certain nodes +- \[[ADF-1420](https://issues.alfresco.com/jira/browse/ADF-1420)] - [Copy/Move] A folder selected in 'Destination chooser' dialog does not get deselected when selecting it's parent folder +- \[[ADF-1425](https://issues.alfresco.com/jira/browse/ADF-1425)] - [Copy/Move]The list of folders is not changed when selecting a site in the 'Destination chooser' dialog +- \[[ADF-1426](https://issues.alfresco.com/jira/browse/ADF-1426)] - [Copy/Move]The list of folders is not changed when deleting the 'Search' field input in the 'Destination chooser' dialog +- \[[ADF-1428](https://issues.alfresco.com/jira/browse/ADF-1428)] - User is not able to copy/move a file/folder to the root folder. +- \[[ADF-1432](https://issues.alfresco.com/jira/browse/ADF-1432)] - Can not create a task +- \[[ADF-1442](https://issues.alfresco.com/jira/browse/ADF-1442)] - No able to navigate to a task from within a process. +- \[[ADF-1454](https://issues.alfresco.com/jira/browse/ADF-1454)] - [Login Demo] - Switches on Login Page have wrong behaviour. +- \[[ADF-1456](https://issues.alfresco.com/jira/browse/ADF-1456)] - timeAgo Pipe - Return invalid date when the input is empty +- \[[ADF-1458](https://issues.alfresco.com/jira/browse/ADF-1458)] - 'Enable upload' button is not working. +- \[[ADF-1459](https://issues.alfresco.com/jira/browse/ADF-1459)] - Filter selection is not displayed. +- \[[ADF-1466](https://issues.alfresco.com/jira/browse/ADF-1466)] - Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error +- \[[ADF-1476](https://issues.alfresco.com/jira/browse/ADF-1476)] - Row borders (top and bottom) overlap each other for DataTable +- \[[ADF-1478](https://issues.alfresco.com/jira/browse/ADF-1478)] - [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) is not properly displayed when resizing the browser window. +- \[[ADF-1479](https://issues.alfresco.com/jira/browse/ADF-1479)] - [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) is not working properly on Document List. +- \[[ADF-1480](https://issues.alfresco.com/jira/browse/ADF-1480)] - Padding is missing from Task List. +- \[[ADF-1484](https://issues.alfresco.com/jira/browse/ADF-1484)] - Switching to custom data source won't change default column layout in DL +- \[[ADF-1485](https://issues.alfresco.com/jira/browse/ADF-1485)] - 'Sorting' options are not visible on the Document List. +- \[[ADF-1486](https://issues.alfresco.com/jira/browse/ADF-1486)] - [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) arrows are not visible on search results. +- \[[ADF-1487](https://issues.alfresco.com/jira/browse/ADF-1487)] - Checklist placeholder remains on screen. +- \[[ADF-1489](https://issues.alfresco.com/jira/browse/ADF-1489)] - Cannot rate a file +- \[[ADF-1490](https://issues.alfresco.com/jira/browse/ADF-1490)] - 'Sorting' options are not visible on the 'About'. +- \[[ADF-1491](https://issues.alfresco.com/jira/browse/ADF-1491)] - 'Sorting' options are not visible on ['Form](../../lib/process-services/task-list/models/form.model.ts) List'. +- \[[ADF-1494](https://issues.alfresco.com/jira/browse/ADF-1494)] - Padding and highlighting missing on process list +- \[[ADF-1495](https://issues.alfresco.com/jira/browse/ADF-1495)] - Task List is not loading. +- \[[ADF-1497](https://issues.alfresco.com/jira/browse/ADF-1497)] - Image not displayed when folder is empty +- \[[ADF-1498](https://issues.alfresco.com/jira/browse/ADF-1498)] - [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) on Task List is not aligned when having two tasks or more. +- \[[ADF-1499](https://issues.alfresco.com/jira/browse/ADF-1499)] - Advanced "Date Widget" properties do not apply on Demo Shell. +- \[[ADF-1500](https://issues.alfresco.com/jira/browse/ADF-1500)] - Dynamic table does not display column names. +- \[[ADF-1501](https://issues.alfresco.com/jira/browse/ADF-1501)] - Date widget value is not updated when is cleared. +- \[[ADF-1502](https://issues.alfresco.com/jira/browse/ADF-1502)] - AoT problems when using ADF with Angular CLI +- \[[ADF-1509](https://issues.alfresco.com/jira/browse/ADF-1509)] - ['Form](../../lib/process-services/task-list/models/form.model.ts) Name' displays 'No form' after editing 'Due Date' or 'Description'. +- \[[ADF-1510](https://issues.alfresco.com/jira/browse/ADF-1510)] - Report button tooltips are missing translation. +- \[[ADF-1512](https://issues.alfresco.com/jira/browse/ADF-1512)] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) is expanding when required label is displayed. +- \[[ADF-1513](https://issues.alfresco.com/jira/browse/ADF-1513)] - [`Form`](../../lib/process-services/task-list/models/form.model.ts) List doesn't display form Tabs. ## New Feature -- [[ADF-365](https://issues.alfresco.com/jira/browse/ADF-365)] - Add support for 'empty form' template - 1736 Github -- [[ADF-459](https://issues.alfresco.com/jira/browse/ADF-459)] - [Document List] Ability to copy and move documents and folders -- [[ADF-832](https://issues.alfresco.com/jira/browse/ADF-832)] - Migrate to @angular/material date picker component -- [[ADF-1021](https://issues.alfresco.com/jira/browse/ADF-1021)] - Provide ability defining tooltips for DataTable/DocumentList cells -- [[ADF-1041](https://issues.alfresco.com/jira/browse/ADF-1041)] - Copy and Move Component -- [[ADF-1051](https://issues.alfresco.com/jira/browse/ADF-1051)] - DT/DL components should apply i18n pipes for the title content out of the box -- [[ADF-1083](https://issues.alfresco.com/jira/browse/ADF-1083)] - The profile picture is not displayed at 'Comments' and 'Involved people' in a task -- [[ADF-1213](https://issues.alfresco.com/jira/browse/ADF-1213)] - Provide ability to rename root element name in Breadcrumb -- [[ADF-1220](https://issues.alfresco.com/jira/browse/ADF-1220)] - Provide support for additional data sources in Document List -- [[ADF-1227](https://issues.alfresco.com/jira/browse/ADF-1227)] - Directive to disable element or component based on node permission -- [[ADF-1234](https://issues.alfresco.com/jira/browse/ADF-1234)] - DataTable and DocumentList should not unselect on double-click -- [[ADF-1261](https://issues.alfresco.com/jira/browse/ADF-1261)] - Task Audit Log Directive -- [[ADF-1287](https://issues.alfresco.com/jira/browse/ADF-1287)] - Fix issues related to noUnusedLocals rule in TypeScript -- [[ADF-1300](https://issues.alfresco.com/jira/browse/ADF-1300)] - Download as a ZIP functionality demo (5.2.1 repo) -- [[ADF-1318](https://issues.alfresco.com/jira/browse/ADF-1318)] - Create 'time ago' date converter -- [[ADF-1356](https://issues.alfresco.com/jira/browse/ADF-1356)] - Single configuration of i18n service per project -- [[ADF-1372](https://issues.alfresco.com/jira/browse/ADF-1372)] - Provide support for custom tooltips for Upload Button component -- [[ADF-1404](https://issues.alfresco.com/jira/browse/ADF-1404)] - Data Column enhancements for Document List -- [[ADF-1421](https://issues.alfresco.com/jira/browse/ADF-1421)] - Provide default column layout for Document List -- [[ADF-1427](https://issues.alfresco.com/jira/browse/ADF-1427)] - Show custom root in the breadcrumb even if node is not loaded -- [[ADF-1434](https://issues.alfresco.com/jira/browse/ADF-1434)] - Theming ADF component -- [[ADF-1435](https://issues.alfresco.com/jira/browse/ADF-1435)] - Info Drawer +- \[[ADF-365](https://issues.alfresco.com/jira/browse/ADF-365)] - Add support for 'empty form' template - 1736 Github +- \[[ADF-459](https://issues.alfresco.com/jira/browse/ADF-459)] - [Document List] Ability to copy and move documents and folders +- \[[ADF-832](https://issues.alfresco.com/jira/browse/ADF-832)] - Migrate to @angular/material date picker component +- \[[ADF-1021](https://issues.alfresco.com/jira/browse/ADF-1021)] - Provide ability defining tooltips for DataTable/DocumentList cells +- \[[ADF-1041](https://issues.alfresco.com/jira/browse/ADF-1041)] - Copy and Move Component +- \[[ADF-1051](https://issues.alfresco.com/jira/browse/ADF-1051)] - DT/DL components should apply i18n pipes for the title content out of the box +- \[[ADF-1083](https://issues.alfresco.com/jira/browse/ADF-1083)] - The profile picture is not displayed at 'Comments' and 'Involved people' in a task +- \[[ADF-1213](https://issues.alfresco.com/jira/browse/ADF-1213)] - Provide ability to rename root element name in Breadcrumb +- \[[ADF-1220](https://issues.alfresco.com/jira/browse/ADF-1220)] - Provide support for additional data sources in Document List +- \[[ADF-1227](https://issues.alfresco.com/jira/browse/ADF-1227)] - Directive to disable element or component based on node permission +- \[[ADF-1234](https://issues.alfresco.com/jira/browse/ADF-1234)] - DataTable and DocumentList should not unselect on double-click +- \[[ADF-1261](https://issues.alfresco.com/jira/browse/ADF-1261)] - Task Audit Log Directive +- \[[ADF-1287](https://issues.alfresco.com/jira/browse/ADF-1287)] - Fix issues related to noUnusedLocals rule in TypeScript +- \[[ADF-1300](https://issues.alfresco.com/jira/browse/ADF-1300)] - Download as a ZIP functionality demo (5.2.1 repo) +- \[[ADF-1318](https://issues.alfresco.com/jira/browse/ADF-1318)] - Create 'time ago' date converter +- \[[ADF-1356](https://issues.alfresco.com/jira/browse/ADF-1356)] - Single configuration of i18n service per project +- \[[ADF-1372](https://issues.alfresco.com/jira/browse/ADF-1372)] - Provide support for custom tooltips for [Upload Button component](../content-services/upload-button.component.md) +- \[[ADF-1404](https://issues.alfresco.com/jira/browse/ADF-1404)] - Data Column enhancements for Document List +- \[[ADF-1421](https://issues.alfresco.com/jira/browse/ADF-1421)] - Provide default column layout for Document List +- \[[ADF-1427](https://issues.alfresco.com/jira/browse/ADF-1427)] - Show custom root in the breadcrumb even if node is not loaded +- \[[ADF-1434](https://issues.alfresco.com/jira/browse/ADF-1434)] - Theming ADF component +- \[[ADF-1435](https://issues.alfresco.com/jira/browse/ADF-1435)] - Info Drawer ## Task -- [[ADF-1188](https://issues.alfresco.com/jira/browse/ADF-1188)] - Upload drag drop component - Add a property to disable the component -- [[ADF-1306](https://issues.alfresco.com/jira/browse/ADF-1306)] - Process Task Audit Directive -- [[ADF-1309](https://issues.alfresco.com/jira/browse/ADF-1309)] - Pagination of task list -- [[ADF-714](https://issues.alfresco.com/jira/browse/ADF-714)] - Unify pagination across all components -- [[ADF-1116](https://issues.alfresco.com/jira/browse/ADF-1116)] - Task list without any status filter -- [[ADF-1139](https://issues.alfresco.com/jira/browse/ADF-1139)] - People Search - Provide a way to reset the search field when a user is selected -- [[ADF-852](https://issues.alfresco.com/jira/browse/ADF-852)] - [Form] Update Form widget to Material library -- [[ADF-520](https://issues.alfresco.com/jira/browse/ADF-520)] - remove the debug button from Analytics Component -- [[ADF-157](https://issues.alfresco.com/jira/browse/ADF-157)] - upload dialog Wrong number on File Upload Count - 1511 Github -- [[ADF-569](https://issues.alfresco.com/jira/browse/ADF-569)] - Provide support to Undo uploaded files in the Upload component -- [[ADF-720](https://issues.alfresco.com/jira/browse/ADF-720)] - Review all the template use -- [[ADF-994](https://issues.alfresco.com/jira/browse/ADF-994)] - [Pagination] Integrate SFS enhancements for Pagination component -- [[ADF-1180](https://issues.alfresco.com/jira/browse/ADF-1180)] - Add test cases to cover process list component -- [[ADF-1236](https://issues.alfresco.com/jira/browse/ADF-1236)] - Remove mdl from ng2-alfresco-login -- [[ADF-1237](https://issues.alfresco.com/jira/browse/ADF-1237)] - Remove mdl from ng2-alfresco-userinfo -- [[ADF-1239](https://issues.alfresco.com/jira/browse/ADF-1239)] - Remove mdl from ng2-alfresco-social -- [[ADF-1240](https://issues.alfresco.com/jira/browse/ADF-1240)] - Remove mdl from ng2-alfresco-tag -- [[ADF-1241](https://issues.alfresco.com/jira/browse/ADF-1241)] - Remove mdl from ng2-alfresco-upload -- [[ADF-1242](https://issues.alfresco.com/jira/browse/ADF-1242)] - Remove mdl from ng2-alfresco-viewer -- [[ADF-1243](https://issues.alfresco.com/jira/browse/ADF-1243)] - Remove mdl from ng2-alfresco-documentlist -- [[ADF-1244](https://issues.alfresco.com/jira/browse/ADF-1244)] - Remove mdl from ng2-alfresco-datatable -- [[ADF-1270](https://issues.alfresco.com/jira/browse/ADF-1270)] - Upgrade ACS to 5.2.1 -- [[ADF-1340](https://issues.alfresco.com/jira/browse/ADF-1340)] - File Viewer dialog preparation -- [[ADF-1374](https://issues.alfresco.com/jira/browse/ADF-1374)] - Move Download Zip dialog to the ADF -- [[ADF-1378](https://issues.alfresco.com/jira/browse/ADF-1378)] - Remove old MDL toolbar from the Document List -- [[ADF-1381](https://issues.alfresco.com/jira/browse/ADF-1381)] - Implement form control UX -- [[ADF-1388](https://issues.alfresco.com/jira/browse/ADF-1388)] - Add a toggle button for the allowDropFiles property to Demo Shell -- [[ADF-1403](https://issues.alfresco.com/jira/browse/ADF-1403)] - Upload Dialog - Trigger event for deleted files -- [[ADF-1437](https://issues.alfresco.com/jira/browse/ADF-1437)] - Update project generator 1.8. -- [[ADF-1453](https://issues.alfresco.com/jira/browse/ADF-1453)] - Restructure README.md files -- [[ADF-1457](https://issues.alfresco.com/jira/browse/ADF-1457)] - Upload Dialog - Cancel all confirmation dialog -- [[ADF-1468](https://issues.alfresco.com/jira/browse/ADF-1468)] - Upload Dialog - Remove color import +- \[[ADF-1188](https://issues.alfresco.com/jira/browse/ADF-1188)] - Upload drag drop component - Add a property to disable the component +- \[[ADF-1306](https://issues.alfresco.com/jira/browse/ADF-1306)] - Process [Task Audit Directive](../process-services/task-audit.directive.md) +- \[[ADF-1309](https://issues.alfresco.com/jira/browse/ADF-1309)] - [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) of task list +- \[[ADF-714](https://issues.alfresco.com/jira/browse/ADF-714)] - Unify pagination across all components +- \[[ADF-1116](https://issues.alfresco.com/jira/browse/ADF-1116)] - Task list without any status filter +- \[[ADF-1139](https://issues.alfresco.com/jira/browse/ADF-1139)] - People Search - Provide a way to reset the search field when a user is selected +- \[[ADF-852](https://issues.alfresco.com/jira/browse/ADF-852)] - [Form] Update [`Form`](../../lib/process-services/task-list/models/form.model.ts) widget to Material library +- \[[ADF-520](https://issues.alfresco.com/jira/browse/ADF-520)] - remove the debug button from [Analytics Component](../insights/analytics.component.md) +- \[[ADF-157](https://issues.alfresco.com/jira/browse/ADF-157)] - upload dialog Wrong number on File Upload Count - 1511 Github +- \[[ADF-569](https://issues.alfresco.com/jira/browse/ADF-569)] - Provide support to Undo uploaded files in the Upload component +- \[[ADF-720](https://issues.alfresco.com/jira/browse/ADF-720)] - Review all the template use +- \[[ADF-994](https://issues.alfresco.com/jira/browse/ADF-994)] - [Pagination] Integrate SFS enhancements for [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) component +- \[[ADF-1180](https://issues.alfresco.com/jira/browse/ADF-1180)] - Add test cases to cover process list component +- \[[ADF-1236](https://issues.alfresco.com/jira/browse/ADF-1236)] - Remove mdl from ng2-alfresco-login +- \[[ADF-1237](https://issues.alfresco.com/jira/browse/ADF-1237)] - Remove mdl from ng2-alfresco-userinfo +- \[[ADF-1239](https://issues.alfresco.com/jira/browse/ADF-1239)] - Remove mdl from ng2-alfresco-social +- \[[ADF-1240](https://issues.alfresco.com/jira/browse/ADF-1240)] - Remove mdl from ng2-alfresco-tag +- \[[ADF-1241](https://issues.alfresco.com/jira/browse/ADF-1241)] - Remove mdl from ng2-alfresco-upload +- \[[ADF-1242](https://issues.alfresco.com/jira/browse/ADF-1242)] - Remove mdl from ng2-alfresco-viewer +- \[[ADF-1243](https://issues.alfresco.com/jira/browse/ADF-1243)] - Remove mdl from ng2-alfresco-documentlist +- \[[ADF-1244](https://issues.alfresco.com/jira/browse/ADF-1244)] - Remove mdl from ng2-alfresco-datatable +- \[[ADF-1270](https://issues.alfresco.com/jira/browse/ADF-1270)] - Upgrade ACS to 5.2.1 +- \[[ADF-1340](https://issues.alfresco.com/jira/browse/ADF-1340)] - File Viewer dialog preparation +- \[[ADF-1374](https://issues.alfresco.com/jira/browse/ADF-1374)] - Move Download Zip dialog to the ADF +- \[[ADF-1378](https://issues.alfresco.com/jira/browse/ADF-1378)] - Remove old MDL toolbar from the Document List +- \[[ADF-1381](https://issues.alfresco.com/jira/browse/ADF-1381)] - Implement form control UX +- \[[ADF-1388](https://issues.alfresco.com/jira/browse/ADF-1388)] - Add a toggle button for the allowDropFiles property to Demo Shell +- \[[ADF-1403](https://issues.alfresco.com/jira/browse/ADF-1403)] - Upload Dialog - Trigger event for deleted files +- \[[ADF-1437](https://issues.alfresco.com/jira/browse/ADF-1437)] - Update project generator 1.8. +- \[[ADF-1453](https://issues.alfresco.com/jira/browse/ADF-1453)] - Restructure README.md files +- \[[ADF-1457](https://issues.alfresco.com/jira/browse/ADF-1457)] - Upload Dialog - Cancel all confirmation dialog +- \[[ADF-1468](https://issues.alfresco.com/jira/browse/ADF-1468)] - Upload Dialog - Remove color import Please refer to [the Alfresco issue tracker](https://issues.alfresco.com/jira/projects/ADF/issues/ADF-581?filter=allopenissues) for other known issues in this release. If you have more questions, please reply here or contact us using [gitter](https://gitter.im/Alfresco/alfresco-ng2-components). diff --git a/docs/release-notes/RelNote190.md b/docs/release-notes/RelNote190.md index 6c7ec79edf..23e197a0ef 100644 --- a/docs/release-notes/RelNote190.md +++ b/docs/release-notes/RelNote190.md @@ -5,6 +5,29 @@ These release notes provide information for the **1.9.0 release** of Alfresco This is the next **Limited Available** release of Application Development Framework, containing the Angular components to build a Web Application on top of the Alfresco Services. The release can be found on GitHub at [this link.](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/1.7.0) +## Contents + +- [Goals for this release](#goals-for-this-release) +- [Notable new features](#notable-new-features) + - [1.Infinite scrolling](#1infinite-scrolling) + - [2.Requeue option added to adf-task-header]\(#2requeue-option-added-to adf-task-header) + - [3.Tasklist multi-selection support](#3tasklist-multi-selection-support) + - [4.Page Title Service](#4page-title-service) + - [5.Viewer Enhancements]\(#5viewer enhancements) + - [6.Document List Presets](#6document-list-presets) + - [7.Login redirect options](#7login-redirect-options) + - [8.Logout directive](#8logout-directive) + - [9.Breadcrumb enhancements](#9breadcrumb-enhancements) + - [10.Documentation](#10documentation) +- [References](#references) +- [Issues addressed](#issues-addressed) + - [Documentation](#documentation) +- [Feature](#feature) +- [Bug](#bug) +- [New Feature](#new-feature) +- [Task](#task) +- [Feature (Task)](#feature-task) + ## Goals for this release In the ADF 1.9 release we've enhanced a number of components, such as Document List, Viewer and Breadcrumbs. We continue the effort to migrate to @angular/material, only a few more components remain until we are fully switched to Angular Material Design. Again in this release we have enhanced the accessibility and we have started to consolidate, streamline and enhance our documentation. Before everything was inside the individual README.md files, this has now been pulled out into a [separate directory](https://github.com/Alfresco/alfresco-ng2-components/tree/master/docs), and a new [Doc Index](https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/README.md) to help navigate it. @@ -22,11 +45,11 @@ Below the most relevant features of this release: - Infinite scrolling - Requeue option added to adf-task-header - Tasklist now support multi-select -- Page title service +- [Page title service](../core/page-title.service.md) - Viewer enhancements - Document List presets - Login redirect options -- Logout directive +- [Logout directive](../core/logout.directive.md) - Breadcrumb enhancements - Documentation @@ -47,16 +70,14 @@ The requeue feature has been added into the ADF 1.9.0. This means that after a t With the latest code, the tasklist component exposes the **multiselect** property. If the value is true a checkbox is rendered at the beginning of each row. In this way, the user can select more than one row. -``` - - -``` + + -### +### This is the result: @@ -64,35 +85,31 @@ This is the result: The component also provides a new event **rowSelected** that contains all the selected rows: -``` - - -``` + + ![task list rowsSelected ](images/Screen+Shot+2017-10-09+at+16.01.46.png) ### 4.Page Title Service -The 1.9.0 version features a new service "PageTitleService" in the "ng2-alfresco-core" package. This service allows changing the title of the page (browser tab) on demand from the code. The format of the title is always "<Application Name> - <Title>" where "<Application Name>" is taken from the application configuration file: +The 1.9.0 version features a new service ["PageTitleService"](../core/page-title.service.md) in the "ng2-alfresco-core" package. This service allows changing the title of the page (browser tab) on demand from the code. The format of the title is always "<Application Name> - <Title>" where "<Application Name>" is taken from the application configuration file: -``` -{ -  "application": { -    "name": "Alfresco ADF Appplication" -  } -} -``` + { +   "application": { +     "name": "Alfresco ADF Appplication" +   } + } ### 5.Viewer Enhancements -Viewer component has been updated with improved UI and support for integration with Angular Router. +[Viewer component](../core/viewer.component.md) has been updated with improved UI and support for integration with Angular Router. The major features and improvements are: -- New toolbar component for all Viewer types +- New [toolbar component](../core/toolbar.component.md) for all Viewer types - Automatic PDF rendition fetching for various content types (".docx", ".pptx", etc.) - Floating action toolbar for the PDF viewer @@ -100,87 +117,78 @@ The major features and improvements are: It is now possible to store layouts for Document List in the global application configuration file ("app.config.json") for default mode or special aliases like "-trashcan-", "-favorites-", etc. The DocumentList component automatically falls back to the defaults if no customizations are present. -``` -{ -    ..., + { +     ..., -    "document-list": { -        "supportedPageSizes": [5, 10, 15, 20], -        "presets": { -            "-trashcan-": [ -                { -                    "key": "$thumbnail", -                    "type": "image", -                    "srTitle": "ADF-DOCUMENT-LIST.LAYOUT.THUMBNAIL", -                    "sortable": false -                }, -                { -                    "key": "name", -                    "type": "text", -                    "title": "ADF-DOCUMENT-LIST.LAYOUT.NAME", -                    "cssClass": "full-width ellipsis-cell", -                    "sortable": true -                }, -                { -                    "key": "path", -                    "type": "location", -                    "title": "ADF-DOCUMENT-LIST.LAYOUT.LOCATION", -                    "format": "/files", -                    "sortable": true -                }, -                { -                    "key": "content.sizeInBytes", -                    "type": "fileSize", -                    "title": "ADF-DOCUMENT-LIST.LAYOUT.SIZE", -                    "sortable": true -                }, -                { -                    "key": "archivedAt", -                    "type": "date", -                    "title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_ON", -                    "format": "timeAgo", -                    "sortable": true -                }, -                { -                    "key": "archivedByUser.displayName", -                    "type": "text", -                    "title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_BY", -                    "sortable": true -                } -            ], +     "document-list": { +         "supportedPageSizes": [5, 10, 15, 20], +         "presets": { +             "-trashcan-": [ +                 { +                     "key": "$thumbnail", +                     "type": "image", +                     "srTitle": "ADF-DOCUMENT-LIST.LAYOUT.THUMBNAIL", +                     "sortable": false +                 }, +                 { +                     "key": "name", +                     "type": "text", +                     "title": "ADF-DOCUMENT-LIST.LAYOUT.NAME", +                     "cssClass": "full-width ellipsis-cell", +                     "sortable": true +                 }, +                 { +                     "key": "path", +                     "type": "location", +                     "title": "ADF-DOCUMENT-LIST.LAYOUT.LOCATION", +                     "format": "/files", +                     "sortable": true +                 }, +                 { +                     "key": "content.sizeInBytes", +                     "type": "fileSize", +                     "title": "ADF-DOCUMENT-LIST.LAYOUT.SIZE", +                     "sortable": true +                 }, +                 { +                     "key": "archivedAt", +                     "type": "date", +                     "title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_ON", +                     "format": "timeAgo", +                     "sortable": true +                 }, +                 { +                     "key": "archivedByUser.displayName", +                     "type": "text", +                     "title": "ADF-DOCUMENT-LIST.LAYOUT.DELETED_BY", +                     "sortable": true +                 } +             ], -            "default": [ -                ... -            ] -        } -    } -} - -``` +             "default": [ +                 ... +             ] +         } +     } + } ### 7.Login redirect options -The Login component provides a new **successRoute** property as a way to automatically redirect the user to the particular application route upon successful sign in. +The [Login component](../core/login.component.md) provides a new **successRoute** property as a way to automatically redirect the user to the particular application route upon successful sign in. -``` - -``` + ### 8.Logout directive You can turn any clickable HTML element or other Angular Component into a Logout feature. ADF provides a new **adf-logout** directive to help you building application menus or toolbar buttons that sign the user out: -``` - -``` + ### 9.Breadcrumb enhancements -The Breadcrumb component exposes a new **rootId** property to allow you restricting the root element to a particular node. Component automatically trims the elements if full node path needs to be cut. You can use this together with the **root** property that allows renaming the root (first) element of the path. +The [Breadcrumb component](../content-services/breadcrumb.component.md) exposes a new **rootId** property to allow you restricting the root element to a particular node. Component automatically trims the elements if full node path needs to be cut. You can use this together with the **root** property that allows renaming the root (first) element of the path. -``` - -``` + ### 10.Documentation @@ -216,145 +224,145 @@ Release Notes - Apps Development Framework - Version 1.9. ### Documentation -- [[ADF-1603](https://issues.alfresco.com/jira/browse/ADF-1603)] - remove all the reference to deprecated `