diff --git a/docs/README.md b/docs/README.md index a634fc473..b139bd934 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,7 +15,7 @@ with a simple and easy to use interface for working with files stored in the Alf ### Prerequisites -This application utilises the latest releases from Alfresco: +This application uses the latest releases from Alfresco: - [Alfresco ADF version 2.0](https://community.alfresco.com/community/application-development-framework/pages/get-started) - [Alfresco Content Services version 5.2.2](https://www.alfresco.com/platform/content-services-ecm) @@ -26,11 +26,11 @@ You also need [node.js](https://nodejs.org/en/) (8.9.1 or later) installed to bu
The latest version of the Alfresco Content platform is required -due to the application utilising the latest [REST APIs](https://docs.alfresco.com/5.2/pra/1/topics/pra-welcome.html) developments. +due to the application using the latest [REST APIs](https://docs.alfresco.com/5.2/pra/1/topics/pra-welcome.html) developments. ## Where to get help -There are a number of ways to get help with building applications using the Alfresco Application Development Framework: +There are several ways to get help with building applications using the Alfresco Application Development Framework: ### Alfresco DevCon 2018 @@ -85,19 +85,19 @@ Please refer to the "[Using with Docker](/docker)" article for more details. ### How to contribute Fork our repository and submit a pull request when your code is ready for review. -To be considered the Travis build has to be green and all our automation tests have to run without regressions. +To be considered the Travis build must be green and all our automation tests must run without regressions. ### Contribute to the existing code base What are we reviewing for? - **License**: Every file should contain the Alfresco LICENSE header, LGPL Licence. -- **Tests**: Add unit cases to cover the new behaviour, and make sure all the existing tests are still green. +- **Tests**: Add unit cases to cover the new behavior, and make sure all the existing tests are still green. - **JS Documentation**: Every class needs to have its own inline jsdoc, this documentation should explain the general purpose of the class and of each method. - **Documentation**: Update the documentation explaining how to use the new functionality, may not be necessary in the cases where change impacts only the CSS style. - **Clean Coding**: Some good rules are enforced by the tslint, but we want also our code to be easy to read. Please avoid comments inside the code or leaving pieces of code commented out. - **Localization**: Your contribution needs to support localization, with all new strings externalized, all translations are inside the i18n. The minimum requirement is English. -### How long will it take for my contribution to be reviewed? +### How long will it take for my contribution to be reviewed The time necessary for a code review will vary, smaller changes may be reviewed within days, while larger changes may take longer. diff --git a/docs/build.md b/docs/build.md index 0100a765f..cb6ba0232 100644 --- a/docs/build.md +++ b/docs/build.md @@ -35,7 +35,7 @@ You must restart the application every time you change the settings values. ## Running documentation locally For development purposes, you can run and test documentation locally. -That is useful when working in different branches instead of a `master` one. +This is useful when working in different branches instead of a `master` one. Run the following command to install the lightweight development server [wsrv](https://denysvuika.gitlab.io/wsrv/#/): diff --git a/docs/configuration.md b/docs/configuration.md index 6fdd3bf73..8b6387b5e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -40,7 +40,7 @@ Alternatively, you can provide a static address for the ACS server if necessary: ## Application settings -The are many settings you can change to alter the default behavior of the application. +There are many settings you can change to alter the default behavior of the application. ### Application Name @@ -59,6 +59,37 @@ The value of the `application.name` key gets appended to every browser tab title with the format `[page title] - [application name]`, for example: "Personal Files - Alfresco Example Content Application". +### Application Logo + +The default logo displayed in the top left corner of the Alfresco Content Application can be changed with the one you want: + +1. Place the custom logo image file in the [app-name]/src/assets/images folder. The displayed image will be resized to fit the design, but please be aware that an image with extreme width/height might not look good after resizing. + +2. In the app.config.json file, set the value of the application.logo to contain the name of the custom logo image: "logo": "/assets/images/[image-name].[extension]" + + +```json +{ + ..., + "application": { + "logo": "/assets/images/alfresco-logo-white.svg" + } +} +``` + +### Header Background color + +You can change the header background color by specifying the wanted color code for the "headerColor" key: + + +```json +{ + ..., + "headerColor": "#2196F3" +} +``` + + ### Restricted content You can restrict users from uploading certain types of files and folders by setting or extending the list of rules at the "files.excluded" path. diff --git a/docs/cors.md b/docs/cors.md index f296a92ee..6ea79e47a 100644 --- a/docs/cors.md +++ b/docs/cors.md @@ -2,17 +2,17 @@ ## Chrome Workaround -For the Chrome browser you can use the following plugin that allows you toggle CORS: +For the Chrome browser, you can use the following plugin that allows you to toggle CORS: [Allow-Control-Allow-Origin](https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi) ## Firefox Workaround -FireFox users can try the following plugin: [CORS Everywhere](https://addons.mozilla.org/en-Gb/firefox/addon/cors-everywhere/) +Firefox users can try the following plugin: [CORS Everywhere](https://addons.mozilla.org/en-Gb/firefox/addon/cors-everywhere/) ## Safari Workaround If you are developing or testing with Safari then you can use the "Develop" menu to toggle the CORS mode. -Please note that page must be reloaded every time you change CORS settings. +Please note that the page must be reloaded every time you change CORS settings.  diff --git a/docs/doc-list.md b/docs/doc-list.md index 9f55fb879..49f698bac 100644 --- a/docs/doc-list.md +++ b/docs/doc-list.md @@ -1,17 +1,19 @@ -### (3) Document List Layout +### Document List Layout -The main area of the application is composed from a number of individual ADF components: +The main area of the application is composed of several individual ADF components: -- [Breadcrumb](https://alfresco.github.io/adf-component-catalog/components/BreadcrumbComponent.html) -- [Toolbar](https://alfresco.github.io/adf-component-catalog/components/ToolbarComponent.html) -- [Document List](https://alfresco.github.io/adf-component-catalog/components/DocumentListComponent.html) -- [Pagination](https://alfresco.github.io/adf-component-catalog/components/PaginationComponent.html) +- (1) [Breadcrumb](https://alfresco.github.io/adf-component-catalog/components/BreadcrumbComponent.html) +- (2) [Toolbar](https://alfresco.github.io/adf-component-catalog/components/ToolbarComponent.html) +- (3) [Document List](https://alfresco.github.io/adf-component-catalog/components/DocumentListComponent.html) +- (4) [Pagination](https://alfresco.github.io/adf-component-catalog/components/PaginationComponent.html) -The application has six different Document List views which share commonalities between each view and also subtle differences depending on the content being loaded which are explained below. + + +The application has six different Document List views which share commonalities between each view and subtle differences depending on the content being loaded which are explained below. #### Personal Files -Personal Files retrieves all content from the logged in users home area (`/User Homes/