Commit Graph

574 Commits

Author SHA1 Message Date
Hakadao
eaa021e7ba refactor: extract video context menu and dislike dialog logic to other files 2024-10-05 19:09:12 +08:00
Hakadao
115999652a fix(settings): cannot change the bewly's shadow dom style immediately 2024-10-03 02:32:46 +08:00
Hakadao
9a056bb7cb feat: detect and handle have multiple BewlyBewly cases 2024-09-30 14:42:04 +08:00
Hakadao
5d43046a8b chore: disable startShadowDOMStyleInjection() 2024-09-29 00:30:15 +08:00
Hakadao
3c28e54ad9 feat: auto switch the top bar for bewlybewly and bilibili 2024-09-27 11:48:12 +08:00
Hakadao
ea083c527a feat: remove the indent from chinese punctuation 2024-09-26 22:33:24 +08:00
Hakadao
d379499cb6 fix: remove the system-ui as the first font && update mono fonts
close #1030
2024-09-26 15:48:16 +08:00
Hakadao
c7f73ed08c chore: lint 2024-09-21 23:57:51 +08:00
Hakadao
1cf12b3d07 chore: lint 2024-09-21 23:01:32 +08:00
Hakadao
af47910f0a feat: customize css (#794)
close #794
2024-09-21 22:54:05 +08:00
Hakadao
0d3e062bec refactor: move the uno.css import into the main entry 2024-09-21 15:50:21 +08:00
Hakadao
5ced3d9c47 feat: customize font (#1014)
close #954
2024-09-21 02:00:14 +08:00
Hakadao
6bb4b2d89b feat(history, watch-later): support open in drawer in video card 2024-09-20 12:59:53 +08:00
star knight
045e856ed9 fix: style mistake (#1013)
* fix: style mistake

* chore: only apply reset style with the bewly application

* chore: lint

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-09-18 12:09:45 +08:00
Hakadao
a4e77d1b23 feat: adjust fonts by selected language 2024-09-18 02:06:24 +08:00
Hakadao
9fb9859888 refactor(App.vue): extract necessary settings watchers to dedicated file 2024-09-17 05:24:15 +08:00
Hakadao
5b602dce46 fix(video-card): resolve cannot click unfavorite and some video buttons when set to open in the drawer
This commit fixes the issue where the unfavorite button and some other video-related buttons are unresponsive when the video card is displayed in the drawer.
2024-09-16 00:07:54 +08:00
Hakadao
c74a56de6f fix: adjust conditions for skipping startShadowDOMStyleInjection() 2024-09-14 12:33:03 +08:00
Hakadao
6e048e59d7 refactor: startShadowDOMStyleInjection() 2024-09-14 12:08:03 +08:00
Hakadao
f34893d0f4 perf: disable startShadowDOMStyleInjection() 2024-09-14 11:25:32 +08:00
Hakadao
5c1dc39520 refactor: improve startShadowDOMStyleInjection() 2024-09-14 00:22:52 +08:00
Hakadao
85b1072277 fix(adapted-styles): support shadow dom style for comments 2024-09-13 02:16:15 +08:00
Hakadao
bc3b9d283c perf: improve BewlyBewly inject speed 2024-09-10 13:17:16 +08:00
Hakadao
5bdcbb719e feat(settings): auto hide sidebar 2024-09-09 02:19:28 +08:00
Hakadao
a96d2f0ef6 feat(filters): filter out vertical videos (#991) 2024-09-08 17:50:50 +08:00
Hakadao
bb3c6b5e2c feat: add video card open mode config && open video in drawer (#984)
* feat: video card open mode

* update

* update

* fix: non-homepage show the bewly homepage

* fix(video-card): click the more icon will trigger opening drawer effect

* feat(video-drawer): improve ui and functionally

* feat(i18n): add i18n support for video card link opening behavior setting

* chore: reorder settings
2024-09-08 13:36:42 +08:00
Hakadao
17ef4be09c fix(home-page): banner shaking issue when using the original bilibili homepage 2024-09-01 15:55:54 +08:00
Hakadao
bf4b014bca perf: improve BewlyBewly injection speed on the homepage 2024-09-01 14:50:52 +08:00
Hakadao
eed7223936 chore(for-you): add description for "not interested" dialog 2024-08-31 02:40:35 +08:00
Hakadao
cc63b0cc99 refactor(anime): use v-show to show the skeleton 2024-08-29 21:37:34 +08:00
Hakadao
11005cfd4e perf(for-you): enhance performance when video filter is unset 2024-08-29 12:44:31 +08:00
Hakadao
4cdbf2ceb3 feat: update grid layout switcher icons 2024-08-29 11:50:18 +08:00
Hakadao
37e9fe6ffa fix(top-bar): resolve original top bar showing up before load (#967)
close #967
2024-08-29 01:11:58 +08:00
Hakadao
7083f41221 fix: resolve bilibili's top bar showing up before load (#967)
close #967
2024-08-27 23:54:23 +08:00
Hakadao
7ba993c69b fix(top-bar): resolve issue when top bar can't be disabled && refactor top bar visibility functionally (#971)
close #971
2024-08-27 23:03:11 +08:00
Hakadao
cda9ec1529 feat: video title filter and user filter (#965)
* chore: filter by title (wip)

* refactor: Update Input component to use defineModel for two-way binding

* chore(settings): add functionality to add, edit, and delete title filters

* chore: Refactor List and ListItem components for improved styling and functionality

* feat(home-settings): use grid layout for title filters

* feat(settings): implement filter by title && filter by user

* chore(list): update style

* feat: Implement case-insensitive filter functionality

* fix: filter by user not working

* feat: disable filter for followed user

* chore: fix typo

* feat: update ui

* chore: improve the filter descriptions and update styles

* chore: update code tag style

* fix(for-you): resolve scrolling issue (#964)
close #964

* chore: add i18n support for filter settings

* chore: update cantonese translation

* refactor: update localization strings for `FilterByUserTable` and `FilterByTitleTable`
2024-08-22 00:26:03 +08:00
Hakadao
bdff7cf2b8 refactor: update localization strings for common operation 2024-08-21 23:44:51 +08:00
Hakadao
19cb3e3342 refactor: update localization strings for common operations 2024-08-21 18:45:36 +08:00
Hakadao
9932c77762 chore: support safari (hmmm, i guess?) (#960)
* Add support of Safari

1. Workaround of Safari's bug of not sending cookies when using fetch in background service worker. This fixes https://github.com/hakadao/BewlyBewly/issues/275#issuecomment-1927278492. See: https://stackoverflow.com/questions/78239213/safari-extension-service-worker-not-sending-cookie
2. Add scripts to for Safari specific build and convert it to a Safari web extension.

* Fixed a bug in Safari that when the extension was installed, the page would turn into a white screen

* Safari may fire DOMContentLoaded before the codes get called

* Remove false fix; Ignore extension-safari

* Reduce memory and power usage with a nonpersistent background page on Safari and Firefox, see https://developer.apple.com/documentation/safariservices/safari_web_extensions/optimizing_your_web_extension_for_safari#3743241 and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts

* Build and release Safari extension with Github actions (#585)

* feat: add safari extension build

* fix: safari pathname

* fix: add build branch

* Merge

* Try building Safari extension using GitHub action

Correct versions

Debug

Minor bug fixed

Minor bug fixed

Add scripts to release

Minor bug fixed

Minor bug fixed

Minor bug fixed

---------

Co-authored-by: 梦念逍遥 <2589141604@qq.com>
Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: Hakadao <a578457889743@gmail.com>

* fix: safari build (#665)

* chore: update

* chore: update knip.json to ignore "xcrun" binaries

---------

Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: exgphe <14009450+exgphe@users.noreply.github.com>
Co-authored-by: 梦念逍遥 <2589141604@qq.com>
2024-08-14 00:24:09 +08:00
Hakadao
5c8ea6a618 chore: Adjust Bilibili homepage top bar color and style 2024-08-13 00:15:15 +08:00
Hakadao
0b8999d751 refactor: use color-mix for theme color & status color 2024-08-13 00:05:21 +08:00
Hakadao
d35e710080 chore: Adjust Bilibili homepage top bar color and style 2024-08-12 23:57:15 +08:00
Hakadao
9d01c7f299 feat: add a config to enable original bilibili top bar 2024-08-12 01:32:42 +08:00
Hakadao
05d2b6f67e refactor: update hexToHSL function to convert hex color to HSLA 2024-08-05 02:30:13 +08:00
Hakadao
80dd62ae0f chore: adjust top bar height 2024-07-30 12:05:03 +08:00
Hakadao
10ad269e92 fix: lint 2024-07-29 13:22:22 +08:00
Hakadao
615c9de1bd refactor: global import common components && remove useless imports 2024-07-29 12:30:23 +08:00
Hakadao
693a7afd72 feat: add option to use old top bar 2024-07-27 14:29:49 +08:00
Konv Suu
316e466dd4 fix(subscribed-series): add empty content (#924)
* fix(subscribed-series): add empty content

* wip
2024-07-26 12:16:37 +08:00
Hakadao
036a36dffb chore(adapted-styles): update styles for topic page 2024-07-23 10:48:38 +08:00