added some comments about state of components things

This commit is contained in:
Torkel Ödegaard 2019-03-13 08:39:40 +01:00
parent 71159fb606
commit af4de51a9a
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,9 @@ export interface Props extends Themeable {
decimals?: number;
}
/*
* This visualization is still in POC state, needed more tests & better structure
*/
export class BarGauge extends PureComponent<Props> {
static defaultProps: Partial<Props> = {
maxValue: 100,

View File

@ -6,6 +6,9 @@ export interface SingleStatProcessingOptions {
stat: string;
}
//
// This is a temporary thing, waiting for a better data model and maybe unification between time series & table data
//
export function processSingleStatPanelData(options: SingleStatProcessingOptions): SingleStatValueInfo[] {
const { panelData, stat } = options;