siva kumar bc5208b767 [ADF-3977] EditProcessComponent - Be able to change the sort and actions (#4250)
* [ADF-3883] Improve edit-process-filter-cloud by adding inputs to control filters, sort and actions

* Provided an input to pass sort properties
* Provided an input to pass filter actions
* Provided a way to configure sort properties and actions

* * Updated unit tests to the recent changes
* Fixed order should be visible if sort as been added to the config
* Fixed if lastModified if defined the component should show the range lastModifiedTo lastModifiedFrom
* Updated doc

* * Removed ProcessFilterActionType* Renamed state to status* Refactored edit-process-filter * Updated doc

* * After rebase

* * Fixed editProcessFilter e2e tests.

* * Removed unwanted comment

* * After rebase

* * After rebase

* * After rebase
2019-03-13 17:10:19 +00:00
..
2019-02-12 01:18:43 +00:00
2017-11-16 14:12:52 +00:00
2018-08-14 15:42:51 +01:00
2018-09-11 12:31:55 +01:00
2018-11-21 16:49:09 +00:00

ADF Demo Application

Please note that this application is not an official product, but a testing and demo application to showcase complex interactions of ADF components.

Installing

To correctly use this demo check that on your machine you have Node version 5.x.x or higher.

git clone https://github.com/Alfresco/alfresco-ng2-components.git
cd alfresco-ng2-components
npm install
npm start

Proxy settings and CORS

To simplify development and reduce the time to get the application started, we have the following Proxy settings:

The settings above address most common scenarios for running ACS on port 8080 and APS on port 9999 and allow you to skip the CORS configuration.

If you would like to change default proxy settings, please edit the proxy.conf.js file.

Application settings (server-side)

All server-side application settings are stored in the src/app.config.json. By default the configuration files have the content similar to the following one:

{
    "$schema": "../../lib/core/app-config/schema.json",
    "ecmHost": "http://{hostname}:{port}",
    "bpmHost": "http://{hostname}:{port}",
    "application": {
        "name": "Alfresco ADF Application"
    }
}

Development build

npm start

This command compiles and starts the project in watch mode. Browser will automatically reload upon changes. Upon start you can navigate to http://localhost:3000 with your preferred browser.

Important notes

This script is recommended for development environment and not suited for headless servers and network access.

Production build

npm run build
npm run start:dist

This command builds project in production mode. All output is placed to dist folder and can be served to your preferred web server. You should need no additional files outside the dist folder.

Development branch build

If you want to run the demo shell with the latest changes from the development branch, use the following command from the /script folder:

npm run start:dev