diff --git a/client/src/app/pages/dashboard/import/ChunithmSiteImportPage.tsx b/client/src/app/pages/dashboard/import/ChunithmSiteImportPage.tsx new file mode 100644 index 000000000..39b10a695 --- /dev/null +++ b/client/src/app/pages/dashboard/import/ChunithmSiteImportPage.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 ChunithmSiteImportPage() { + useSetSubheader(["Import Scores", "CHUNITHM Site Importer"]); + + return ( +
+

What is the CHUNITHM DX site importer?

+
+ The CHUNITHM Site Importer is a script that will scrape your profile on the CHUNITHM + 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 98b2d7b61..778b5bc1d 100644 --- a/client/src/app/pages/dashboard/import/ImportPage.tsx +++ b/client/src/app/pages/dashboard/import/ImportPage.tsx @@ -179,6 +179,13 @@ function ImportInfoDisplayer({ game }: { game: Game }) { desc="Automatically import scores, whenever you get them!" moreInfo="This is the recommended way to import CHUNITHM scores, as it provides high quality data in real-time." key="Chunitachi" + />, + ); } else if (game === "bms") { @@ -262,6 +269,16 @@ function ImportInfoDisplayer({ game }: { game: Game }) { key="WACCA MyPage Scraper" /> ); + } else if (game === "maimaidx") { + Content.unshift( + + ); } else if (game === "museca") { Content.unshift( , diff --git a/client/src/app/pages/dashboard/import/MaimaiDXSiteImportPage.tsx b/client/src/app/pages/dashboard/import/MaimaiDXSiteImportPage.tsx index 88c1f4495..841f244d2 100644 --- a/client/src/app/pages/dashboard/import/MaimaiDXSiteImportPage.tsx +++ b/client/src/app/pages/dashboard/import/MaimaiDXSiteImportPage.tsx @@ -9,7 +9,7 @@ export default function MaimaiDXSiteImportPage() { return (
-

What is the maimai DX site importer?

+

What is the maimai DX Site Importer?

The maimai DX Site Importer is a script that will scrape your profile on the maimai DX website and import it to {TachiConfig.name}. diff --git a/client/src/app/routes/ImportRoutes.tsx b/client/src/app/routes/ImportRoutes.tsx index 2312b244f..19bd9a988 100644 --- a/client/src/app/routes/ImportRoutes.tsx +++ b/client/src/app/routes/ImportRoutes.tsx @@ -24,6 +24,8 @@ import React, { useContext } from "react"; import { Link, Redirect, Route, Switch } from "react-router-dom"; import CGIntegrationPage from "components/imports/CGIntegrationPage"; import ITGHookPage from "app/pages/dashboard/import/ITGHookPage"; +import MaimaiDXSiteImportPage from "app/pages/dashboard/import/MaimaiDXSiteImportPage"; +import ChunithmSiteImportPage from "app/pages/dashboard/import/ChunithmSiteImportPage"; export default function ImportRoutes() { const { user } = useContext(UserContext); @@ -121,6 +123,10 @@ export default function ImportRoutes() { + + + + + + + + )} diff --git a/client/src/components/activity/Activity.tsx b/client/src/components/activity/Activity.tsx index 7b6086c21..ffc222f39 100644 --- a/client/src/components/activity/Activity.tsx +++ b/client/src/components/activity/Activity.tsx @@ -443,7 +443,11 @@ function QuestActivity({
- + completed the{" "} @@ -641,7 +645,8 @@ function ClassAchievementActivity({
- diff --git a/docs/docs/game-support/games/chunithm-Single.md b/docs/docs/game-support/games/chunithm-Single.md index 396207120..08413c330 100644 --- a/docs/docs/game-support/games/chunithm-Single.md +++ b/docs/docs/game-support/games/chunithm-Single.md @@ -77,6 +77,7 @@ The folowing judgements are defined: | ID | Pretty Name | | :: | :: | | `paradiselost` | Paradise Lost | +| `sun` | SUN | ## Supported Match Types diff --git a/docs/docs/game-support/games/maimaidx-Single.md b/docs/docs/game-support/games/maimaidx-Single.md index 33d06c26c..f204a1163 100644 --- a/docs/docs/game-support/games/maimaidx-Single.md +++ b/docs/docs/game-support/games/maimaidx-Single.md @@ -89,6 +89,7 @@ The default rating algorithm is `naiveRate`. | :: | :: | | `universeplus` | UNiVERSE PLUS | | `festival` | FESTiVAL | +| `festivalplus` | FESTiVAL PLUS | ## Supported Match Types