UsagePanelState
@forge/monorepo / frontend/src / UsagePanelState
Type Alias: UsagePanelState
UsagePanelState =
"loading"|"empty"|"loaded"|"error"
Defined in: frontend/src/usage-panel.ts:72
What the panel is showing.
A union so an empty report and a loaded one are different shapes: a renderer cannot show a zeroed chart by forgetting to check an array's length, because in the empty case there is no array to read.