Skip to content
Matteo Golin edited this page Nov 20, 2022 · 6 revisions

Home

Displays the main dashboard.

Parameters: None.

The graph section receives an ID of #graphs, and is where all the graphs will be displayed.

All graph components are to be nested inside the #graphs section container and given a CSS class of .card. This CSS class allows the chart to be integrated into the masonry layout with other charts, and be styled with consistent colouring and spacing.

Callback functions for graph data are defined here and passed to the graph components. See useStorage documentation for information about these callbacks.

Replays

Displays the current mission recordings available for replay.

Parameters:

  • websocketRef (React mutable reference object) A reference to the current WebSocket instance

All mission recordings must be listed as ReplayItem components. ReplayItem components are to be nested inside the section element.

Map

Under construction.

Clone this wiki locally