Commit Graph

431 Commits

Author SHA1 Message Date
hakadao
70dddc80b5 fix(WatchLater): correct the inaccurate video count 2024-06-02 13:40:11 +08:00
hakadao
37e4c54910 feat: add warning message for unauthorized access key usage 2024-06-02 13:26:08 +08:00
Hakadao
42d69db97a fix: set reachTop initial value is true
because the original webpage is at the top
2024-05-30 23:43:40 +08:00
Hakadao
6110016b39 fix: resolve #797 2024-05-30 01:54:37 +08:00
Hakadao
421b779b58 feat: add option to always show tabs on home page 2024-05-30 01:50:15 +08:00
Hakadao
1da60d4640 feat: add a config to enable/disable grid layout switcher 2024-05-30 01:04:26 +08:00
Hakadao
2a11e7c40c fix(Anime): resolve loading component not showing 2024-05-29 02:09:41 +08:00
Hakadao
f47527e584 refactor: Add throttling to handle reach bottom event 2024-05-28 01:52:04 +08:00
Hakadao
6f77f9acce perf: improve the scrolling performance 2024-05-27 18:30:06 +08:00
Hakadao
7094547f01 refactor: Update pending videos length calculation in Following, SubscribedSeries, and Trending pages 2024-05-27 10:50:48 +08:00
Hakadao
8967dd51df refactor(ForYou): improve loading behavior 2024-05-27 10:47:39 +08:00
Hakadao
7a283df65f refactor: optimize back-to-top functionality with throttling 2024-05-27 02:22:13 +08:00
Hakadao
937374e2d8 refactor: use a new method to reimplement the scroll-top-top function 2024-05-27 02:09:27 +08:00
Hakadao
838d2ea981 fix: some videos disappear on following and subscribed series pages (#786) 2024-05-27 01:57:29 +08:00
Hakadao
bcff30d673 refactor(Dock): use emit function to handle refresh and back-to-top 2024-05-26 23:12:45 +08:00
Hakadao
a2322929fa refactor: rename BackToTopAndRefreshButtons to BackToTopOrRefreshButton 2024-05-26 21:47:26 +08:00
Hakadao
b62f2ce839 refactor(BackToTopAndRefreshButtons): remove the showRefreshButton prop 2024-05-26 21:44:07 +08:00
Hakadao
2250eefa09 feat(Dock): add config to move back-to-top or refresh button to dock 2024-05-26 21:38:22 +08:00
hakadao
4683c35536 perf: optimize scroll handing in App.vue 2024-05-24 01:49:50 +08:00
hakadao
7e61c6bc43 perf: improve scrolling performance 2024-05-24 01:37:24 +08:00
hakadao
9f64cd3d99 perf(WatchLater): improve watch later loading speed (#784)
close #784
2024-05-24 00:56:52 +08:00
Hakadao
261f924446 feat(Favorites): unfavorite confirm (#722)
close #722
2024-05-22 01:55:24 +08:00
Hakadao
d074844240 perf: video card, closes #760, #762 (#779)
* perf: video card

* refactor: video card

* refactor(ForYou): remove loading icon

* refactor(ForYou): remove unused 'url' property in video card component

* refactor(ForYou): remove unused 'url' property in video card component

* fix(VideoCard): prevent `a` tag bubble

* perf: improve video card performance

* refactor(ForYou): optimize video card loading and rending

* refactor(VideoCard): optimize video card loading and rendering

* perf(ForYou): use another method to generate a unique id

* perf(VideoCard): remove hover animation

* feat(VideoCard): add hover & active effect again...

* feat(VideoCard):  adjust hovering & activating effect

* perf(VideoCard): remove the hover effect

* refactor(VideoCard): optimize lazy loading for images

* perf: optimize scrolling performance

* perf(VideoCard): optimize video preview performance
2024-05-22 00:25:34 +08:00
Hakadao
c50d6627b0 refactor(VideoCard): update video card props (#777)
* refactor: update video card props

* refactor(VideoCard): rename `uri` to `url`

* chore(VideoCard): fix typo in comment
2024-05-20 18:26:41 +08:00
hakadao
d5503e6d0d refactor: convert useImage.ts to imgs.ts 2024-05-14 23:57:38 +08:00
hakadao
8e31e69e09 feat(Home): adjust layout switcher icon size 2024-05-14 23:18:32 +08:00
Stephen Zhou
6cc3b4de9f style: sort imports (#746) 2024-05-11 14:20:56 +08:00
Stephen Zhou
2cea2dfaf9 chore: knip (#744) 2024-05-11 11:36:10 +08:00
Stephen Zhou
4b69aaf8d3 refactor: only use unocss icons (#742)
Co-authored-by: hakadao <a578457889743@gmail.com>
2024-05-10 22:03:46 +08:00
Stephen Zhou
99c0d7d8ee refactor: remove composable auto import (#741) 2024-05-10 19:35:34 +08:00
Stephen Zhou
41611675bb refactor: remove component auto import (#740) 2024-05-10 19:18:24 +08:00
Hakadao
a7488c188e perf: debounce handleOsScroll (#735)
* fix: debounce handleOsScroll in OverlayScrollbarsComponent

* fix: 改成箭头函数写法

* refactor: use `useDebounceFn` for debounce handleOsScroll

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
2024-05-09 00:21:05 +08:00
hakadao
26d4cb17bb perf(Home): improve home page performance (#733)
* perf: solve the problem of high home page occupancy (#732)

* chore(Home): add keep alive again for `ForYou` page

* style(Home): improve tab content loading animation

---------

Co-authored-by: star knight <64941905+starknt@users.noreply.github.com>
2024-05-07 23:21:39 +08:00
Hakadao
af3e7cf207 perf: add transform-gpu to improve performance 2024-05-03 23:23:56 +08:00
hakadao
64a7fce64b fix: font size doesn't match the --bew-base-font-size 2024-05-02 23:25:15 +08:00
Stephen Zhou
6bf18d31de chore: use button for tab switch
close #686
2024-05-02 15:33:53 +08:00
star knight
1e6973a343 fix: basic font-size (#701) 2024-05-02 13:43:49 +08:00
Hakadao
dd24072f02 Refactor/rpc (#700)
* refactor(rpc): improve type, and type safe (#673)

* refactor(rpc): improve type, and type safe

* revert `pnpm-lock.yaml` file

* improve api merge

* fix: type annotation in background/index.ts

* fix: type annotation in background/index.ts

---------

Co-authored-by: star knight <64941905+starknt@users.noreply.github.com>
2024-05-02 02:45:59 +08:00
Stephen Zhou
79f11cbb87 refactor: group dark mode logic to useDark (#694)
* refactor: group dark mode logic to useDark

* fix: cannot get the bewlyWrapper

---------

Co-authored-by: hakadao <a578457889743@gmail.com>
2024-05-02 02:10:59 +08:00
Hakadao
02a463cc57 chore: Fix background image URL formatting in Home.vue 2024-04-29 01:06:32 +08:00
Hakadao
2c4e44f213 fix: frosted glass effect not working in firefox 2024-04-29 01:01:32 +08:00
Stephen Zhou
6d6d7c7a3f fix: can't get local image background for home search view
close #687
2024-04-28 20:30:27 +08:00
cloudflypeng
39d6d9a91d feat(VideoCard): add tick icon for followed uploader (#672)
* feat: 关注标识
close [https://github.com/BewlyBewly/BewlyBewly/issues/671]

* refactor(VideoCard):  rename `isFollowed` to `followed`

* feat: add followed tag to videos in mobile recommendation mode

* style(VideoCard): adjust followed tick style

* chore: add corresponding documentation for [API.USER.RELATION_MODIFY]

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-04-26 19:02:21 +08:00
Stephen Zhou
7c45027e65 chore: use vue-tsc (#670) 2024-04-26 15:40:34 +08:00
Stephen Zhou
ff8056e01c fix: can not load watch later list 2024-04-26 11:42:16 +08:00
hakadao
02c3673571 fix(Anime): fix cannot show the anime watch list 2024-04-26 02:04:05 +08:00
Stephen Zhou
8c4bae9ea4 refactor: like rpc api call (#660) (#662)
Co-authored-by: star knight <64941905+starknt@users.noreply.github.com>
Co-authored-by: hakadao <a578457889743@gmail.com>
2024-04-25 16:39:27 +08:00
Stephen Zhou
736f8d7eaf chore: update deps (#661)
Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-04-25 16:21:19 +08:00
Stephen Zhou
022482e827 feat: show video type (#645)
* feat: show video type

* feat: adjust video type icon style

---------

Co-authored-by: hakadao <a578457889743@gmail.com>
2024-04-23 22:40:30 +08:00
hakadao
18e77fdd6e fix: only cantonese & mandarin tw use traditional chinese (#623)
close #623
2024-04-23 00:41:26 +08:00