Files
alfresco-ng2-components/demo-shell-ng2
Will Abson b34a38fcff Allow navigation to folders from search results (#1209)
* Allow navigation to folders from search results

- Uses router to pass ID of the folder
- Modified document list component to accept folder ID without path
- Current limitations
  - Breadcrumb cannot currently be shown when navigating via folder id
  - Clicking between folders does not update the current route

* Allow root folder ID to be changed and have documentlist reload

- e.g switching from Company home to My Files

* New tests for navigating to folders based on ID

Refs #666
2016-12-13 09:30:58 +00:00
..
2016-08-02 10:49:34 +01:00
2016-11-01 14:28:52 +00:00
2016-08-02 10:49:34 +01:00
2016-06-03 17:46:29 +01:00
2016-12-06 15:39:22 +00:00
2016-04-22 22:48:14 +01:00
2016-12-12 14:20:12 +00:00
2016-12-06 15:39:22 +00:00
2016-12-06 15:39:22 +00:00
2016-06-30 11:46:37 +02:00

Alfresco Angular 2 Components

alfresco angular2

style

Installing

To correctly use this demo check that on your machine is running Node version 6.9.2 LTS or higher.

npm install

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.

Production build

npm run build

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

In order to quickly test the output you can use the wsrv tool (lightweight web server):

npm install -g wsrv
wsrv -s -o dist/

Development branch build

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

./npm-clean.sh
./start-linked.sh -install

Multi-language

To support a new language you need to create your language file (.json) and add it to i18n/ folder.

{
        "username" : "Username",
        "input-required-message": "Required",
        "input-min-message": "Your username needs to be at least 4 characters.",
        "login-button": "Login"
}

Directory structure:

.
├── i18n/
│   ├── en.json
│   ├── it.json
│   └── fr.json