Chore: Correct viz title casing to sentence casing (#91638)
* Update module.tsx Corrected the options: Render Count, Data Changed Count, and Schema Changed Count to have the correct sentence casing to match the rest of the product * Live viz update Correct type case error on "Show Message" to "Show message" * Trend viz case correction Corrected case of Trend viz from "X Axis" and "X Field" to "X axis" and "X field"
This commit is contained in:
@@ -31,19 +31,19 @@ export const plugin = new PanelPlugin<Options>(DebugPanel).useFieldConfig().setP
|
|||||||
})
|
})
|
||||||
.addBooleanSwitch({
|
.addBooleanSwitch({
|
||||||
path: 'counters.render',
|
path: 'counters.render',
|
||||||
name: 'Render Count',
|
name: 'Render count',
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
showIf: ({ mode }) => mode === DebugMode.Render,
|
showIf: ({ mode }) => mode === DebugMode.Render,
|
||||||
})
|
})
|
||||||
.addBooleanSwitch({
|
.addBooleanSwitch({
|
||||||
path: 'counters.dataChanged',
|
path: 'counters.dataChanged',
|
||||||
name: 'Data Changed Count',
|
name: 'Data changed count',
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
showIf: ({ mode }) => mode === DebugMode.Render,
|
showIf: ({ mode }) => mode === DebugMode.Render,
|
||||||
})
|
})
|
||||||
.addBooleanSwitch({
|
.addBooleanSwitch({
|
||||||
path: 'counters.schemaChanged',
|
path: 'counters.schemaChanged',
|
||||||
name: 'Schema Changed Count',
|
name: 'Schema changed count',
|
||||||
defaultValue: true,
|
defaultValue: true,
|
||||||
showIf: ({ mode }) => mode === DebugMode.Render,
|
showIf: ({ mode }) => mode === DebugMode.Render,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export const plugin = new PanelPlugin<LivePanelOptions>(LivePanel).setPanelOptio
|
|||||||
builder
|
builder
|
||||||
.addRadio({
|
.addRadio({
|
||||||
path: 'display',
|
path: 'display',
|
||||||
name: 'Show Message',
|
name: 'Show message',
|
||||||
description: 'Display the last message received on this channel',
|
description: 'Display the last message received on this channel',
|
||||||
settings: {
|
settings: {
|
||||||
options: [
|
options: [
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ import { TrendSuggestionsSupplier } from './suggestions';
|
|||||||
export const plugin = new PanelPlugin<Options, FieldConfig>(TrendPanel)
|
export const plugin = new PanelPlugin<Options, FieldConfig>(TrendPanel)
|
||||||
.useFieldConfig(getGraphFieldConfig(defaultGraphConfig, false))
|
.useFieldConfig(getGraphFieldConfig(defaultGraphConfig, false))
|
||||||
.setPanelOptions((builder) => {
|
.setPanelOptions((builder) => {
|
||||||
const category = ['X Axis'];
|
const category = ['X axis'];
|
||||||
builder.addFieldNamePicker({
|
builder.addFieldNamePicker({
|
||||||
path: 'xField',
|
path: 'xField',
|
||||||
name: 'X Field',
|
name: 'X field',
|
||||||
description: 'An increasing numeric value',
|
description: 'An increasing numeric value',
|
||||||
category,
|
category,
|
||||||
defaultValue: undefined,
|
defaultValue: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user