Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions ui/apps/pmm/src/contexts/navigation/navigation.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const NAV_MYSQL: NavItem = {
{
id: 'mysql-high-availability',
icon: 'high-availability',
text: 'High Availability',
text: 'High availability',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/d/mysql-group-replicaset-summary`,
children: [
{
Expand Down Expand Up @@ -213,7 +213,7 @@ export const NAV_POSTGRESQL: NavItem = {
},
{
id: 'postgresql-ha',
text: 'High Availability',
text: 'High availability',
icon: 'high-availability',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/d/postgresql-replication-overview`,
children: [
Expand Down Expand Up @@ -260,7 +260,7 @@ export const NAV_OS: NavItem = {
},
{
id: 'cpu-utilization',
text: 'CPU utilization',
text: 'CPU Utilization',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/d/node-cpu/cpu-utilization-details`,
},
{
Expand Down Expand Up @@ -474,7 +474,7 @@ export const NAV_EXPLORE: NavItem = {
//
export const NAV_ALERTS_TEMPLATES: NavItem = {
id: 'alerts-templates',
text: 'Percona Alert Templates',
text: 'Alert templates',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/alerting/alert-rule-templates`,
matches: [`${PMM_NEW_NAV_GRAFANA_PATH}/alerting/new-from-template/*`],
};
Expand Down Expand Up @@ -560,12 +560,12 @@ export const NAV_INVENTORY: NavItem = {
{
id: 'add-instance',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/add-instance`,
text: 'Add Service',
text: 'Add service',
children: [
{
id: 'add-instance-form',
url: `${PMM_NEW_NAV_GRAFANA_PATH}/add-instance/:type`,
text: 'Add Service',
text: 'Add service',
hidden: true,
},
],
Expand Down Expand Up @@ -746,7 +746,7 @@ export const NAV_CHANGE_PASSWORD: NavItem = {

export const NAV_THEME_TOGGLE: NavItem = {
id: 'theme-toggle',
text: 'Change to Dark Theme',
text: 'Switch to dark mode',
};

export const NAV_SIGN_OUT: NavItem = {
Expand Down
4 changes: 2 additions & 2 deletions ui/apps/pmm/src/contexts/navigation/navigation.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const addAccount = (
): NavItem => {
const name = (user.name || '').split(' ')[0];
const children = [...(NAV_ACCOUNT.children || [])];
const targetTheme = colorMode === 'light' ? 'Dark' : 'Light';
const targetMode = colorMode === 'light' ? 'dark' : 'light';

if (
!(
Expand All @@ -198,7 +198,7 @@ export const addAccount = (
children.push({
...NAV_THEME_TOGGLE,
icon: colorMode === 'light' ? 'theme-dark' : 'theme-light',
text: `Change to ${targetTheme} Theme`,
text: `Switch to ${targetMode} mode`,
onClick: toggleMode,
});

Expand Down
16 changes: 8 additions & 8 deletions ui/apps/pmm/src/pages/help-center/HelpCenter.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getCardData = ({
}): HelpCard[] => [
{
id: CARD_IDS.pmmDocs,
title: 'PMM Documentation',
title: 'PMM documentation',
description:
'From setup to troubleshooting, you’ll find step-by-step instructions, tips, and best practices to get the most out of PMM.',
buttons: [
Expand All @@ -38,12 +38,12 @@ export const getCardData = ({
},
{
id: CARD_IDS.support,
title: 'Get Percona Support',
title: 'Percona support',
description:
'From 24/7 technical support to fully managed services, Percona’s trusted experts are ready to help you optimize, troubleshoot, and scale.',
buttons: [
{
text: 'Contact Support',
text: 'Contact support',
target: '_blank',
url: 'https://www.percona.com/about/contact?utm_campaign=7075599-Product%20Documentation%20Contact%20Us%20Clicks&utm_source=PMM-Support',
},
Expand All @@ -53,7 +53,7 @@ export const getCardData = ({
},
{
id: CARD_IDS.forum,
title: 'Percona Forum',
title: 'Percona forum',
description:
'A friendly space to connect with other users, share insights, and get answers from the community and from the Percona experts.',
buttons: [
Expand All @@ -68,7 +68,7 @@ export const getCardData = ({
},
{
id: CARD_IDS.pmmDump,
title: 'PMM Dump',
title: 'PMM dump',
description:
'Generate datasets to securely share your data with Percona Support. This helps our experts quickly diagnose and replicate issues.',
buttons: [
Expand All @@ -82,7 +82,7 @@ export const getCardData = ({
},
{
id: CARD_IDS.pmmLogs,
title: 'PMM Logs',
title: 'PMM logs',
description:
'Download your PMM logs as a ZIP file for easy sharing and faster issue diagnosis.',
buttons: [
Expand All @@ -97,7 +97,7 @@ export const getCardData = ({
},
{
id: CARD_IDS.tips,
title: 'Useful Tips',
title: 'Useful tips',
description:
'Need a refresher? Start the onboarding tour again for useful tips.',
adminOnly: false,
Expand All @@ -112,7 +112,7 @@ export const getCardData = ({
},
{
id: CARD_IDS.nextChapter,
title: 'Help Shape PMM’s Next Chapter',
title: "Help shape PMM's next chapter",
description:
"We'd love your thoughts on PMM 3 to guide its future development. This is a short survey with 4 questions (Google Form) that will help us drive the next wave of improvements.",
adminOnly: false,
Expand Down
Loading