From bdc40bcd59f8378fe3fc491a72704ae96ec21e12 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 19 Dec 2025 15:39:29 +0000 Subject: [PATCH] fix: replace em dashes with hyphens in various files for consistency - Updated error messages in errors.ejs to use hyphens instead of em dashes. - Modified meta description in index.ejs files to use hyphens. - Adjusted WhatsApp setup instructions in Index.tsx to replace em dashes with hyphens. - Changed footer description in footer.ejs to use hyphens. - Updated various markdown and HTML files to replace em dashes with hyphens for uniformity. --- APIReference/views/main/errors.ejs | 4 +- Accounts/views/index.ejs | 2 +- .../src/Pages/Settings/WhatsApp/Index.tsx | 4 +- AdminDashboard/views/index.ejs | 2 +- .../MicrosoftTeams/MicrosoftTeams.ts | 14 ++--- .../LogsViewer/components/LogDetailsPanel.tsx | 2 +- .../LogsViewer/components/LogsTable.tsx | 4 +- .../Markdown.tsx/MarkdownEditor.tsx | 2 +- .../MicrosoftTeams/TeamsAvailableModal.tsx | 2 +- ...SubscriberNotificationTemplateVariables.ts | 2 +- Dashboard/views/index.ejs | 2 +- Home/Views/code-of-conduct.ejs | 2 +- Home/Views/data-residency.ejs | 4 +- Home/Views/footer.ejs | 61 ++++++++++--------- Home/Views/iso-27017.ejs | 2 +- Home/Views/iso-27018.ejs | 2 +- Home/Views/pricing-compare.ejs | 10 +-- README.md | 14 ++--- 18 files changed, 68 insertions(+), 67 deletions(-) diff --git a/APIReference/views/main/errors.ejs b/APIReference/views/main/errors.ejs index fb72a8fd32..aa4727cfc9 100644 --- a/APIReference/views/main/errors.ejs +++ b/APIReference/views/main/errors.ejs @@ -43,7 +43,7 @@
  • 4xx
    -
    A 4xx status code indicates a client error — this means it's a you problem.
    +
    A 4xx status code indicates a client error - this means it's a you problem.
  • @@ -55,7 +55,7 @@
  • 5xx
    -
    A 5xx status code indicates a server error — you won't be seeing a lot of these.
    +
    A 5xx status code indicates a server error - you won't be seeing a lot of these.
  • diff --git a/Accounts/views/index.ejs b/Accounts/views/index.ejs index b49cc52edd..7afd3e0ca5 100644 --- a/Accounts/views/index.ejs +++ b/Accounts/views/index.ejs @@ -10,7 +10,7 @@ - + <% if(typeof enableGoogleTagManager !== 'undefined' ? enableGoogleTagManager : false){ %> diff --git a/AdminDashboard/src/Pages/Settings/WhatsApp/Index.tsx b/AdminDashboard/src/Pages/Settings/WhatsApp/Index.tsx index c655ea00c9..37bd7508e9 100644 --- a/AdminDashboard/src/Pages/Settings/WhatsApp/Index.tsx +++ b/AdminDashboard/src/Pages/Settings/WhatsApp/Index.tsx @@ -176,7 +176,7 @@ const buildWhatsAppSetupMarkdown: BuildWhatsAppSetupMarkdown = (): string => { const webhookSection: string = [ "### Configure Meta Webhook Subscription", "1. In the OneUptime Admin Dashboard, open **Settings → WhatsApp → Meta WhatsApp Settings** and enter a strong value in **Webhook Verify Token**. Save the form so the encrypted token is stored in Global Config.", - "2. Keep that verify token handy—Meta does not generate one for you. You'll paste the exact same value when configuring the callback.", + "2. Keep that verify token handy-Meta does not generate one for you. You'll paste the exact same value when configuring the callback.", "3. In [Meta for Developers](https://developers.facebook.com/apps/), select your WhatsApp app and navigate to **WhatsApp → Configuration → Webhooks**.", `4. Click **Configure**, then supply one of the following callback URLs when Meta asks for your endpoint:\n - \`${primaryWebhookUrl}\`\n `, "5. Paste the verify token from step 1 into Meta's **Verify Token** field and submit. Meta will call the callback URL and expect that value to match before it approves the subscription.", @@ -195,7 +195,7 @@ const buildWhatsAppSetupMarkdown: BuildWhatsAppSetupMarkdown = (): string => { "### Required WhatsApp Templates", templateSummaryTable, "### Template Bodies", - "> Copy the exact template body below—including punctuation and spacing—when creating each template inside Meta. The variables list shows every placeholder that must be configured in WhatsApp Manager.", + "> Copy the exact template body below-including punctuation and spacing-when creating each template inside Meta. The variables list shows every placeholder that must be configured in WhatsApp Manager.", templateBodies, ] .filter(Boolean) diff --git a/AdminDashboard/views/index.ejs b/AdminDashboard/views/index.ejs index 698823beea..8739bba88e 100644 --- a/AdminDashboard/views/index.ejs +++ b/AdminDashboard/views/index.ejs @@ -9,7 +9,7 @@ - + <% if(typeof enableGoogleTagManager !== 'undefined' ? enableGoogleTagManager : false){ %> diff --git a/Common/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts b/Common/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts index 021e10524b..aac9a470fa 100644 --- a/Common/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts +++ b/Common/Server/Utils/Workspace/MicrosoftTeams/MicrosoftTeams.ts @@ -1959,13 +1959,13 @@ export default class MicrosoftTeamsUtil extends WorkspaceBase { return `Hello! I'm the OneUptime bot. I can help you with the following commands: **Available Commands:** -- **help** — Show this help message -- **create incident** — Create a new incident -- **create maintenance** — Create a new scheduled maintenance event -- **show active incidents** — Display all currently active incidents -- **show scheduled maintenance** — Show upcoming scheduled maintenance events -- **show ongoing maintenance** — Display currently ongoing maintenance events -- **show active alerts** — Display all active alerts +- **help** - Show this help message +- **create incident** - Create a new incident +- **create maintenance** - Create a new scheduled maintenance event +- **show active incidents** - Display all currently active incidents +- **show scheduled maintenance** - Show upcoming scheduled maintenance events +- **show ongoing maintenance** - Display currently ongoing maintenance events +- **show active alerts** - Display all active alerts Just type any of these commands to get the information you need!`; } diff --git a/Common/UI/Components/LogsViewer/components/LogDetailsPanel.tsx b/Common/UI/Components/LogsViewer/components/LogDetailsPanel.tsx index 56b2eac950..bb8feb8b70 100644 --- a/Common/UI/Components/LogsViewer/components/LogDetailsPanel.tsx +++ b/Common/UI/Components/LogsViewer/components/LogDetailsPanel.tsx @@ -228,7 +228,7 @@ const LogDetailsPanel: FunctionComponent = ( ) : (

    - {bodyDetails.pretty || "—"} + {bodyDetails.pretty || "-"}

    )} diff --git a/Common/UI/Components/LogsViewer/components/LogsTable.tsx b/Common/UI/Components/LogsViewer/components/LogsTable.tsx index 74e410d078..14a49b8baf 100644 --- a/Common/UI/Components/LogsViewer/components/LogsTable.tsx +++ b/Common/UI/Components/LogsViewer/components/LogsTable.tsx @@ -187,7 +187,7 @@ const LogsTable: FunctionComponent = ( ? OneUptimeDate.getDateAsUserFriendlyFormattedString( log.time, ) - : "—"} + : "-"}
    @@ -211,7 +211,7 @@ const LogsTable: FunctionComponent = ( className={`whitespace-pre-wrap break-words text-sm text-slate-200 transition-colors duration-150 group-hover:text-slate-50 ${severityTheme.textClass}`} title={message} > - {message || "—"} + {message || "-"}

    {(traceId || spanId) && (
    diff --git a/Common/UI/Components/Markdown.tsx/MarkdownEditor.tsx b/Common/UI/Components/Markdown.tsx/MarkdownEditor.tsx index 13ad330f2a..ee7c4397fd 100644 --- a/Common/UI/Components/Markdown.tsx/MarkdownEditor.tsx +++ b/Common/UI/Components/Markdown.tsx/MarkdownEditor.tsx @@ -538,7 +538,7 @@ const MarkdownEditor: FunctionComponent = ( title="Horizontal Rule" className="p-2 rounded-md text-gray-600 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2" > - + -
    diff --git a/README.md b/README.md index 4f23ac1ebd..93bd1b1a20 100644 --- a/README.md +++ b/README.md @@ -104,10 +104,10 @@ By using OneUptime Cloud, you also support the continued development of the open ### Self-Hosted Installation -- **[Kubernetes with Helm](https://artifacthub.io/packages/helm/oneuptime/oneuptime)** — Recommended for production -- **[Docker Compose](/Docs/Content/installation/docker-compose.md)** — Single-node install (not recommended for production) -- **[Local Development](/Docs/Content/installation/local-development.md)** — For contributors -- **[Upgrade Guide](/Docs/Content/installation/upgrading.md)** — Upgrade existing installations +- **[Kubernetes with Helm](https://artifacthub.io/packages/helm/oneuptime/oneuptime)** - Recommended for production +- **[Docker Compose](/Docs/Content/installation/docker-compose.md)** - Single-node install (not recommended for production) +- **[Local Development](/Docs/Content/installation/local-development.md)** - For contributors +- **[Upgrade Guide](/Docs/Content/installation/upgrading.md)** - Upgrade existing installations --- @@ -165,9 +165,9 @@ We love contributions big and small! Here's how you can help: If you find OneUptime useful, consider supporting its development: -- ⭐ **Star this repo** — It helps others discover OneUptime -- 💵 **[Sponsor us](https://github.com/sponsors/OneUptime)** — Every dollar goes to shipping new features -- 🛍️ **[Shop merch](https://shop.oneuptime.com)** — All revenue supports open-source development +- ⭐ **Star this repo** - It helps others discover OneUptime +- 💵 **[Sponsor us](https://github.com/sponsors/OneUptime)** - Every dollar goes to shipping new features +- 🛍️ **[Shop merch](https://shop.oneuptime.com)** - All revenue supports open-source development ---