ExTeal.Dashboard behaviour (ExTeal v0.21.0) View Source
Module used to represent a dashboard which contains a grid of metrics, this will one day be extendable to include plugin or custom cards in the future.
Link to this section Summary
Callbacks
Return the modules that represent cards on the dashboard.
Show or Hide a dashboard based on the current connection. Defaults to true
Unique URI that allows the dashboard to look up cards. Should be url safe.
Link to this section Types
Specs
Link to this section Callbacks
Specs
cards(Plug.Conn.t()) :: [module()]
Return the modules that represent cards on the dashboard.
Specs
display?(Plug.Conn.t()) :: boolean()
Show or Hide a dashboard based on the current connection. Defaults to true
Specs
title() :: String.t()
Specs
uri() :: String.t()
Unique URI that allows the dashboard to look up cards. Should be url safe.