Commit Graph

471 Commits

Author SHA1 Message Date
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
Stephen Zhou
6f19b29993 fix: sync theme when loading page, close #736 2024-05-10 14:59:25 +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
hakadao
37c63b3b7c feat: implement a fake not interested feature in web recommend video card 2024-04-23 00:34:44 +08:00
Stephen Zhou
e51f486176 fix: tab missing after costuming order (#634) 2024-04-22 23:06:31 +08:00
Stephen Zhou
e61a27ba8b fix: follow system theme change 2024-04-22 15:41:12 +08:00
hakadao
8ada69274b feat: adjust reach bottom distance 2024-04-19 22:15:42 +08:00
Hakadao
6d4db4e658 fix: cannot jump to music page on Favorites page and FavoritesPop (#606)
close #606
2024-04-18 18:16:56 +08:00
Hakadao
9703920e7c fix: cannot open certain links on History page and HistoryPop (#602)
close #602
2024-04-18 17:39:14 +08:00
Hakadao
e87066e564 refactor: move history.ts and historySearch.ts to history/ 2024-04-18 16:53:33 +08:00
Hakadao
c5c1a16145 fix(Ranking): cannot show the variety show ranking list (#576)
close #576
2024-04-17 18:40:40 +08:00
hakadao
f75e010150 fix(Home): correct deformation of video layout switcher on small screen computers 2024-04-15 00:56:04 +08:00
Hakadao
225188bba0 fix: flash dark theme (#565)
* fix: flash dark mode when using the light theme

* improve color mode transition

---------

Co-authored-by: starknt <1431880400@qq.com>
2024-04-14 22:39:25 +08:00
Hakadao
d5b568c978 refactor: Refactor API imports and update API endpoints 2024-04-11 17:24:01 +08:00
Hakadao
1a3bafb284 Merge branch 'dev' into refactor-message-listeners 2024-04-11 16:57:44 +08:00
Hakadao
1d90292cb4 refactor: Add cSpell words and update API calls 2024-04-02 19:07:45 +08:00
hakadao
a63f375ba5 Merge branch 'dev' into refactor-message-listeners 2024-04-02 02:14:57 +08:00
hakadao
69b6d865ad fix(Following): resolve the "no more content" & "need to login first" occurring together 2024-04-02 01:31:11 +08:00
hakadao
80b72c43b6 fix(Trending): resolve the infinite data retrieval issus (#445) 2024-04-02 01:04:00 +08:00
hakadao
8f7c103763 Merge branch 'dev' into refactor-message-listeners 2024-04-02 00:44:40 +08:00
cloudflypeng
433a2ed4cf refactor: message listeners (#447)
* Refactor API imports and update API endpoints

* Fix variable naming in FavoritesPop and Favorites components

* Fix variable naming inconsistency in getHistoryList function

* Fix API parameter naming conventions

* Refactor API_AUTH afterHandle functions

* Add API documentation links  and add function to be the api item

* Refactor API body and params

* Remove unused getAccessKey function in auth.ts

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-04-02 00:41:58 +08:00
hakadao
908cca9f1b chore(Home): refresh only when at the top otherwise back to top first 2024-04-01 02:27:59 +08:00
hakadao
aae391d9f4 feat(Home): clicking the tab will back to top and refresh data on homepage (#419)
close #419
2024-04-01 02:19:59 +08:00
Hakadao
4b4352e34d Merge branch 'dev' into main 2024-03-31 04:45:58 +08:00
hakadao
96a85047da feat: support dark mode for watch later, 404 page && adjust the regex rules 2024-03-31 04:31:31 +08:00