From 77239ebcd4e19e2b923bfff391069e9d19862781 Mon Sep 17 00:00:00 2001
From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Date: Fri, 13 Dec 2024 02:22:46 +0530
Subject: [PATCH] fix: GitHub casing across the platform (#6193)
---
admin/app/authentication/github/page.tsx | 6 +++---
admin/core/components/auth-header.tsx | 2 +-
app.json | 2 +-
web/core/components/integration/github/root.tsx | 2 +-
web/core/constants/event-tracker.ts | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/admin/app/authentication/github/page.tsx b/admin/app/authentication/github/page.tsx
index 7991fb95f73..03e5c97f22f 100644
--- a/admin/app/authentication/github/page.tsx
+++ b/admin/app/authentication/github/page.tsx
@@ -44,7 +44,7 @@ const InstanceGithubAuthenticationPage = observer(() => {
loading: "Saving Configuration...",
success: {
title: "Configuration saved",
- message: () => `Github authentication is now ${value ? "active" : "disabled"}.`,
+ message: () => `GitHub authentication is now ${value ? "active" : "disabled"}.`,
},
error: {
title: "Error",
@@ -67,8 +67,8 @@ const InstanceGithubAuthenticationPage = observer(() => {
{
case "google":
return "Google";
case "github":
- return "Github";
+ return "GitHub";
case "gitlab":
return "GitLab";
case "workspace":
diff --git a/app.json b/app.json
index bc5789078e2..600b524d2fa 100644
--- a/app.json
+++ b/app.json
@@ -70,7 +70,7 @@
"value": ""
},
"GITHUB_CLIENT_SECRET": {
- "description": "Github Client Secret",
+ "description": "GitHub Client Secret",
"value": ""
},
"NEXT_PUBLIC_API_BASE_URL": {
diff --git a/web/core/components/integration/github/root.tsx b/web/core/components/integration/github/root.tsx
index 8fa528d8f6a..c1160ba58d3 100644
--- a/web/core/components/integration/github/root.tsx
+++ b/web/core/components/integration/github/root.tsx
@@ -168,7 +168,7 @@ export const GithubImporterRoot: React.FC = () => {
-
+
{integrationWorkflowData.map((integration, index) => (
diff --git a/web/core/constants/event-tracker.ts b/web/core/constants/event-tracker.ts
index c0ac86935c7..881c75b1929 100644
--- a/web/core/constants/event-tracker.ts
+++ b/web/core/constants/event-tracker.ts
@@ -206,7 +206,7 @@ export const PRODUCT_TOUR_COMPLETED = "Product tour completed";
export const PRODUCT_TOUR_SKIPPED = "Product tour skipped";
// Dashboard Events
export const CHANGELOG_REDIRECTED = "Changelog redirected";
-export const GITHUB_REDIRECTED = "Github redirected";
+export const GITHUB_REDIRECTED = "GitHub redirected";
// Sidebar Events
export const SIDEBAR_CLICKED = "Sidenav clicked";
// Global View Events