From 7f313e2f6ac164c1aae7351958b63c48a41784a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Tue, 21 Oct 2025 11:23:21 +0200 Subject: [PATCH 1/5] Pass NEXT_PUBLIC_ENVIRONMENT in build CI --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cfd33f6..647e5f6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,6 +46,7 @@ jobs: env: NEXT_PUBLIC_OPENCHAIN_API_URL: ${{ vars.NEXT_PUBLIC_OPENCHAIN_API_URL }} NEXT_PUBLIC_UMAMI_WEBSITE_ID: ${{ vars.NEXT_PUBLIC_UMAMI_WEBSITE_ID }} + NEXT_PUBLIC_ENVIRONMENT: ${{ env.NEXT_PUBLIC_ENVIRONMENT }} - name: "setup-gcloud" uses: "google-github-actions/setup-gcloud@v2" From bf43ac9bbb96ab8eddb4896b115c5fb25de1abd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Tue, 21 Oct 2025 11:57:25 +0200 Subject: [PATCH 2/5] Change wording --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c171f0a..bc1e6aa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -306,9 +306,9 @@ function SearchInterface() { />
- {stats.function !== undefined &&
{stats.function.toLocaleString()} functions
} - {stats.event !== undefined &&
{stats.event.toLocaleString()} events
} - {stats.error !== undefined &&
{stats.error.toLocaleString()} errors
} + {stats.function !== undefined &&
{stats.function.toLocaleString()} function sigs
} + {stats.event !== undefined &&
{stats.event.toLocaleString()} event sigs
} + {stats.error !== undefined &&
{stats.error.toLocaleString()} error sigs
}
@@ -489,7 +489,7 @@ function SearchInterface() { )} Date: Tue, 21 Oct 2025 12:00:01 +0200 Subject: [PATCH 3/5] Wording --- src/components/Header.tsx | 113 ++++++++++++++++++++------------------ 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 95736e2..28b5eb2 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -72,68 +72,73 @@ export default function Header() {

- 📢 Migration Notice: Sourcify is overtaking openchain.xyz and its APIs. - Please switch to api.4byte.sourcify.dev domain (same API endpoints). + 📢 Migration Notice: Sourcify is taking over{" "} + + openchain.xyz + {" "} + API . Please switch to api.4byte.sourcify.dev (same API).

- - Sourcify Logo - sourcify.eth - - - {/* Desktop Menu */} -
- - Import/Submit Signatures - - - sourcify.dev - - - - API - + + Sourcify Logo + sourcify.eth - - Docs - - - - - -
- {/* Mobile Menu */} - -
-
+ {/* Desktop Menu */} +
+ + Import/Submit Signatures + + + sourcify.dev + + + + API + + + + Docs + + + + + +
+ + {/* Mobile Menu */} + +
+ ); } From 0a83aa8cb0435afa46038e5f2263250f1f69896c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Tue, 21 Oct 2025 12:02:20 +0200 Subject: [PATCH 4/5] Link to sourcify.dev instead --- src/app/import/page.tsx | 13 ++++++++++++- src/components/Header.tsx | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/app/import/page.tsx b/src/app/import/page.tsx index 518c51f..82a695a 100644 --- a/src/app/import/page.tsx +++ b/src/app/import/page.tsx @@ -1,8 +1,9 @@ "use client"; import { useState } from "react"; -import { FaUpload } from "react-icons/fa"; +import { FaUpload, FaArrowLeft } from "react-icons/fa"; import { ethers } from "ethers"; +import Link from "next/link"; // Example data const examples = { @@ -320,6 +321,16 @@ export default function ImportPage() {
{/* Main Content */}
+ {/* Back Button */} +
+ + + Back to Search + +
{/* Alert Messages */} {alertMessage && (
diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 28b5eb2..e7cab50 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -88,7 +88,7 @@ export default function Header() {
- + Sourcify Logo sourcify.eth From fc137fe2e26c0f84fb388cd34f82c56eb33feb3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20Uzdo=C4=9Fan?= Date: Tue, 21 Oct 2025 12:33:40 +0200 Subject: [PATCH 5/5] Wording --- src/app/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index bc1e6aa..104678c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -306,9 +306,9 @@ function SearchInterface() { />
- {stats.function !== undefined &&
{stats.function.toLocaleString()} function sigs
} - {stats.event !== undefined &&
{stats.event.toLocaleString()} event sigs
} - {stats.error !== undefined &&
{stats.error.toLocaleString()} error sigs
} + {stats.function !== undefined &&
{stats.function.toLocaleString()} function signatures
} + {stats.event !== undefined &&
{stats.event.toLocaleString()} event signatures
} + {stats.error !== undefined &&
{stats.error.toLocaleString()} error signatures
}