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:
Staton Hysell 2024-08-08 08:04:42 -04:00 committed by GitHub
parent e2a3f78504
commit 89ee970ec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -31,19 +31,19 @@ export const plugin = new PanelPlugin<Options>(DebugPanel).useFieldConfig().setP
})
.addBooleanSwitch({
path: 'counters.render',
name: 'Render Count',
name: 'Render count',
defaultValue: true,
showIf: ({ mode }) => mode === DebugMode.Render,
})
.addBooleanSwitch({
path: 'counters.dataChanged',
name: 'Data Changed Count',
name: 'Data changed count',
defaultValue: true,
showIf: ({ mode }) => mode === DebugMode.Render,
})
.addBooleanSwitch({
path: 'counters.schemaChanged',
name: 'Schema Changed Count',
name: 'Schema changed count',
defaultValue: true,
showIf: ({ mode }) => mode === DebugMode.Render,
})

View File

@ -17,7 +17,7 @@ export const plugin = new PanelPlugin<LivePanelOptions>(LivePanel).setPanelOptio
builder
.addRadio({
path: 'display',
name: 'Show Message',
name: 'Show message',
description: 'Display the last message received on this channel',
settings: {
options: [

View File

@ -10,10 +10,10 @@ import { TrendSuggestionsSupplier } from './suggestions';
export const plugin = new PanelPlugin<Options, FieldConfig>(TrendPanel)
.useFieldConfig(getGraphFieldConfig(defaultGraphConfig, false))
.setPanelOptions((builder) => {
const category = ['X Axis'];
const category = ['X axis'];
builder.addFieldNamePicker({
path: 'xField',
name: 'X Field',
name: 'X field',
description: 'An increasing numeric value',
category,
defaultValue: undefined,