From 4169a09cc84a7481da073168a6afbd782ea50cc3 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 17:01:53 +0000 Subject: [PATCH 1/8] Fix some inconsistencies in the changelog. --- client/CHANGELOG.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 36533bb9f..246e8ab0a 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -30,7 +30,7 @@ not generally be shown to end users. - [ENH] You can now set a BPI target. - [ENH] You can now set a VOLFORCE target. - [ENH] Song search now displays the table for the chart for BMS. -- [ENH] Song search now displays the effector for BMS. +- [ENH] Song search now displays the effector for USC. - [ENH] Banned users now know that they're banned. - [ENH] Beatoraja IR instructions now include example `.bat` and `.sh` files for properly booting the IR. - [ENH] Add a GDPR page. @@ -45,5 +45,4 @@ not generally be shown to end users. - [BUG] Nivo Tooltips now render, and nivo has been updated. - [BUG] The Switchboard graph now loads even if you have no sessions on the game. - [BUG] Charts without tierlist information now still render at the bottom of tierlist view. -- [BUG] The PBs indicator underneath a session is now correct, and not just the amount of scores you had. -- \ No newline at end of file +- [BUG] The PBs indicator underneath a session is now correct, and not just the amount of scores you had. \ No newline at end of file From 3ba11c957712d1785a40627d7a29ea0e59e43893 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 17:10:27 +0000 Subject: [PATCH 2/8] Re-enable FLO --- client/CHANGELOG.md | 3 +-- client/src/app/pages/dashboard/import/ImportPage.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 246e8ab0a..bfd101a1f 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -41,8 +41,7 @@ not generally be shown to end users. ***** - [BUG] Going from the ARC page to your profile no longer crashes the client. -- [BUG] Using userIDs instead of usernames in the URL no longer crashes the client. -- [BUG] Nivo Tooltips now render, and nivo has been updated. +- [BUG] Using userIDs instead of usernames in the URL no longer crashes the client. o has been updated. - [BUG] The Switchboard graph now loads even if you have no sessions on the game. - [BUG] Charts without tierlist information now still render at the bottom of tierlist view. - [BUG] The PBs indicator underneath a session is now correct, and not just the amount of scores you had. \ No newline at end of file diff --git a/client/src/app/pages/dashboard/import/ImportPage.tsx b/client/src/app/pages/dashboard/import/ImportPage.tsx index d9757e478..1e8449abf 100644 --- a/client/src/app/pages/dashboard/import/ImportPage.tsx +++ b/client/src/app/pages/dashboard/import/ImportPage.tsx @@ -301,11 +301,11 @@ function ImportTypeInfoCard({ case "api/flo-sdvx": return ( ); case "api/eag-sdvx": From f7fbea1b2e183555593a5d34b7060c49c85b7b50 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 17:10:41 +0000 Subject: [PATCH 3/8] Remove the "ongoing development" tag from the changelog --- client/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index bfd101a1f..5f59c7271 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -15,7 +15,7 @@ not generally be shown to end users. # Changelog -## 2.1.0 (Ongoing Development) +## 2.1.0 - [FEAT] Added UI support for Jubeat, Pop'n, WACCA and PMS. - [INTERNAL_FEAT] Config is now served from the server instead of being cloned to the client. From 0039170424e92c45c98970084f045193fa34d7e8 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 17:34:25 +0000 Subject: [PATCH 4/8] Actually commit the tchicommon change --- client/package.json | 2 +- client/pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/package.json b/client/package.json index e24d4c53b..2754f40a8 100644 --- a/client/package.json +++ b/client/package.json @@ -86,7 +86,7 @@ "rg-stats": "^0.2.0", "socicon": "3.0.5", "sync-fetch": "^0.3.1", - "tachi-common": "0.5.13" + "tachi-common": "0.5.15" }, "devDependencies": { "@types/humanize-duration": "3.25.1", diff --git a/client/pnpm-lock.yaml b/client/pnpm-lock.yaml index 80ed401d4..2eb9f788a 100644 --- a/client/pnpm-lock.yaml +++ b/client/pnpm-lock.yaml @@ -88,7 +88,7 @@ specifiers: socicon: 3.0.5 style-loader: 1.0.0 sync-fetch: ^0.3.1 - tachi-common: 0.5.13 + tachi-common: 0.5.15 terser-webpack-plugin: 1.4.1 ts-pnp: 1.1.4 typescript: 4.3.5 @@ -164,7 +164,7 @@ dependencies: rg-stats: 0.2.0 socicon: 3.0.5 sync-fetch: 0.3.1 - tachi-common: 0.5.13 + tachi-common: 0.5.15 devDependencies: '@types/humanize-duration': 3.25.1 @@ -11424,8 +11424,8 @@ packages: strip-ansi: 6.0.0 dev: true - /tachi-common/0.5.13: - resolution: {integrity: sha512-yxUuwQf5w17X7d0WCqBYoW5vjxSrIdeLHAX2xJXvFhyu7zV0S7ejyPzZHHvh3mvl9dnoJhZuDEw7A7U3sVE1oQ==} + /tachi-common/0.5.15: + resolution: {integrity: sha512-7pBspD/7TduoJu1OdguRRxg5LyWwodhbZi5NU4y6aviJmHRetTwWXksCi4QBc72NbKlwqGwnbGrxdKFKdKQNhQ==} dependencies: monk: 7.3.4 transitivePeerDependencies: From 2d9d46bf1717d26e47694514584a899f951e90a0 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 19:03:06 +0000 Subject: [PATCH 5/8] Trim bpi to 2dp --- client/src/components/tables/cells/BPICell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/tables/cells/BPICell.tsx b/client/src/components/tables/cells/BPICell.tsx index f873a516c..f20562e54 100644 --- a/client/src/components/tables/cells/BPICell.tsx +++ b/client/src/components/tables/cells/BPICell.tsx @@ -150,7 +150,7 @@ export default function BPICell({ } > - {bpi} + {bpi?.toFixed(2)}
From ed7159ab82adecc85a1c0d2f374ec28c894541ff Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Wed, 9 Feb 2022 19:54:33 +0000 Subject: [PATCH 6/8] More .toFixed(2) ing --- client/CHANGELOG.md | 2 +- client/src/components/charts/IIDXBPIChart.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/CHANGELOG.md b/client/CHANGELOG.md index 5f59c7271..b07906e4e 100644 --- a/client/CHANGELOG.md +++ b/client/CHANGELOG.md @@ -41,7 +41,7 @@ not generally be shown to end users. ***** - [BUG] Going from the ARC page to your profile no longer crashes the client. -- [BUG] Using userIDs instead of usernames in the URL no longer crashes the client. o has been updated. +- [BUG] Using userIDs instead of usernames in the URL no longer crashes the client. - [BUG] The Switchboard graph now loads even if you have no sessions on the game. - [BUG] Charts without tierlist information now still render at the bottom of tierlist view. - [BUG] The PBs indicator underneath a session is now correct, and not just the amount of scores you had. \ No newline at end of file diff --git a/client/src/components/charts/IIDXBPIChart.tsx b/client/src/components/charts/IIDXBPIChart.tsx index 9793766a1..cc092cce9 100644 --- a/client/src/components/charts/IIDXBPIChart.tsx +++ b/client/src/components/charts/IIDXBPIChart.tsx @@ -177,7 +177,7 @@ export default function IIDXBPIChart({ You {score.scoreData.score}{" "} {" | "} - {score.calculatedData.BPI!}{" "} + {score.calculatedData.BPI!.toFixed(2)}{" "}
From 878abda32073bee9e939ffec5ab8c4b31d36bfe9 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sat, 19 Feb 2022 02:02:49 +0000 Subject: [PATCH 7/8] Bump version to v2.1.1 --- client/package.json | 2 +- client/src/util/constants/version.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 2754f40a8..d6a4e48dc 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "tachi-client", - "version": "2.1.0-dev", + "version": "2.1.1", "private": true, "scripts": { "start": "node scripts/start.js -o", diff --git a/client/src/util/constants/version.ts b/client/src/util/constants/version.ts index bf1eb893f..b01db5b29 100644 --- a/client/src/util/constants/version.ts +++ b/client/src/util/constants/version.ts @@ -1,6 +1,6 @@ const MAJOR = 2; const MINOR = 1; -const PATCH = 0; +const PATCH = 1; // As is with all front-facing zkldi projects, the version names for tachi-client // are from an album I like. In this case, the album is The Cure - Disintegration. From 6209ba40e7284c96b6f80d51aa7d75f32c7b83ca Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Sat, 19 Feb 2022 02:03:00 +0000 Subject: [PATCH 8/8] Remove usc (undefined) --- client/src/components/layout/header/SearchBar.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/components/layout/header/SearchBar.tsx b/client/src/components/layout/header/SearchBar.tsx index 03f512789..aa0fa10cc 100644 --- a/client/src/components/layout/header/SearchBar.tsx +++ b/client/src/components/layout/header/SearchBar.tsx @@ -162,10 +162,7 @@ function SearchResults({ results }: { results: SearchReturns }) { } function FormatSongTitle(game: Game, song: SongDocument) { - if (game === "usc") { - const s = song as SongDocument<"usc">; - return `${song.title} (${s.data.effector})`; - } else if (game === "bms" || game === "pms") { + if (game === "bms" || game === "pms") { const s = song as SongDocument<"bms" | "pms">; return `${song.title}${ConditionalLeadingSpace(s.data.subtitle)}${ConditionalLeadingSpace( s.data.tableString