From b88f5ba5eb1057c23d5c1907d41ba3063aee11ed Mon Sep 17 00:00:00 2001 From: tycho Date: Sun, 28 Jan 2024 16:04:02 +0800 Subject: [PATCH 1/8] refactor: remove unused @types/md5 dependency --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e3d3b9fb..cd010744 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "postinstall": "npx simple-git-hooks" }, "dependencies": { - "@types/md5": "^2.3.5", "dplayer": "^1.27.1", "md5": "^2.3.0", "mitt": "^3.0.1", @@ -52,6 +51,7 @@ "@iconify/vue": "^4.1.1", "@intlify/unplugin-vue-i18n": "^0.8.2", "@rollup/plugin-replace": "^5.0.5", + "@types/md5": "^2.3.5", "@types/dplayer": "^1.25.5", "@types/fs-extra": "^9.0.13", "@types/node": "^18.18.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d645930f..bc2ba82f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,6 @@ settings: excludeLinksFromLockfile: false dependencies: - '@types/md5': - specifier: ^2.3.5 - version: 2.3.5 dplayer: specifier: ^1.27.1 version: 1.27.1 @@ -64,6 +61,9 @@ devDependencies: '@types/fs-extra': specifier: ^9.0.13 version: 9.0.13 + '@types/md5': + specifier: ^2.3.5 + version: 2.3.5 '@types/node': specifier: ^18.18.10 version: 18.19.6 @@ -1258,7 +1258,7 @@ packages: /@types/md5@2.3.5: resolution: {integrity: sha512-/i42wjYNgE6wf0j2bcTX6kuowmdL/6PE4IVitMpm2eYKBUuYCprdcWVK+xEF0gcV6ufMCRhtxmReGfc6hIK7Jw==} - dev: false + dev: true /@types/mdast@3.0.15: resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} From a83c8d1da7b22857b66da26a05d38b1b9ea11de6 Mon Sep 17 00:00:00 2001 From: tycho Date: Sun, 28 Jan 2024 16:20:47 +0800 Subject: [PATCH 2/8] feat(SearchBar): handle blur event to update focus state --- src/components/SearchBar/SearchBar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index e1766e71..351e81e9 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -173,6 +173,7 @@ async function handleClearSearchHistory() { ring="1 $bew-border-color" transition="all duration-300" type="text" + @blur="isFocus = false" @focus="isFocus = true" @input="handleInput" @keyup.enter.stop.passive="navigateToSearchResultPage(keyword)" From e59d2d17f9ef278c01de598bcfcc793ccce5875a Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 29 Jan 2024 01:10:41 +0800 Subject: [PATCH 3/8] Revert "Hide search history dropdown on input blur" --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/components/SearchBar/SearchBar.vue | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index cd010744..e3d3b9fb 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "postinstall": "npx simple-git-hooks" }, "dependencies": { + "@types/md5": "^2.3.5", "dplayer": "^1.27.1", "md5": "^2.3.0", "mitt": "^3.0.1", @@ -51,7 +52,6 @@ "@iconify/vue": "^4.1.1", "@intlify/unplugin-vue-i18n": "^0.8.2", "@rollup/plugin-replace": "^5.0.5", - "@types/md5": "^2.3.5", "@types/dplayer": "^1.25.5", "@types/fs-extra": "^9.0.13", "@types/node": "^18.18.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc2ba82f..d645930f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false dependencies: + '@types/md5': + specifier: ^2.3.5 + version: 2.3.5 dplayer: specifier: ^1.27.1 version: 1.27.1 @@ -61,9 +64,6 @@ devDependencies: '@types/fs-extra': specifier: ^9.0.13 version: 9.0.13 - '@types/md5': - specifier: ^2.3.5 - version: 2.3.5 '@types/node': specifier: ^18.18.10 version: 18.19.6 @@ -1258,7 +1258,7 @@ packages: /@types/md5@2.3.5: resolution: {integrity: sha512-/i42wjYNgE6wf0j2bcTX6kuowmdL/6PE4IVitMpm2eYKBUuYCprdcWVK+xEF0gcV6ufMCRhtxmReGfc6hIK7Jw==} - dev: true + dev: false /@types/mdast@3.0.15: resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index 351e81e9..e1766e71 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -173,7 +173,6 @@ async function handleClearSearchHistory() { ring="1 $bew-border-color" transition="all duration-300" type="text" - @blur="isFocus = false" @focus="isFocus = true" @input="handleInput" @keyup.enter.stop.passive="navigateToSearchResultPage(keyword)" From 5d4538b49a67c9b19ffa0c97ca7fcc6be8346057 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 31 Jan 2024 00:03:32 +0800 Subject: [PATCH 4/8] =?UTF-8?q?fix:=20=E6=92=AD=E6=94=BE=E5=85=A8=E9=83=A8?= =?UTF-8?q?up=E8=A7=86=E9=A2=91=E6=97=B6=E5=A4=B1=E6=95=88=20#243?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/contentScripts/index.ts | 2 +- src/contentScripts/views/App.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contentScripts/index.ts b/src/contentScripts/index.ts index 9e596714..a68f8920 100644 --- a/src/contentScripts/index.ts +++ b/src/contentScripts/index.ts @@ -36,7 +36,7 @@ function isSupportedPages() { || /https?:\/\/www.bilibili.com\/\?bvid=.*$/.test(currentUrl) // video page - || /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(currentUrl) + || /https?:\/\/(www.)?bilibili.com\/(video|list)\/.*/.test(currentUrl) // anime playback & movie page || /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(currentUrl) // watch later playlist diff --git a/src/contentScripts/views/App.vue b/src/contentScripts/views/App.vue index cd1fa532..c8dbf3c5 100644 --- a/src/contentScripts/views/App.vue +++ b/src/contentScripts/views/App.vue @@ -43,7 +43,7 @@ const isTopBarFixed = computed(() => { // // search page // || /https?:\/\/search.bilibili.com\/.*$/.test(location.href) // video page - || /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(location.href) + || /https?:\/\/(www.)?bilibili.com\/(video|list)\/.*/.test(location.href) // anime playback & movie page || /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(location.href) // moment page From 4ae33c3bc00e907256e5b259aa48bd7a8f8f6cda Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 31 Jan 2024 09:55:11 +0800 Subject: [PATCH 5/8] chore(main): release 0.14.3 Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b4b70ce..22753d5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [0.14.3](https://github.com/hakadao/BewlyBewly/compare/v0.14.3...v0.14.3) (2024-01-31) + + +### Features + +* **SearchBar:** handle blur event to update focus state ([a83c8d1](https://github.com/hakadao/BewlyBewly/commit/a83c8d1da7b22857b66da26a05d38b1b9ea11de6)) + + +### Bug Fixes + +* adjust text in `MomentsPop` [建议] 增加动态状态差分 [#226](https://github.com/hakadao/BewlyBewly/issues/226) ([c62f2c6](https://github.com/hakadao/BewlyBewly/commit/c62f2c604c7043b22d03bbab0498d16ad20121b5)) +* handle `History` video url location part [#223](https://github.com/hakadao/BewlyBewly/issues/223) ([e73ae0e](https://github.com/hakadao/BewlyBewly/commit/e73ae0e3a6deb26f847952e804c8f6514881fa80)) +* handle top bar video part ([b5e7465](https://github.com/hakadao/BewlyBewly/commit/b5e74659697c463d0221b21c6d19652a90308e7e)) +* 播放全部up视频时失效 [#243](https://github.com/hakadao/BewlyBewly/issues/243) ([5d4538b](https://github.com/hakadao/BewlyBewly/commit/5d4538b49a67c9b19ffa0c97ca7fcc6be8346057)) + ## [0.14.3](https://github.com/hakadao/BewlyBewly/compare/v0.14.2...v0.14.3) (2024-01-22) From eac1c576d52c80cc2a1b59cca63e44ff3aba18b7 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 31 Jan 2024 10:12:39 +0800 Subject: [PATCH 6/8] chore: update version number --- .github/workflows/changelog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 2be5bba6..3c0a8ea1 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -19,6 +19,6 @@ jobs: token: ${{ secrets.RELEASE_TOKEN }} release-type: node package-name: release-please-action - release-as: 0.14.3 + release-as: 0.14.4 signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"i18n","section":"I18n","hidden":false},{"type":"style","section":"Style Changes","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]' From 168f4e04b5e777fd99becc1a7383f919146ad889 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 31 Jan 2024 10:13:30 +0800 Subject: [PATCH 7/8] chore(main): release 0.14.4 Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b4b70ce..4049973b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## [0.14.4](https://github.com/hakadao/BewlyBewly/compare/v0.14.3...v0.14.4) (2024-01-31) + + +### Features + +* **SearchBar:** handle blur event to update focus state ([a83c8d1](https://github.com/hakadao/BewlyBewly/commit/a83c8d1da7b22857b66da26a05d38b1b9ea11de6)) + + +### Bug Fixes + +* adjust text in `MomentsPop` [建议] 增加动态状态差分 [#226](https://github.com/hakadao/BewlyBewly/issues/226) ([c62f2c6](https://github.com/hakadao/BewlyBewly/commit/c62f2c604c7043b22d03bbab0498d16ad20121b5)) +* handle `History` video url location part [#223](https://github.com/hakadao/BewlyBewly/issues/223) ([e73ae0e](https://github.com/hakadao/BewlyBewly/commit/e73ae0e3a6deb26f847952e804c8f6514881fa80)) +* handle top bar video part ([b5e7465](https://github.com/hakadao/BewlyBewly/commit/b5e74659697c463d0221b21c6d19652a90308e7e)) +* 播放全部up视频时失效 [#243](https://github.com/hakadao/BewlyBewly/issues/243) ([5d4538b](https://github.com/hakadao/BewlyBewly/commit/5d4538b49a67c9b19ffa0c97ca7fcc6be8346057)) + + +### Miscellaneous + +* update version number ([eac1c57](https://github.com/hakadao/BewlyBewly/commit/eac1c576d52c80cc2a1b59cca63e44ff3aba18b7)) + ## [0.14.3](https://github.com/hakadao/BewlyBewly/compare/v0.14.2...v0.14.3) (2024-01-22) diff --git a/package.json b/package.json index e3d3b9fb..a54576c8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bewly-bewly", "displayName": "BewlyBewly", - "version": "0.14.3", + "version": "0.14.4", "private": true, "packageManager": "pnpm@8.14.1", "description": "Just make a few small changes to your Bilibili homepage.", From 39361e1f6f2cf0ccab27f12d27f8b7b980ed8049 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Wed, 31 Jan 2024 10:24:59 +0800 Subject: [PATCH 8/8] chore: update version number --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e3d3b9fb..a54576c8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bewly-bewly", "displayName": "BewlyBewly", - "version": "0.14.3", + "version": "0.14.4", "private": true, "packageManager": "pnpm@8.14.1", "description": "Just make a few small changes to your Bilibili homepage.",