From b3a95580c422004f331a302c80c4168aaeaafdca Mon Sep 17 00:00:00 2001 From: Hakadao Date: Sun, 10 Mar 2024 12:59:16 -0300 Subject: [PATCH 1/8] chore(main): release 0.15.0 (#368) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fc3e941..f5da923a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## [0.15.0](https://github.com/hakadao/BewlyBewly/compare/v0.14.9...v0.15.0) (2024-03-10) + + +### Features + +* add performance settings ([e70f62d](https://github.com/hakadao/BewlyBewly/commit/e70f62d83a886e1a82a92738b5bc5b01f4ea4e25)) +* block ads ([02788dd](https://github.com/hakadao/BewlyBewly/commit/02788ddb900910309981379f90107768dec4a873)) +* **Dock:** redesign dock ([f988e9e](https://github.com/hakadao/BewlyBewly/commit/f988e9edc8d2f56f8de8bb4994e1c108535b1f2d)) +* **Home:** implement grid layout switcher ([fede875](https://github.com/hakadao/BewlyBewly/commit/fede8758ffeba7905d6838fd4b5af229e24667ba)) +* **Settings:** add an "always show top bar logo" setting ([#219](https://github.com/hakadao/BewlyBewly/issues/219)) ([09f5c6e](https://github.com/hakadao/BewlyBewly/commit/09f5c6ea6f22ac365370f2195b70449f22b77472)) +* **Settings:** add credits section on about page ([682e749](https://github.com/hakadao/BewlyBewly/commit/682e7497f4e8adffc9635f3111a4ee3c0a8025da)) +* **Settings:** add discord link to about page ([aa8c461](https://github.com/hakadao/BewlyBewly/commit/aa8c4614399be025580e3766826be9f0cce8861f)) +* **Settings:** redesign settings panel ([b81fbbd](https://github.com/hakadao/BewlyBewly/commit/b81fbbd25d46fc73acaab0c260a1e5122c821c4f)) +* **Settings:** redesign settings panel ([ffcf94b](https://github.com/hakadao/BewlyBewly/commit/ffcf94bd2ed296b2e6ba3724b2b4ceb949e2af29)) +* **TopBar:** add top bar icon badges config ([ffc9fed](https://github.com/hakadao/BewlyBewly/commit/ffc9fed7d72dd1026fed503b6d39da083795eaa3)) +* **VideoCard:** implement adaptive width in horizontal mode ([2b25373](https://github.com/hakadao/BewlyBewly/commit/2b253731614307339b1d4ef3ceb298b6b8bd4232)) + + +### Bug Fixes + +* **Dock:** active color incorrect when hovering dock item in dark mode ([96caf82](https://github.com/hakadao/BewlyBewly/commit/96caf826697433f97c33492d98c09f62e078b34e)) +* **Favorites:** ensure full display of favorites content ([#323](https://github.com/hakadao/BewlyBewly/issues/323)) ([00a84a6](https://github.com/hakadao/BewlyBewly/commit/00a84a6449ef553fe1ab980e9588de10c037b115)) +* **Home:** resolve home tabs drifting issue([#349](https://github.com/hakadao/BewlyBewly/issues/349)) ([50ef6f7](https://github.com/hakadao/BewlyBewly/commit/50ef6f7b04d486258255876b535b08fd084bab25)) +* qr code cannot be scanned in some cases ([5308896](https://github.com/hakadao/BewlyBewly/commit/5308896a8e66aaaa7b807f1df8da2e4883795a9c)) +* some style bugs ([#362](https://github.com/hakadao/BewlyBewly/issues/362)) ([f23b66b](https://github.com/hakadao/BewlyBewly/commit/f23b66bb0fd045552e1fc0e3d0768f4f7d65b698)) +* **WatchLater:** correct watch later jump url ([fb9de97](https://github.com/hakadao/BewlyBewly/commit/fb9de97aa511df588e4520cc01813bf88db5d058)) + + +### Style Changes + +* add edge glow effect in some dialogs ([747c0a1](https://github.com/hakadao/BewlyBewly/commit/747c0a1bc8d6767f59d2426f248ffe5bcc3ec0e6)) +* adjust dock styles ([24c5c18](https://github.com/hakadao/BewlyBewly/commit/24c5c18c3acebebc61abd577f1107a61acc906e2)) +* decrease the content opacity in light mode ([bbf5daf](https://github.com/hakadao/BewlyBewly/commit/bbf5daf5e2cf8f8733a1ca0a636d12525d2a94bf)) +* **Settings:** adjust the block ads position ([f4c3227](https://github.com/hakadao/BewlyBewly/commit/f4c3227ffc337b90e22a8959de4ccb55e6ebdc47)) +* **TopBar:** adjust style ([e6b8a7c](https://github.com/hakadao/BewlyBewly/commit/e6b8a7c7082950497dff80271228f75905d9e5e5)) +* **VideoCard:** adjust horizontal style ([e3a3992](https://github.com/hakadao/BewlyBewly/commit/e3a3992ef669808244734fe9bce51185f31a00f3)) + + +### CI + +* adjust changelog ([a76cae1](https://github.com/hakadao/BewlyBewly/commit/a76cae13c26bb5c19a18547eb922528ec7df641a)) + ## [0.14.9](https://github.com/hakadao/BewlyBewly/compare/v0.14.8...v0.14.9) (2024-03-03) diff --git a/package.json b/package.json index c445f2a3..7ec9bb00 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bewly-bewly", "displayName": "BewlyBewly", - "version": "0.14.9", + "version": "0.15.0", "private": true, "packageManager": "pnpm@8.15.3", "description": "Just make a few small changes to your Bilibili homepage.", From 30ec6abba04e1a1b489d39326f4e6300f9fec599 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 11 Mar 2024 21:44:46 -0300 Subject: [PATCH 2/8] fix: resolve issue when using ad-blocking extensions blocks entire page (#375) --- src/contentScripts/views/App.vue | 6 ++++-- src/styles/blockAds.scss | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue index e35a6a9d..394bb48c 100644 --- a/src/contentScripts/views/App.vue +++ b/src/contentScripts/views/App.vue @@ -254,10 +254,12 @@ function handleOsScroll() { } function handleBlockAds() { + // Do not use the "ads" keyword. AdGuard, AdBlock, and some ad-blocking extensions will + // detect and remove it when the class name contains "ads" if (settings.value.blockAds) - document.documentElement.classList.add('block-ads') + document.documentElement.classList.add('block-useless-contents') else - document.documentElement.classList.remove('block-ads') + document.documentElement.classList.remove('block-useless-contents') } function handleDisableFrostedGlass() { diff --git a/src/styles/blockAds.scss b/src/styles/blockAds.scss index 3046d6a1..71778e9d 100644 --- a/src/styles/blockAds.scss +++ b/src/styles/blockAds.scss @@ -1,4 +1,6 @@ -.block-ads { +// Do not use the "ads" keyword. AdGuard, AdBlock, and some ad-blocking extensions will +// detect and remove it when the class name contains "ads" +.block-useless-contents { // 原版首頁最右則推介內容 .floor-single-card, // 首頁不能使用不感興趣的影片都當廣告殺了 @@ -16,7 +18,7 @@ } // 首頁推介頂部卡片間距調整 - .recommended-container_floor-aside .container>*:nth-of-type(n + 8) { + .recommended-container_floor-aside .container > *:nth-of-type(n + 8) { margin-top: 0px !important; margin-bottom: 24px; } From bf7309d320c855aaab516e26086b76dd5492c5e1 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 11 Mar 2024 21:51:44 -0300 Subject: [PATCH 3/8] fix(TopBar): moments icon badges show the 0 (#376) --- src/components/TopBar/TopBar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 7f7bc910..43f1e622 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -452,7 +452,7 @@ defineExpose({ @mouseenter="showNotificationsPop = true" @mouseleave="showNotificationsPop = false" > -