From 8ace5e6a7a2c14cacce961c55ae6e6f81b1a49f7 Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 14:46:14 +0200 Subject: [PATCH 1/8] Add changelog fort 1.5.0-alpha.1 --- assets/jsons/changelogs.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index 0967ef42..c0099d91 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1 +1,3 @@ -{} +{ + "1.5.0-alpha.1":"

BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

Fixes

Other changes

" +} From 5ad25f58d5aa6e9b4f004ecf5283479d008cbd9b Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 14:57:39 +0200 Subject: [PATCH 2/8] Update changelogs.json with BSManager 1.5.0-alpha.1 release --- assets/jsons/changelogs.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index c0099d91..5bfe9a9a 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1,3 +1,8 @@ { - "1.5.0-alpha.1":"

BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to @Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to @Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to @Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
" + "1.5.0-alpha.1":{ + "htmlBody" :"

BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to @Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to @Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to @Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", + "title" : "BSManager 1.5.0-alpha.1", + "timestamp" : 1721048400, + "version" : "1.5.0-alpha.1" + } } From 0faa0f12889555290d27f53654fb79cc1f0a4997 Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:00:53 +0200 Subject: [PATCH 3/8] Update changelog for BSManager 1.5.0-alpha.1 --- assets/jsons/changelogs.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index 5bfe9a9a..7f3b328f 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1,7 +1,7 @@ { "1.5.0-alpha.1":{ - "htmlBody" :"

BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to @Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to @Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to @Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", - "title" : "BSManager 1.5.0-alpha.1", + "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", + "title" : "What's new ?", "timestamp" : 1721048400, "version" : "1.5.0-alpha.1" } From 959e60127d7b8d3fa04d2cd9e928d493ce253ece Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:08:22 +0200 Subject: [PATCH 4/8] Update changelog for BSManager 1.5.0-alpha.1 --- assets/jsons/changelogs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index 7f3b328f..50a2ec16 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1,6 +1,6 @@ { "1.5.0-alpha.1":{ - "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions! 🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", + "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions!🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", "title" : "What's new ?", "timestamp" : 1721048400, "version" : "1.5.0-alpha.1" From 1c989a2402411b70efd1b4a2d5a7fb53fd90ff37 Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:11:17 +0200 Subject: [PATCH 5/8] Update changelog for BSManager 1.5.0-alpha.1 release --- assets/jsons/changelogs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index 50a2ec16..9a2cf8ad 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1,6 +1,6 @@ { "1.5.0-alpha.1":{ - "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions!🎈🎉

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", + "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions!
🎈🎉🎈

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", "title" : "What's new ?", "timestamp" : 1721048400, "version" : "1.5.0-alpha.1" From 189d2388fbb952464e0f421f094f02dcace27a12 Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:16:42 +0200 Subject: [PATCH 6/8] add missing scrollbar --- .../modal-types/chabgelog-modal/changelog-modal.component.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx b/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx index 19a7d281..ae61a4f9 100644 --- a/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx +++ b/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx @@ -9,6 +9,7 @@ import Tippy from "@tippyjs/react"; export const ChangelogModal: ModalComponent = ({ options: {data: changelog} }) => { + console.log(changelog); const linkOpener = useService(LinkOpenerService); const openGithub = () => linkOpener.open("https://github.com/Zagrios/bs-manager"); const openTwitter = () => linkOpener.open("https://twitter.com/BSManager_"); @@ -19,7 +20,7 @@ export const ChangelogModal: ModalComponent = ({ options return (

{changelog?.title}

-
+
From f2ac952cd99cf9fb51ef51993d1cff1ca582ee1e Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:23:38 +0200 Subject: [PATCH 7/8] Update changelogs.json with new features, fixes, and improvements --- assets/jsons/changelogs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/jsons/changelogs.json b/assets/jsons/changelogs.json index 9a2cf8ad..0bc8600c 100644 --- a/assets/jsons/changelogs.json +++ b/assets/jsons/changelogs.json @@ -1,6 +1,6 @@ { "1.5.0-alpha.1":{ - "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions!
🎈🎉🎈

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to@Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to@Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to@Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", + "htmlBody" :"BSManager continues to get better, thanks to your continued support and contributions!
🎈🎉🎈

Note: This is an alpha release, encountering bugs is expected. Please file new issues for any bugs you find.

Features

  • Added playlist support
  • Added Linux support (Thanks to @Insprill)
  • Added reset button to reset values when editing a Beat Saber version (Thanks to @Liborsaf)
  • Added a changelog modal

Fixes

  • Fixed an issue where switching between Beat Saber versions too quickly displayed mods for the wrong version
  • Fixed an issue where the launch window from a shortcut would never close
  • Advanced launch arguments are used even when the input field is closed
  • Fixed an issue where having many maps caused some maps to not have their information loaded

Other changes

  • .NET Framework is no longer required
  • Clear English translations for the Steam credentials popup (Thanks to @Aeywoo)
  • NSFW models are now blurred when browsing for models
  • When no mods are available for a Beat Saber version, the version number is now shown
  • Mods load faster
  • After a first full maps loading, maps load almost instantly
  • Improved performance in lists with lot of contents
", "title" : "What's new ?", "timestamp" : 1721048400, "version" : "1.5.0-alpha.1" From d020b72f20b232d08a578c98120fc35c8da993a5 Mon Sep 17 00:00:00 2001 From: shidorien Date: Mon, 15 Jul 2024 15:51:19 +0200 Subject: [PATCH 8/8] Add web site button to ChangelogModal component --- .../chabgelog-modal/changelog-modal.component.tsx | 5 ++++- src/renderer/components/svgs/bsm-icon.component.tsx | 10 +++++++++- .../components/svgs/icons/web-site-icon.component.tsx | 9 +++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/renderer/components/svgs/icons/web-site-icon.component.tsx diff --git a/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx b/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx index ae61a4f9..d4e56966 100644 --- a/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx +++ b/src/renderer/components/modal/modal-types/chabgelog-modal/changelog-modal.component.tsx @@ -9,12 +9,12 @@ import Tippy from "@tippyjs/react"; export const ChangelogModal: ModalComponent = ({ options: {data: changelog} }) => { - console.log(changelog); const linkOpener = useService(LinkOpenerService); const openGithub = () => linkOpener.open("https://github.com/Zagrios/bs-manager"); const openTwitter = () => linkOpener.open("https://twitter.com/BSManager_"); const openSupportPage = () => linkOpener.open("https://www.patreon.com/bsmanager"); const openDiscord = () => linkOpener.open("https://discord.gg/uSqbHVpKdV"); + const openWebSite = () => linkOpener.open("https://bsmanager.io/"); const date = changelog?.timestamp ? new Date(changelog.timestamp * 1000).toLocaleDateString() : ''; return ( @@ -40,6 +40,9 @@ export const ChangelogModal: ModalComponent = ({ options
+ +
+
diff --git a/src/renderer/components/svgs/bsm-icon.component.tsx b/src/renderer/components/svgs/bsm-icon.component.tsx index fa5056a3..fad7b614 100644 --- a/src/renderer/components/svgs/bsm-icon.component.tsx +++ b/src/renderer/components/svgs/bsm-icon.component.tsx @@ -50,6 +50,7 @@ import { SyncIcon } from "./icons/sync-icon.component"; import { VolumeUpIcon } from "./icons/volume-up-icon.component"; import { VolumeOffIcon } from "./icons/volume-off-icon.component"; import { VolumeDownIcon } from "./icons/volume-down-icon.component"; +import { WebSiteIcon } from "./icons/web-site-icon.component"; import { GermanIcon } from "./flags/german-icon.component"; import { RussianIcon } from "./flags/russian-icon.component"; import { ChineseIcon } from "./flags/chinese-icon.component"; @@ -61,7 +62,8 @@ import { ShortcutIcon } from "./icons/shortcut-icon.component"; import { BackupRestoreIcon } from "./icons/backup-restore-icon.component"; import { SongDetailDiffCharactertistic } from "shared/models/maps/song-details-cache/song-details-cache.model"; -export type BsmIconType = SongDetailDiffCharactertistic | ("settings" | "trash" | "favorite" | "folder" | "bsNote" | "check" | "three-dots" | "twitch" | "eye" | "play" | "checkCircleIcon" | "discord" | "info" | "eye-cross" | "terminal" | "desktop" | "oculus" | "add" | "cross" | "task" | "github" | "close" | "thumbUpFill" | "timerFill" | "pause" | "twitter" | "sync" | "chevron-top" | "copy" | "steam" | "edit" | "export" | "patreon" | "search" | "bsMapDifficulty" | "link" | "unlink" | "download" | "filter" | "mee6" | "volume-up" | "volume-off" | "volume-down" | "shortcut" | "backup-restore" | "fr-FR-flag" | "es-ES-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag" | "zh-CN-flag" | "zh-TW-flag" | "ja-JP-flag"); + +export type BsmIconType = SongDetailDiffCharactertistic | ("settings" | "trash" | "favorite" | "folder" | "bsNote" | "check" | "three-dots" | "twitch" | "eye" | "play" | "checkCircleIcon" | "discord" | "info" | "eye-cross" | "terminal" | "desktop" | "oculus" | "add" | "cross" | "task" | "github" | "close" | "thumbUpFill" | "timerFill" | "pause" | "twitter" | "sync" | "chevron-top" | "copy" | "steam" | "edit" | "export" | "patreon" | "search" | "bsMapDifficulty" | "link" | "unlink" | "download" | "filter" | "mee6" | "volume-up" | "volume-off" | "volume-down" | "shortcut" | "backup-restore" | "web-site" | "fr-FR-flag" | "es-ES-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag" | "zh-CN-flag" | "zh-TW-flag" | "ja-JP-flag"); export const BsmIcon = memo(({ className, icon, style }: { className?: string; icon: BsmIconType; style?: CSSProperties }) => { // TODO : Very ugly very messy, need to find a better way to do this @@ -250,7 +252,13 @@ export const BsmIcon = memo(({ className, icon, style }: { className?: string; i if (icon === "backup-restore") { return ; } + + if(icon === "web-site") { + return ; + } return ; + + }; return <>{renderIcon()}; diff --git a/src/renderer/components/svgs/icons/web-site-icon.component.tsx b/src/renderer/components/svgs/icons/web-site-icon.component.tsx new file mode 100644 index 00000000..8f6e82e5 --- /dev/null +++ b/src/renderer/components/svgs/icons/web-site-icon.component.tsx @@ -0,0 +1,9 @@ +import { CSSProperties } from "react"; + +export function WebSiteIcon(props: { className?: string; style?: CSSProperties }) { + return ( + + + + ); +}