superdesk / superdesk-client-core

Common client modules for superdesk apps.
GNU Affero General Public License v3.0
32 stars 87 forks source link

Superdesk Client

CI Code Climate

Installation

For installation instructions, please refer to the README file at: https://github.com/superdesk/superdesk/

Running end-to-end tests

npm run install - Install dependencies.

npm run build && npm run start-client-server - Build and serve the bundle. Alternatively npm run server can be used serve the bundle in watch mode.

npm run start-test-server

npm run e2e-compile OR npm run e2e-compile-watch - compiles tests from TypeScript to JavaScript.

npm run protractor - starts the browser and runs the tests.

Contributing

Before considering contributions to the Superdesk client, please make sure to read our contribution guidelines.

Build configuration

To configure the build, the superdesk.config.js file must export a function that returns the configuration object. The configuration object can contain the keys described belowed. Dot-notation is used to illustrate the depth and group of a certain key. We use a function instead of a simple JSON object to allow the convenience of using grunt flags, as well as give access to environment variables for more diverse configurations.

Server
Services
Features
Workspace
Editor
Date & Time
Authoring
UI
List

You can configure what will be displayed in list views, there are 3 areas in list which you can configure:

Profile

You can disable certain content profile fields. Set value to false in order to disable it. Fields are:

Search

You can override default search repos (all set true by default).

Miscellaneous