From 89ee970ec30f045f7e6db4f8bef02c1e82d95ee1 Mon Sep 17 00:00:00 2001 From: Staton Hysell <101748563+staton-hyse11@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:04:42 -0400 Subject: [PATCH] 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" --- public/app/plugins/panel/debug/module.tsx | 6 +++--- public/app/plugins/panel/live/module.tsx | 2 +- public/app/plugins/panel/trend/module.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/app/plugins/panel/debug/module.tsx b/public/app/plugins/panel/debug/module.tsx index adec1600220..8f68ee8eb8b 100644 --- a/public/app/plugins/panel/debug/module.tsx +++ b/public/app/plugins/panel/debug/module.tsx @@ -31,19 +31,19 @@ export const plugin = new PanelPlugin(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, }) diff --git a/public/app/plugins/panel/live/module.tsx b/public/app/plugins/panel/live/module.tsx index e77d6c3fa18..6111218c238 100644 --- a/public/app/plugins/panel/live/module.tsx +++ b/public/app/plugins/panel/live/module.tsx @@ -17,7 +17,7 @@ export const plugin = new PanelPlugin(LivePanel).setPanelOptio builder .addRadio({ path: 'display', - name: 'Show Message', + name: 'Show message', description: 'Display the last message received on this channel', settings: { options: [ diff --git a/public/app/plugins/panel/trend/module.tsx b/public/app/plugins/panel/trend/module.tsx index 24421f2ea6e..e539ca6e3ee 100644 --- a/public/app/plugins/panel/trend/module.tsx +++ b/public/app/plugins/panel/trend/module.tsx @@ -10,10 +10,10 @@ import { TrendSuggestionsSupplier } from './suggestions'; export const plugin = new PanelPlugin(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,