From 06059271e840420c789e5c12640f3cde6c5bef09 Mon Sep 17 00:00:00 2001 From: saintnoodle <14948290+saintnoodle@users.noreply.github.com> Date: Sat, 29 Jul 2023 17:47:25 +0100 Subject: [PATCH] update to bootstrap 5.3 (#913) Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com> --- client/index.html | 13 +- client/package.json | 12 +- client/src/_style/base.scss | 62 - client/src/app/App.tsx | 15 +- client/src/app/pages/ErrorPage.tsx | 58 +- client/src/app/pages/ForgotPasswordPage.tsx | 135 +- client/src/app/pages/LandingPage.tsx | 4 +- client/src/app/pages/LoginPage.tsx | 130 +- client/src/app/pages/PrivacyPolicyPage.tsx | 5 +- client/src/app/pages/RegisterPage.tsx | 175 +- client/src/app/pages/ResetPasswordPage.tsx | 20 +- .../dashboard/games/_game/PlaytypeSelect.tsx | 2 +- .../games/_game/_playtype/GPTChartPage.tsx | 20 +- .../_game/_playtype/GPTLeaderboardsPage.tsx | 10 +- .../games/_game/_playtype/GPTSongsPage.tsx | 6 +- .../pages/dashboard/import/IIDXEamCSVPage.tsx | 5 +- .../app/pages/dashboard/import/ImportPage.tsx | 8 +- .../app/pages/dashboard/misc/CreditsPage.tsx | 39 +- .../pages/dashboard/misc/SupportMePage.tsx | 19 +- .../app/pages/dashboard/search/SearchPage.tsx | 11 +- .../users/FervidexIntegrationPage.tsx | 8 +- .../users/KsHookSV6CIntegrationPage.tsx | 14 +- .../pages/dashboard/users/UserGamesPage.tsx | 2 +- .../dashboard/users/UserIntegrationsPage.tsx | 53 +- .../app/pages/dashboard/users/UserPage.tsx | 4 +- .../dashboard/users/UserSettingsPage.tsx | 62 +- .../_game/_playtype/LeaderboardsPage.tsx | 6 +- .../games/_game/_playtype/OverviewPage.tsx | 32 +- .../games/_game/_playtype/ScoresPage.tsx | 67 +- .../games/_game/_playtype/SessionsPage.tsx | 36 +- .../_game/_playtype/SpecificSessionPage.tsx | 10 +- .../_game/_playtype/UGPTSettingsPage.tsx | 238 ++- .../_playtype/folders/FolderSelectPage.tsx | 14 +- .../_playtype/folders/FolderTablePage.tsx | 16 +- .../_playtype/folders/FoldersMainPage.tsx | 14 +- .../_playtype/folders/SpecificFolderPage.tsx | 106 +- .../_playtype/rivals/RivalsActivityPage.tsx | 5 +- .../_game/_playtype/rivals/RivalsMainPage.tsx | 6 +- .../_playtype/rivals/RivalsManagePage.tsx | 12 +- .../_game/_playtype/targets/TargetsPage.tsx | 6 +- .../_game/_playtype/targets/UGPTGoalsPage.tsx | 11 +- .../_playtype/targets/UGPTQuestsPage.tsx | 9 +- .../_game/_playtype/utils/UGPTUtilsPage.tsx | 2 +- .../app/pages/dashboard/utils/QuestEditor.tsx | 7 +- .../app/pages/dashboard/utils/SeedsViewer.tsx | 5 +- client/src/app/routes/AppRoutes.tsx | 14 +- client/src/app/routes/ImportRoutes.tsx | 16 +- client/src/components/activity/Activity.tsx | 125 +- .../src/components/charts/TimelineChart.tsx | 4 +- client/src/components/game/ClassBadge.tsx | 11 +- .../src/components/game/ScoreLeaderboard.tsx | 4 +- .../game/folder/FolderInfoHeader.tsx | 18 +- .../components/game/folder/FolderMinimap.tsx | 14 +- .../components/game/songs/SongInfoFormat.tsx | 2 +- .../tools/IIDXEamusementExportTool.tsx | 2 +- .../gpt-utils/tools/IIDXPlaylistsTool.tsx | 2 +- client/src/components/imports/ImportInfo.tsx | 9 +- .../components/imports/KAIIntegrationPage.tsx | 4 +- client/src/components/layout/Layout.tsx | 63 +- .../src/components/layout/LoginPageLayout.tsx | 21 + .../src/components/layout/footer/Footer.tsx | 86 +- .../src/components/layout/header/AllGames.tsx | 36 +- .../src/components/layout/header/Header.tsx | 94 +- .../components/layout/header/HeaderMenu.tsx | 193 +- .../components/layout/header/HeaderMobile.tsx | 6 +- .../layout/header/ImportScoresLink.tsx | 44 +- client/src/components/layout/header/Logo.tsx | 21 + .../src/components/layout/header/MenuLink.tsx | 18 +- .../layout/header/MobileMenuToggle.tsx | 23 + .../components/layout/header/SearchBar.tsx | 20 +- .../components/layout/header/SearchButton.tsx | 22 +- .../src/components/layout/header/Topbar.tsx | 4 +- .../src/components/layout/header/UserArea.tsx | 38 + .../layout/header/UserNotificationButton.tsx | 45 +- .../layout/header/UserProfileDropdown.tsx | 224 +-- .../layout/header/UserProfileLinks.tsx | 64 + .../layout/header/UtilsDropdown.tsx | 49 +- .../layout/misc/BackgroundImage.tsx | 19 +- .../components/layout/subheader/SubHeader.tsx | 37 +- .../subheader/components/Breadcrumbs.tsx | 18 +- .../notifications/NotificationRow.tsx | 2 +- client/src/components/seeds/SeedsPicker.tsx | 20 +- .../components/sessions/SessionCalendar.tsx | 8 +- .../src/components/sessions/SessionCard.tsx | 2 +- .../components/sessions/SessionOverview.tsx | 29 +- .../sessions/SessionRaiseBreakdown.tsx | 12 +- .../src/components/tables/cells/DeltaCell.tsx | 4 +- .../components/tables/cells/IIDXLampCell.tsx | 2 +- .../src/components/tables/cells/IndexCell.tsx | 2 +- .../src/components/tables/cells/ObjCell.tsx | 2 +- .../src/components/tables/cells/ScoreCell.tsx | 2 +- .../components/tables/cells/TimestampCell.tsx | 4 +- .../src/components/tables/cells/TitleCell.tsx | 2 +- .../src/components/tables/cells/VF6Cell.tsx | 4 +- .../components/FilterDirectivesIndicator.tsx | 10 +- .../tables/components/MiniTable.tsx | 7 +- .../components/SelectableCompareType.tsx | 44 +- .../tables/components/SelectableRanking.tsx | 44 +- .../tables/components/SelectableRating.tsx | 46 +- .../tables/components/SortableTH.tsx | 39 +- .../tables/components/TachiTable.tsx | 20 +- .../tables/dropdowns/FailedImportDropdown.tsx | 6 +- .../tables/dropdowns/ImportDropdown.tsx | 14 +- .../tables/dropdowns/PBDropdown.tsx | 25 +- .../tables/dropdowns/ScoreDropdown.tsx | 22 +- .../components/BMSScoreDropdownParts.tsx | 2 +- .../components/DocumentComponent.tsx | 14 +- .../components/IIDXScoreDropdownParts.tsx | 2 +- .../components/ITGScoreDropdownParts.tsx | 2 +- .../components/ImportInputViewer.tsx | 2 +- .../components/JubeatScoreDropdownParts.tsx | 2 +- .../dropdowns/components/RivalCompare.tsx | 5 +- .../dropdowns/components/ScoreEditButtons.tsx | 29 +- .../dropdowns/components/TargetInfo.tsx | 3 +- .../tables/imports/ImportsTable.tsx | 2 +- .../seeds/SeedsBMSCourseLookupTable.tsx | 4 +- .../tables/seeds/SeedsFolderTable.tsx | 4 +- .../tables/seeds/SeedsGoalsTable.tsx | 4 +- .../tables/seeds/SeedsQuestTable.tsx | 2 +- .../tables/seeds/SeedsQuestlineTable.tsx | 2 +- .../tables/seeds/SeedsTableTable.tsx | 6 +- .../tables/sessions/GenericSessionTable.tsx | 8 +- .../components/targets/DeleteGoalsModal.tsx | 2 +- client/src/components/targets/GoalSubInfo.tsx | 12 +- client/src/components/targets/Questline.tsx | 8 +- .../src/components/targets/quests/Quest.tsx | 16 +- .../targets/quests/editor/EditableQuest.tsx | 26 +- client/src/components/ui/DropdownNavLink.tsx | 16 + client/src/components/ui/QuickDropdown.tsx | 63 + client/src/components/user/ProfileBadges.tsx | 23 +- .../src/components/user/UGPTRankingData.tsx | 6 +- .../src/components/user/UGPTStatCreator.tsx | 49 +- .../src/components/user/UGPTStatShowcase.tsx | 8 +- client/src/components/user/UserHeader.tsx | 17 +- client/src/components/util/BigSearch.tsx | 8 +- client/src/components/util/CenterPage.tsx | 11 +- client/src/components/util/CheckEdit.tsx | 4 +- client/src/components/util/DebounceSearch.tsx | 60 +- client/src/components/util/DebugContent.tsx | 2 +- client/src/components/util/Divider.tsx | 4 +- client/src/components/util/FormInput.tsx | 4 +- client/src/components/util/GoalLink.tsx | 2 +- client/src/components/util/Icon.tsx | 26 +- client/src/components/util/LinkButton.tsx | 44 +- .../util/MainPageTitleContainer.tsx | 2 +- client/src/components/util/Muted.tsx | 2 +- client/src/components/util/Select.tsx | 7 +- .../src/components/util/SelectLinkButton.tsx | 21 +- client/src/components/util/SignOut.tsx | 37 + client/src/components/util/SiteWordmark.tsx | 14 +- .../components/util/modal/UserSelectModal.tsx | 6 +- .../src/components/util/query/useApiQuery.tsx | 4 +- client/src/context/WindowContext.tsx | 55 + client/src/index.tsx | 7 +- client/src/styles/components/Button.scss | 7 + client/src/styles/components/Tooltip.scss | 3 + client/src/styles/components/components.scss | 2 + .../src/styles/customised-bootstrap/maps.scss | 150 ++ .../customised-bootstrap/variables.scss | 1767 +++++++++++++++++ client/src/styles/globals.scss | 13 + client/src/styles/index.scss | 48 + client/src/styles/legacy/base.scss | 83 + .../styles/legacy/tachi-custom/_custom.scss | 170 ++ .../src/styles/legacy/tachi-custom/_hero.scss | 43 + .../legacy/tachi-custom/_splash-screen.scss | 60 + .../styles/legacy/tachi-custom/timeline.scss | 88 + client/src/styles/utilities/animations.scss | 8 + client/src/styles/utilities/utilities.scss | 9 + client/src/types/bootstrap.ts | 61 + client/src/util/constants/breakpoints.ts | 6 + client/vite.config.js | 140 +- pnpm-lock.yaml | 214 +- 172 files changed, 4766 insertions(+), 2001 deletions(-) create mode 100644 client/src/components/layout/LoginPageLayout.tsx create mode 100644 client/src/components/layout/header/Logo.tsx create mode 100644 client/src/components/layout/header/MobileMenuToggle.tsx create mode 100644 client/src/components/layout/header/UserArea.tsx create mode 100644 client/src/components/layout/header/UserProfileLinks.tsx create mode 100644 client/src/components/ui/DropdownNavLink.tsx create mode 100644 client/src/components/ui/QuickDropdown.tsx create mode 100644 client/src/components/util/SignOut.tsx create mode 100644 client/src/context/WindowContext.tsx create mode 100644 client/src/styles/components/Button.scss create mode 100644 client/src/styles/components/Tooltip.scss create mode 100644 client/src/styles/components/components.scss create mode 100644 client/src/styles/customised-bootstrap/maps.scss create mode 100644 client/src/styles/customised-bootstrap/variables.scss create mode 100644 client/src/styles/globals.scss create mode 100644 client/src/styles/index.scss create mode 100644 client/src/styles/legacy/base.scss create mode 100644 client/src/styles/legacy/tachi-custom/_custom.scss create mode 100644 client/src/styles/legacy/tachi-custom/_hero.scss create mode 100644 client/src/styles/legacy/tachi-custom/_splash-screen.scss create mode 100644 client/src/styles/legacy/tachi-custom/timeline.scss create mode 100644 client/src/styles/utilities/animations.scss create mode 100644 client/src/styles/utilities/utilities.scss create mode 100644 client/src/types/bootstrap.ts create mode 100644 client/src/util/constants/breakpoints.ts diff --git a/client/index.html b/client/index.html index e6342b6ed..3b5af31c0 100644 --- a/client/index.html +++ b/client/index.html @@ -10,18 +10,13 @@ - - - - - - - + + + - +