Commit Graph

60 Commits

Author SHA1 Message Date
Hakadao
b06c2a868d feat(video-card): enhance video card context menu 2024-10-14 01:50:36 +08:00
Hakadao
619dc034af refactor: adjust the directory structure of messageListeners/ (#1066) 2024-10-13 19:49:14 +08:00
Hakadao
eaa021e7ba refactor: extract video context menu and dislike dialog logic to other files 2024-10-05 19:09:12 +08:00
Hakadao
a96d2f0ef6 feat(filters): filter out vertical videos (#991) 2024-09-08 17:50:50 +08:00
Hakadao
eed7223936 chore(for-you): add description for "not interested" dialog 2024-08-31 02:40:35 +08:00
Hakadao
11005cfd4e perf(for-you): enhance performance when video filter is unset 2024-08-29 12:44:31 +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
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
938c1e9561 fix: prevent too few video results cause cannot load more videos #884 2024-07-15 00:46:23 +08:00
Hakadao
944e394505 fix: cannot load more videos on vertical monitor (#704)
close #704
2024-07-01 01:35:48 +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
Hakadao
4fe4c92733 refactor: unify elevated elements color 2024-06-27 01:06:46 +08:00
ljt990218
34eb136b36 fix(VideoCard): more button issue #829 && add use cursor-pointer (#853)
* fix: UserPanelPop hover Inconsistent animation

* fix(VideoCard): `moreBtn` Button issue from `#829`, add cursor-pointer class to enhance UX
2024-06-20 22:52:20 +08:00
hakadao
b7a0dcc8b6 fix(ForYou): tick animation cannot re-toggle 2024-06-14 02:17:55 +08:00
Stephen Zhou
5c0148a2b0 chore: format css (#808)
* chore: format css

* update

* update

* chore: eslint-skip

* update

* update

* chore: enforce the use of double quotes in `--at-apply` values

* refactor: rename `--at-apply` into `--uno`

* fix: fix dark theme userSpace search page css (#811)

* fix userSpace search css

* add new fix

* add new fix

* fix(adaptedStyles): adapt unadapted contents

---------

Co-authored-by: hakadao <a578457889743@gmail.com>
Co-authored-by: 夜晚的鸡鸣 <110297461+MidnightCrowing@users.noreply.github.com>
2024-06-04 00:15:46 +08:00
hakadao
37e4c54910 feat: add warning message for unauthorized access key usage 2024-06-02 13:26:08 +08:00
Hakadao
6110016b39 fix: resolve #797 2024-05-30 01:54:37 +08:00
Hakadao
6f77f9acce perf: improve the scrolling performance 2024-05-27 18:30:06 +08:00
Hakadao
8967dd51df refactor(ForYou): improve loading behavior 2024-05-27 10:47:39 +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
Stephen Zhou
6cc3b4de9f style: sort imports (#746) 2024-05-11 14:20:56 +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
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
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
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
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
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
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
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
31af6ce1ad chore: i just wanna push some code 2024-03-22 00:58:10 +08:00
Hakadao
f789745d11 feat(VideoCard): add more button option to video card 2024-03-18 01:21:01 +08:00
Hakadao
fede8758ff feat(Home): implement grid layout switcher 2024-03-10 19:34:35 -03:00
Hakadao
bce74ba617 Merge pull request #294 from hakadao/main
sync: main to dev
2024-02-15 02:51:03 +08:00
Hakadao
bcdd87092f fix: resolve #247 2024-02-14 02:00:01 +08:00
Hakadao
11b7361ff5 fix: unable to refresh data in some cases when changing the home tab 2024-01-30 17:38:31 +08:00
Hakadao
580f04dcb9 refactor: adjust the placement of initPageAction() 2024-01-29 01:00:23 +08:00
starknt
f654385f75 fix: page refresh reset action 2024-01-11 17:29:21 +08:00
starknt
91418521f3 refactor: improve components load method, and improve provide app 2024-01-11 16:38:11 +08:00
Hakadao
21fb19fc89 refactor: move contents from the src/models/apiModels to parent directory 2023-12-28 01:08:51 +08:00
Hakadao
eb707677c8 refactor: 調整因不會寫ts而寫出來的弱智寫法 2023-12-21 01:02:47 +08:00
Hakadao
03b9c1710d fix: no data displayed on homepage when using app recommendation mode (#71) 2023-12-06 23:32:55 +08:00