Commit Graph

65 Commits

Author SHA1 Message Date
Hakadao
6671ca71db fix: use DOMPurify to prevent xss injection 2024-05-19 00:30:16 +08:00
hakadao
d5503e6d0d refactor: convert useImage.ts to imgs.ts 2024-05-14 23:57:38 +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
star knight
7cca4ed09b refactor: adjust call trim timing (#721) 2024-05-06 13:25:25 +08:00
Hakadao
7eb86ed13d fix(SearchBar): cannot show the focused character 2024-05-04 00:39:06 +08:00
Hakadao
af3e7cf207 perf: add transform-gpu to improve performance 2024-05-03 23:23:56 +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
star knight
2e87cac719 fix: input element focus shortcut key (#564)
* fix: input element focus shortcut key

* chore: add reference
2024-04-15 00:35:40 +08:00
Hakadao
20d157abdf refactor message listeners && fix moment card url not linking the video page
* Refactor messageListeners and add utils module to simply use api

* chore: add previously deleted annotation

* 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>

* refactor: API imports and update API endpoints (#460)

* 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

* Add message definition constants

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
Co-authored-by: Hakadao <a578457889743@gmail.com>

* refactor: Add cSpell words and update API calls

* Fix API method case and add day parameter to ranking API

* feat(Settings): add bilibili settings entry

* chore(Settings): hide the bilibili settings temporary

* feat: support firefox(REAL) (#500)

* refactor: new rule support `Chromium` and `Firefox`

* refactor: add default `priority`

* fix: `message.bilibili.com` not working

* fix: `show.bilibili.com` not working

* fix: 修复一些子站的问题

* 添加了一些其他的子站

* fix(VideoCard): bug fixes (#316) (#319) (#320)

* fix(VideoCard): fix double page open on author's name click (#315)

* fix(VideoCard): ensure clicking on bangumi name or avatar goes to the right page

* feat(Settings): add an "always show top bar logo" setting (#219)

* feat(Settings): add discord link to about page

* feat(Settings): redesign settings panel

* style(Settings): adjust the block ads position

* feat(Settings): add credits section on about page

* chore(Settings): add ChatGPT to the credits section

* feat(Settings): redesign settings panel

* style: decrease the content opacity in light mode
decrease the opacity in light mode to ensure the text can be seen clearly

* refactor: remove the "backdrop-glass" shortcut

* refactor: rename `--bew-filter-glass` to  `--bew-filter-glass-1`

* feat: add performance settings

* chore: remove the credits section

* feat(TopBar): add top bar icon badges config

* feat(VideoCard): implement adaptive width in horizontal mode

* feat(Home): implement grid layout switcher

* feat(Dock): redesign dock

* style: adjust dock styles

* style: add edge glow effect in some dialogs

* fix(Dock): active color incorrect when hovering dock item in dark mode

* chore: update version number

* feat(manifest): add extension id when in firefox

* refactor(rules.json): reduce redundant code

---------

Co-authored-by: starknt <1431880400@qq.com>

* chore: firefox-extension build

* Merge branch 'dev' into refactor-message-listeners

* refactor: Refactor API imports and update API endpoints

* fix(MomentsPop): moment card url not linking the video page

* chore: update version number

---------

Co-authored-by: pengyunfei <pengyunfei@360.cn>
Co-authored-by: Jimmy Chow <jimmychow@192.168.10.102>
Co-authored-by: cloudflypeng <44285412+cloudflypeng@users.noreply.github.com>
Co-authored-by: starknt <1431880400@qq.com>
Co-authored-by: 梦念逍遥 <2589141604@qq.com>
2024-04-11 21:07:06 +08:00
Hakadao
c470680508 fix(SearchBar): resolved the issue where typing / in a comment focuses on the search bar (#396)
close #396
2024-03-17 19:12:44 +08:00
Hakadao
c13a56a203 refactor: rename --bew-filter-glass to --bew-filter-glass-1 2024-03-10 13:25:13 -03:00
Hakadao
3532497d67 Merge branch 'dev' of https://github.com/hakadao/BewlyBewly into dev 2024-02-29 01:55:52 -03:00
Hakadao
18e6689208 fix: 搜索框用中文输入法输入单词回车不应该直接触发搜索 #334 2024-02-28 13:17:20 -03:00
Hakadao
97d5a49043 Merge branch 'main' into dev 2024-02-27 01:14:08 -03:00
Hakadao
d543942d35 fix(SearchBar): search bar doesn't recognize the hashtag character (#321) 2024-02-24 02:13:38 +08:00
Hakadao
7ce21f3972 Merge pull request #300 from hakadao/main
sync: main to dev
2024-02-17 02:28:13 +08:00
Hakadao
74021ce7f7 chore: screw it, it's so hard to center a search bar in a flex box... 2024-02-17 02:19:39 +08:00
Hakadao
2541e4a5ff Merge branch 'dev' into feat/youtube-search-bar 2024-02-02 01:31:56 +08:00
Hakadao
25e7d98649 feat(SearchBar): add clear button to clear the input #264 2024-02-01 19:01:17 +08:00
starknt
4af87af337 feat: press / to focus on the search bar like youtube 2024-01-31 21:07:13 +08:00
Hakadao
e59d2d17f9 Revert "Hide search history dropdown on input blur" 2024-01-29 01:10:41 +08:00
tycho
a83c8d1da7 feat(SearchBar): handle blur event to update focus state 2024-01-28 16:20:47 +08:00
Hakadao
440790e5ae chore: adjust todo desc 2024-01-15 00:24:53 +08:00
starknt
0d68dc3bb0 fix: compat global-speed extension 2024-01-11 20:46:03 +08:00
Hakadao
bc9d153efa style: adjust search bar styles 2024-01-09 22:09:23 +08:00
Hakadao
c42809f906 Merge branch 'build/eslint' of https://github.com/starknt/BewlyBewly into starknt-build/eslint 2024-01-09 00:30:13 +08:00
starknt
60b8a17507 clean code 2024-01-08 10:45:57 +08:00
starknt
08146c4497 refactor: share search history 2024-01-08 10:41:18 +08:00
Hakadao
e99e9fa95b style: adjust search bar history items styles 2024-01-07 19:59:04 +08:00
starknt
7b82e7dd4c chore: upgrade eslint 2024-01-07 16:42:25 +08:00
starknt
8263304bfc rename clearSearchHistory function and adjust code structure 2024-01-05 14:49:01 +08:00
starknt
0b27a0cc87 feat: highlight keyword for suggest item 2024-01-04 23:26:34 +08:00
starknt
d6ecaa5b6a revert mix bilibili history 2024-01-02 15:46:53 +08:00
starknt
9b95c2cc84 fix: get suggestion not working 2024-01-02 13:25:04 +08:00
starknt
cfd3305bc7 chore: add i18n to search bar 2024-01-02 11:32:33 +08:00
starknt
95de18ce4e feat: mix bilibili history 2024-01-02 11:15:44 +08:00
starknt
a9aa59ec84 revert eslint format 2024-01-01 23:21:55 +08:00
starknt
150cc4a011 fix: lint 2023-12-31 21:56:07 +08:00
starknt
807188dea0 feat(search-bar): adjust search history style 2023-12-31 18:06:22 +08:00
Hakadao
0d7ac73312 chore: reformat code 2023-12-06 16:46:46 +08:00
Hakadao
4d5787ee96 fix: fix ts warning 2023-11-06 00:12:28 +08:00
Hakadao
4901facbd3 style: adjust styles for top bar logo & search bar 2023-10-29 15:22:48 +08:00
Hakadao
ac598172f0 feat: center search bar in top bar (#53) 2023-10-22 04:05:35 +08:00
Hakadao
808a95bde9 style: adjust the position of the character 2023-10-02 18:33:23 +08:00
Hakadao
0ab7fcbda9 feat: add a search page configuration to settings
i18n: translate some settings configuration
2023-09-19 23:51:45 +08:00
Hakadao
b9c5f71bd3 fix: prevent search bar from triggering video player shortcuts 2023-09-11 18:06:49 +08:00
Hakadao
47c4c2b57a style: adjust top bar style 2023-09-10 19:42:35 +08:00
Hakadao
33cf618bf4 style: adjust top bar height 2023-09-10 14:10:39 +08:00