From f77a490a44b1c83b206cc41d44f86cfccdca1738 Mon Sep 17 00:00:00 2001 From: Shakshi Date: Tue, 26 May 2026 00:53:48 +0530 Subject: [PATCH 1/4] feat: add back to dashboard link on settings page --- src/app/dashboard/settings/page.tsx | 53 ++++++++++++++++------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/src/app/dashboard/settings/page.tsx b/src/app/dashboard/settings/page.tsx index 932100baa..7b2ba3471 100644 --- a/src/app/dashboard/settings/page.tsx +++ b/src/app/dashboard/settings/page.tsx @@ -334,16 +334,13 @@ function SettingsPageContent() { const copyShareLink = () => { if (!settings) return; const link = `${window.location.origin}/u/${settings.github_login}`; - navigator.clipboard - .writeText(link) - .then(() => { - setCopied(true); - toast.success("Link copied successfully!"); - setTimeout(() => setCopied(false), 2000); - }) - .catch(() => { - toast.error("Failed to copy link"); - }); + navigator.clipboard.writeText(link).then(() => { + setCopied(true); + toast.success("Link copied successfully!"); + setTimeout(() => setCopied(false), 2000); + }).catch(() => { + toast.error("Failed to copy link"); + }); }; const handleRemoveAccount = async (githubId: string) => { @@ -425,8 +422,22 @@ function SettingsPageContent() { Manage your profile and preferences

- +
+ + ← Back to Dashboard + +

+ Settings +

+ +

+ Manage your profile and preferences +

+
{statusMessage && (
@@ -592,16 +601,14 @@ function SettingsPageContent() { className="sr-only" />
From c2fc012fcc7e60069c926caf99a875de75413c39 Mon Sep 17 00:00:00 2001 From: Shakshi Date: Tue, 26 May 2026 14:53:28 +0530 Subject: [PATCH 2/4] fix: resolve merge issues --- src/app/dashboard/settings/page.tsx | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/src/app/dashboard/settings/page.tsx b/src/app/dashboard/settings/page.tsx index 7b2ba3471..720c50fc8 100644 --- a/src/app/dashboard/settings/page.tsx +++ b/src/app/dashboard/settings/page.tsx @@ -422,22 +422,8 @@ function SettingsPageContent() { Manage your profile and preferences

-
- - ← Back to Dashboard - - -

- Settings -

- -

- Manage your profile and preferences -

+ {statusMessage && (
)} - {/* Public Profile Section */}
@@ -474,8 +459,8 @@ function SettingsPageContent() { />
- +