From df54dcb366795602f99553d82d6dbd3a2e689f62 Mon Sep 17 00:00:00 2001 From: Victor Yu <50079142+tranq88@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:22:09 -0800 Subject: [PATCH] feat: new import method for CG iidx (#1396) --- .../dashboard/import/IIDXCGSiteImportPage.tsx | 26 +++++++++++++++++++ .../app/pages/dashboard/import/ImportPage.tsx | 7 +++++ client/src/app/routes/ImportRoutes.tsx | 5 ++++ 3 files changed, 38 insertions(+) create mode 100644 client/src/app/pages/dashboard/import/IIDXCGSiteImportPage.tsx diff --git a/client/src/app/pages/dashboard/import/IIDXCGSiteImportPage.tsx b/client/src/app/pages/dashboard/import/IIDXCGSiteImportPage.tsx new file mode 100644 index 000000000..6118c8d17 --- /dev/null +++ b/client/src/app/pages/dashboard/import/IIDXCGSiteImportPage.tsx @@ -0,0 +1,26 @@ +import useSetSubheader from "components/layout/header/useSetSubheader"; +import Divider from "components/util/Divider"; +import ExternalLink from "components/util/ExternalLink"; +import { TachiConfig } from "lib/config"; +import React from "react"; + +export default function IIDXCGSiteImportPage() { + useSetSubheader(["Import Scores", "IIDX CG Site Importer"]); + + return ( +
+

What is the IIDX CG Site Importer?

+
+ The IIDX CG Site Importer is a script that will scrape your IIDX profile on a CG + instance's website and import it to {TachiConfig.NAME}. +
+ +

Setup Instructions

+ Instructions are available on{" "} + + the GitHub repository + + . +
+ ); +} diff --git a/client/src/app/pages/dashboard/import/ImportPage.tsx b/client/src/app/pages/dashboard/import/ImportPage.tsx index 78db8d489..f20b8093d 100644 --- a/client/src/app/pages/dashboard/import/ImportPage.tsx +++ b/client/src/app/pages/dashboard/import/ImportPage.tsx @@ -144,6 +144,13 @@ function ImportInfoDisplayer({ game }: { game: Game }) { />, , , + , , ); diff --git a/client/src/app/routes/ImportRoutes.tsx b/client/src/app/routes/ImportRoutes.tsx index 3c7030f03..523712708 100644 --- a/client/src/app/routes/ImportRoutes.tsx +++ b/client/src/app/routes/ImportRoutes.tsx @@ -5,6 +5,7 @@ import LR2orajaDBPage from "app/pages/dashboard/import/LR2orajaDBPage"; import BeatorajaIRPage from "app/pages/dashboard/import/BeatorajaIRPage"; import ChunitachiPage from "app/pages/dashboard/import/ChunitachiPage"; import FervidexPage from "app/pages/dashboard/import/FervidexPage"; +import IIDXCGSiteImportPage from "app/pages/dashboard/import/IIDXCGSiteImportPage"; import IIDXEamCSVPage from "app/pages/dashboard/import/IIDXEamCSVPage"; import ImportPage from "app/pages/dashboard/import/ImportPage"; import KsHookPage from "app/pages/dashboard/import/KsHookPage"; @@ -229,6 +230,10 @@ export default function ImportRoutes() { + + + +