Commit Graph

301 Commits

Author SHA1 Message Date
Hakadao
d5da7ea4f6 fix(notifications-page): resolve issue with top part being obscured 2024-08-28 00:27:21 +08:00
Hakadao
33dcd34e01 fix: resolve top bar background issue (#969)
close #969
2024-08-26 00:14:06 +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
9932c77762 chore: support safari (hmmm, i guess?) (#960)
* Add support of Safari

1. Workaround of Safari's bug of not sending cookies when using fetch in background service worker. This fixes https://github.com/hakadao/BewlyBewly/issues/275#issuecomment-1927278492. See: https://stackoverflow.com/questions/78239213/safari-extension-service-worker-not-sending-cookie
2. Add scripts to for Safari specific build and convert it to a Safari web extension.

* Fixed a bug in Safari that when the extension was installed, the page would turn into a white screen

* Safari may fire DOMContentLoaded before the codes get called

* Remove false fix; Ignore extension-safari

* Reduce memory and power usage with a nonpersistent background page on Safari and Firefox, see https://developer.apple.com/documentation/safariservices/safari_web_extensions/optimizing_your_web_extension_for_safari#3743241 and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Background_scripts

* Build and release Safari extension with Github actions (#585)

* feat: add safari extension build

* fix: safari pathname

* fix: add build branch

* Merge

* Try building Safari extension using GitHub action

Correct versions

Debug

Minor bug fixed

Minor bug fixed

Add scripts to release

Minor bug fixed

Minor bug fixed

Minor bug fixed

---------

Co-authored-by: 梦念逍遥 <2589141604@qq.com>
Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: Hakadao <a578457889743@gmail.com>

* fix: safari build (#665)

* chore: update

* chore: update knip.json to ignore "xcrun" binaries

---------

Co-authored-by: Xiaolin Wang <exgphe@gmail.com>
Co-authored-by: exgphe <14009450+exgphe@users.noreply.github.com>
Co-authored-by: 梦念逍遥 <2589141604@qq.com>
2024-08-14 00:24:09 +08:00
Hakadao
5c8ea6a618 chore: Adjust Bilibili homepage top bar color and style 2024-08-13 00:15:15 +08:00
Hakadao
1575f06136 chore: Adjust Bilibili homepage top bar color and style 2024-08-13 00:10:03 +08:00
Hakadao
0b8999d751 refactor: use color-mix for theme color & status color 2024-08-13 00:05:21 +08:00
Hakadao
d35e710080 chore: Adjust Bilibili homepage top bar color and style 2024-08-12 23:57:15 +08:00
Hakadao
a64000e02c chore: adjust .bili-header color on homepage 2024-08-12 01:38:51 +08:00
Hakadao
9d01c7f299 feat: add a config to enable original bilibili top bar 2024-08-12 01:32:42 +08:00
Hakadao
d85bdeb60d chore: update shadow and edge glow styles 2024-08-04 23:34:43 +08:00
MidnightCrowing
b8cfa16d01 fix(adapted-styles): support vote style on video page (#947) 2024-08-03 15:42:15 +08:00
Hakadao
991ae52379 fix(adapted-styles): fix dark mode issue on creative center page
close #945
2024-08-02 16:46:53 +08:00
MidnightCrowing
04ffc39a78 fix(adapted-styles): fix comments background style (#944)
* refactor(comments): share comments background-color

* fix(user-space-page): share comments emoji hover style

* fix(user-space-page): comments editor background

* fix(user-space-page): comments topic clear button
2024-08-02 16:32:14 +08:00
MidnightCrowing
a2a450f68f fix(articles-page): link card style (#946) 2024-08-02 00:09:22 +08:00
Hakadao
9fc4cdc895 fix(adapted-styles): top bar wrapper shows a difference color from background on search apge 2024-07-30 18:17:10 +08:00
Hakadao
80dd62ae0f chore: adjust top bar height 2024-07-30 12:05:03 +08:00
Hakadao
b5449da64d fix: lint 2024-07-29 12:39:17 +08:00
Konv Suu
960244014c fix(adapted-styles): adapt remove watched videos button style on watch later page (#926)
* style(adapted-styles): add `d-btn` style

* update

* chore: update

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-07-28 21:39:30 +08:00
Hakadao
d2c6a90b8f fix: prevent the scrollbar form being covered by the other elements 2024-07-28 13:30:21 +08:00
Hakadao
4cc2752779 fix(adapted-styles): improve dark mode style on notifications page and user space page 2024-07-26 16:54:47 +08:00
Hakadao
4280fea194 fix(adapted-styles): improve dark mode style on creative center page 2024-07-25 13:25:20 +08:00
MidnightCrowing
095771b491 fix(adapted-styles): share select radius failure problem on video page (#919) 2024-07-24 22:56:51 +08:00
Hakadao
bc920be1db fix: 投稿界面异常反色 (#916) 2024-07-24 00:45:24 +08:00
Hakadao
036a36dffb chore(adapted-styles): update styles for topic page 2024-07-23 10:48:38 +08:00
Hakadao
499f7bc337 fix(adapted-styles): adapt unadapted sections in comments. 2024-07-23 10:40:09 +08:00
MidnightCrowing
c7fa7421e6 feat(topic-page): support topic page style (#914) 2024-07-23 09:33:23 +08:00
Hakadao
6c3e72eb86 chore: remove fixed channel bar on home page 2024-07-23 00:49:41 +08:00
Hakadao
8027cbd927 chore: fix typo 2024-07-22 11:22:17 +08:00
Hakadao
7be2973553 fix(notifications-page): adapted unadapted contents 2024-07-21 22:39:19 +08:00
Hakadao
aad46ed193 refactor(adapted-styles): reorganize the directory structure 2024-07-21 17:59:40 +08:00
Hakadao
03be14e8c0 feat: support dark mode for login page 2024-07-21 17:41:00 +08:00
ljt990218
bd7721f39c feat(video-player): support styling for #musicApp (#900)
* fix: UserPanelPop hover Inconsistent animation

* fix(VideoCard): `moreBtn` Button issue from `#829`, add cursor-pointer class to enhance UX

* style(videoPage): add border radius to bp-docker-minor element

* feat(MomentsPop,HistoryPop): Realize clickable author's name and avatar in the top bar pop-up window

* Update videoPage.scss

* Update videoPage.scss

* fix(videoPlayer): fix styling for music app `#musicApp`

* fix(videoPlayer): `xt-btn` style

* fix(videoPlayer): fix styling for music app #musicApp

* fix(videoPlayer): change border color for .BgmInfo .left:after

* fix(videoPlayer): change color for .BgmInfo .right .bottom .btn:hover

* fix(video-player): improve styling for music app

* chore: update

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-07-17 01:11:45 +08:00
Hakadao
3fa7369d7a chore: update bg1_rgb variable in variables.scss 2024-07-15 00:46:40 +08:00
star knight
3312d809fa fix: support comment tags coloring in dark mode. closes #880 (#897)
* fix: bilibili comment theme color

* cleanup

* fix: spinner bg color

* refactor: adjust theme color timer logic

* fix: comment tags still show a light color when page is first loaded

* chore: remove unused import in useDark.ts

---------

Co-authored-by: Hakadao <a578457889743@gmail.com>
2024-07-14 23:57:00 +08:00
Hakadao
3e5fa7a805 chore: add line-clamp in keep-two-lines 2024-07-14 18:39:37 +08:00
Hakadao
ea779d4aaa chore: remove useless code 2024-07-10 15:56:52 +08:00
Hakadao
1364fa1269 feat: add dark mode support for account settings page(帳號中心頁) 2024-07-10 15:55:42 +08:00
Hakadao
a079a8d63a refactor: rename forceDarkMode into forceDark 2024-07-10 15:01:52 +08:00
Hakadao
0c654226b0 fix: --bew-filter-force-dark restriction 2024-07-10 14:59:05 +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
b053bdbf17 chore: adjust frosted glass edge effect 2024-07-06 00:56:40 +08:00
Hakadao
60e4508178 feat: adjust frosted glass edge effect in light mode 2024-07-05 18:27:49 +08:00
Hakadao
c7417b6e99 chore: adapt unadapted content on notifications page 2024-07-03 15:13:52 +08:00
Hakadao
6d8feb6f96 fix(AdaptedStyles): support reply jump animation in dark mode 2024-07-02 15:20:55 +08:00
Hakadao
f86ee7e132 refactor: use --bew-skeleton to represent the skeleton color 2024-07-02 15:06:01 +08:00
Hakadao
e0b1a4f908 chore: adjust notifications page style 2024-07-02 14:40:20 +08:00
MidnightCrowing
81a13a9615 fix(AdaptedStyles): support unadapted notifications page style (#873) 2024-07-02 00:00:26 +08:00
Hakadao
aba8dbcf2d chore: adjust bew-fill-alt color when disable frosted glass 2024-06-30 14:26:21 +08:00
Hakadao
e7152fb96f chore: adjust bew-fill-alt color when disable frosted glass 2024-06-30 05:50:06 +08:00