When contributing to this repository, please consider the following aspects
Container components implement the communication with Redux to obtain the available telemetry/event data. Container components:
- Should be named
component.container.jsx
- Should include and export a
schema
variable with the UIF configuration - Should provide a
subscriptions
prop with the telemetry/event subscription list, to be displayed in the telemetry/event raw data. Also, thecomponent.container.jsx
render method must include:
if (props.isRaw) {
return <SubscriptionTableContainer subscriptions={props.subscriptions}></SubscriptionTableContainer>;
}
The documentation is done with styleguide
. Its source code is located under love/docsrc
and compiled to docs/
according to the configuration file located at love/styleguide.config.js
.
- To edit the docs in a local server run
docker-compose exec frontend
# inside frontend container
yarn guide:start
and go to the pointed address.
- To create a production build in the
docs/
folder run
docker-compose exec frontend
# inside frontend container
yarn guide:build
- Some useful guides to edit the configuration:
-
General configuration
-
Documenting the source code