Commit Graph

2714 Commits

Author SHA1 Message Date
schroda
4a1eb6f824 Force re-render of virtuoso grid on filter changes
Workaround for https://github.com/Suwayomi/Suwayomi-WebUI/issues/933
2025-05-17 19:53:56 +02:00
schroda
08df61737e Trigger library search on genre click 2025-05-17 19:12:04 +02:00
schroda
53b31955af Update available languages 2025-05-17 19:05:09 +02:00
Well404
caad353bfa Trigger library search on artist/author click (#939)
* add search func

* Fix lint issues and clean up

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-05-17 19:04:16 +02:00
Hosted Weblate
05dc05a043 Translations update from Hosted Weblate
Co-authored-by: 09 ketw <f131912120@gmail.com>
Co-authored-by: Andika Nugraha <idikanugraha@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: JP Brunache <kosmik01@gmail.com>
Co-authored-by: Julien Quiévreux <julien.quievreux@gmail.com>
Co-authored-by: Krach Gamer <kooorajoj@gmail.com>
Co-authored-by: Lin oper <jiataowei@gmail.com>
Co-authored-by: LordTenebrous <lordtenebrous@users.noreply.hosted.weblate.org>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Sneaky <contact@sneaky.pink>
Co-authored-by: Tanku <tankudoraiba@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: adai liu <liuadai002@gmail.com>
Co-authored-by: alaa alshafay <alshafay1231@gmail.com>
Co-authored-by: marimo <nekomiminimoe@gmail.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: qaugji <asteeky9@gmail.com>
Co-authored-by: tizio04 <dp2104@gmail.com>
Co-authored-by: xAizawa <xaizawa@gmail.com>
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: 八奈見杏菜 <1502526429@qq.com>
Co-authored-by: 望月桂 <liuxinshu26@gmail.com>
Co-authored-by: 汪汪队碎冰冰 <wangwangduisuibingbing@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/sv/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ta/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2025-05-17 13:03:07 +02:00
schroda
18e0e9069d Sort "obsolete" extensions at the start
Regression 87a496cec0
2025-05-10 02:12:04 +02:00
schroda
86f1905c7c Cleanup ReaderControls#scroll 2025-05-10 01:58:54 +02:00
schroda
40abcd828f Keep previous/next transition page open on first/last chapter previous/next page tap-zone click
In case the transition pages are disabled and the first/last chapters previous/next transition page was visible, clicking the next/previous tap-zone caused the chapter to jump to the first page of the current chapter.

Regression f0f740f4af
2025-05-10 01:58:51 +02:00
schroda
5d5cd5ac59 Include missing manga data in updater subscription
E.g., the unread chapter count of a manga was not updated in case new chapters were found during the update.

Regression b673047517
2025-05-09 01:49:30 +02:00
schroda
0a853082db Align language sorting with mihon
Always show "All" as the first language and "Other" as the last
2025-05-09 01:49:30 +02:00
schroda
7e4e22b9e1 Add "All" to default languages 2025-05-09 00:57:29 +02:00
schroda
dcd57aea8f Remove abbreviation of “language” in function names 2025-05-09 00:57:28 +02:00
schroda
d27c5c445f Remove special "english" handling for language sorting 2025-05-09 00:39:19 +02:00
schroda
aa202bb184 Update dependencies 2025-05-05 02:22:02 +02:00
schroda
afdaf1f429 Move chapter types and constants to corresponding files 2025-05-05 01:54:44 +02:00
schroda
18be295ef5 Rename manga and chapter constants 2025-05-05 01:46:11 +02:00
schroda
f0f740f4af Add option to disable transition pages
The previous/next transition page of the first/last chapter will still be shown to indicate that there is no previous/next chapter
2025-05-05 01:26:27 +02:00
schroda
eb23f74a40 Fix reader next chapter visibility detection 2025-05-05 00:54:41 +02:00
schroda
c82110b29d Remove "LibraryOptionsContext"
These options are saved in the category metadata which made the context unnecessary
2025-05-04 23:37:12 +02:00
schroda
04768d5210 Introduce "useAppTitleAndAction" hook 2025-05-04 23:37:09 +02:00
schroda
aacdbaaeef Introduce "useAppAction" hook 2025-05-04 23:36:46 +02:00
schroda
3ab70c4802 Introduce "useAppTitle" hook 2025-05-04 23:36:18 +02:00
schroda
76cd9fd309 Remove "useContext" usages with hooks 2025-05-03 12:40:28 +02:00
schroda
385b3066cc Delete unused component 2025-05-03 12:17:52 +02:00
schroda
b80006504e Move files into different folders 2025-05-03 12:16:48 +02:00
schroda
11b75103eb Reduce card list padding 2025-05-03 12:05:11 +02:00
schroda
736e556ccd Replace missed occurrences with "ListCardContent" 2025-05-03 11:56:09 +02:00
schroda
c24d7ca2ef Fix link to extension repo setting 2025-05-03 11:36:13 +02:00
schroda
24a0cfb3b0 Use "mantine/hooks" 2025-05-02 18:37:03 +02:00
schroda
e982b7c417 Preserve scroll position during infinite scroll initial previous chapter render 2025-05-02 17:32:56 +02:00
schroda
d603c614ef Extract scroll preservation data collection 2025-05-02 17:32:56 +02:00
schroda
d606130846 Ignore trailing image resize for scroll preservation
Resizes of elements below the current scroll position do not cause a layout shift; thus, they can be ignored.

This was a problem when using tap zone click scrolling, because the scrolling was aborted by the scroll position preservation
2025-05-02 17:32:55 +02:00
schroda
0c4e772542 Style scrollbar only on devices with hover support
only style scrollbar for devices that support hovering; otherwise, they most likely are touch devices that should
use the native scrollbar.
this is necessary since for some reason chromium uses the native scrollbar for the window scrollbar and the
styled non-native scrollbar for element scrollbars on those devices
2025-05-02 02:30:11 +02:00
schroda
36aa822455 Use window scroll for grouped virtuosos 2025-05-02 02:30:11 +02:00
schroda
36fa8dbe38 Improve scroll preservation on window resize
The previous logic just preserved the scroll position on any resize event regardless of if the resize (width or height change) caused the scroll position to get lost or not.

E.g., when the "page scale mode" respected only the width and the resize only changed the window height, it still preserved the scroll position, while the scroll position did not get lost.
2025-05-02 02:30:06 +02:00
schroda
ef3538d762 Cleanup "useReaderPreserveScrollPosition" 2025-04-28 00:52:02 +02:00
schroda
59bbb53790 Fix tracker oauth client redirect url
Regression 0a7bf7cf78
2025-04-27 03:54:28 +02:00
schroda
a1cdc785c1 Prevent scrolling while dragging on the reader progress bar
On e.g., iOS changing the current page via dragging the progress bar caused the reader to scroll, which made the progress dragging act weirdly
2025-04-27 01:05:25 +02:00
schroda
beda5096d1 Add option to disable "infinite chapter scroll" 2025-04-26 23:19:01 +02:00
schroda
f9930b94ca Fix page resume on reader chapter list selection of already visible chapter
In case the selected chapter was already visible, the page to resume did not get scrolled into view
2025-04-26 23:12:00 +02:00
schroda
37127893b4 Make reader settings dialog transparent on some changes
- width change
- custom filter change
2025-04-25 02:51:48 +02:00
schroda
112c700fb7 Fix extensions not being sorted by name 2025-04-25 01:53:38 +02:00
schroda
11755299e9 Cleanup DownloadQueue 2025-04-25 01:36:14 +02:00
schroda
1b7338f5e3 Extract list card content 2025-04-25 01:18:12 +02:00
schroda
c0ab5f93a1 Extract list card avatar 2025-04-25 01:17:54 +02:00
schroda
6a6ff2cbe1 Fix extension repo url on small screens 2025-04-25 00:29:37 +02:00
schroda
b503ab07e9 Fix source/extension repo url word break 2025-04-25 00:27:28 +02:00
schroda
24629407cb Fix tsc error 2025-04-24 23:53:49 +02:00
schroda
e1905b267b Make extension filtering options optional 2025-04-24 13:44:59 +02:00
schroda
394d541746 Fix source filtering for nsfw
Filtering was always applied even if "showNsfw" was undefined and thus, should not be considered for filtering
2025-04-24 13:44:30 +02:00