Commit Graph

242 Commits

Author SHA1 Message Date
Hakadao
f9857a23bb fix: make haveScrollbar() async in multiple components
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run
This change updates several components to use an async version of `haveScrollbar()`, ensuring proper handling of scrollbar detection across different views like Favorites, History, Home components, and WatchLater.
2025-02-11 18:05:31 +08:00
Hakadao
d7a242416b fix(scrollbar): handle null viewport in haveScrollbar() 2025-02-11 17:56:25 +08:00
EkkoLee
a662bc1a61 fix: refactor and remove redundant code (#1311)
Co-authored-by: EkkoLee98 <ekkoli@addcn.com>
2025-02-11 17:49:05 +08:00
EkkoLee
b84936a479 fix: resolve osInstance is null in haveScrollbar() (#1306)
Co-authored-by: EkkoLee98 <ekkoli@addcn.com>
2025-02-11 17:34:41 +08:00
Hakadao
1662507862 chore: make linter happy
Some checks are pending
CI / Test (lts/*, ubuntu-latest) (push) Waiting to run
CI / Test (lts/*, windows-latest) (push) Waiting to run
CI / Test (lts/-1, ubuntu-latest) (push) Waiting to run
CI / Test (lts/-1, windows-latest) (push) Waiting to run
2025-01-26 07:49:59 +08:00
Hakadao
a75d02f0cd fix: refactor Bilibili header visibility logic 2025-01-26 07:44:56 +08:00
Hakadao
138e2f99c5 feat: support https://www.bilibili.com/v/popular/all 2025-01-26 06:29:57 +08:00
Hakadao
a44953b284 fix: hide original Bilibili top bar when using original page 2025-01-26 06:21:18 +08:00
Hakadao
7e35a53ccb fix(dock): navigation to other pages fails outside homepage 2025-01-26 05:56:13 +08:00
star knight
aa3a78173f fix(iframe-drawer): prevent top content from covering issues (#1249)
Co-authored-by: Hakadao <a578457889743@gmail.com>
2025-01-19 23:25:30 +08:00
Hakadao
af5d9ce46b feat(top-bar): bewly or bili top bar switcher (#1237)
close #1237
2025-01-12 21:55:14 +08:00
Hakadao
aecd880e32 fix: top bar and dock issues on the original bilibili homepage 2025-01-12 03:22:58 +08:00
Hakadao
dd50659355 fix: top bar covering content (#1235)
resolve #1235
2025-01-02 02:13:23 +08:00
Hakadao
df62cef2c6 feat(dock): always show dock (#1217) 2024-12-30 00:37:33 +08:00
Hakadao
47644b530e feat: moments page 2024-12-15 22:35:36 +08:00
Hakadao
9f21561ca9 feat(top-bar): redesign search bar 2024-12-15 01:26:56 +08:00
Hakadao
e0bd5d1569 chore: tweak styles 2024-12-14 17:27:55 +08:00
Hakadao
b55952278d fix: prevent <IframePage> from showing outside the bilibili homepage 2024-12-09 23:06:53 +08:00
Hakadao
6be1309628 refactor: use isInIframe() 2024-12-09 12:05:18 +08:00
Hakadao
06d58d95ab feat(dock): support opening in a new tab && using the Bilibili page 2024-12-09 02:34:15 +08:00
Hakadao
87ddf97ffd feat(top-bar): redesign top bar (#1159)
* feat: redesign top bar

* chore: update
2024-12-02 00:32:04 +08:00
Hakadao
69c980c60c feat: improve top bar linear-gradient transparent effect 2024-12-01 21:52:35 +08:00
Hakadao
a230fe158a fix: resolve style issues on small screens 2024-11-20 02:03:22 +08:00
Hakadao
e784505b1b feat: adjust left and right margins of the main app 2024-11-18 23:01:59 +08:00
Hakadao
b87c2920e0 chore: lint fix 2024-11-12 00:52:15 +08:00
apades
55273b770b fix(iframe-drawer): cannot change url when video changes (#1072)
* fix: 抽屉页面内点击其他链接跳转后,“在新标签页打开“按钮无法正确导向至当前链接 #1068

* chore: update

* chore: update

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-11-11 01:53:10 +08:00
Hakadao
3e42f53ebc feat(home): add live page on home 2024-10-28 02:34:27 +08:00
Hakadao
fbde884004 fix(iframe-drawer): correct URL location when opening in a new tab (#1068) 2024-10-27 03:05:58 +08:00
Hakadao
6aff27547a feat: remember last opened page when returning to homepage 2024-10-24 00:07:44 +08:00
apades
059280fbfd fix(iframe-drawer): resolve content being obscured at the top of video #1023 (#1067)
Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-10-17 00:10:57 +08:00
Hakadao
7ef097768e fix: unable to load more videos without initial scrollbar 2024-10-10 01:43:35 +08:00
Hakadao
893dbd1410 feat: enhance video card context menu 2024-10-08 02:13:38 +08:00
Hakadao
9fb9859888 refactor(App.vue): extract necessary settings watchers to dedicated file 2024-09-17 05:24: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
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
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
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
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
Hakadao
f30a6a711f fix(top-bar): top bar cannot auto-hide on the home page 2024-07-23 00:51:17 +08:00
Hakadao
95ae47b0af refactor(top-bar): move all relative logic to TopBar.vue && remove alwaysShowTheTopBarLogoOnSearchPageMode setting 2024-07-21 19:08:23 +08:00
Hakadao
50e3c82739 feat: add dark mode support for creative center (#876)
* feat: support creative center dark mode

* feat: improve dark mode support for creative center

* chore: update --bew-filter-force-dark value in variables.scss

* feat: Add dark mode support for creative center page

* chore: remove unused imports in adaptedStyles/index.ts
2024-07-10 01:48:12 +08:00
Hakadao
06382e10e2 feat: recommendation mode filter setting (#840)
* feat: Add filter options for view count and duration in settings

* chore: update styles && rename func.ts to useFilter.ts

* feat: Add scrollbar check to determine if the viewport has a scrollbar

* feat: app recommendation filters

* chore: update

* feat: i18n support

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
2024-07-01 01:05:18 +08:00