Commit Graph

2646 Commits

Author SHA1 Message Date
schroda
29d0e3ae55 Update download status state via subscription
The download query type (DownloadStatus) and download subscription type (DownloadUpdates) are different.
This means that the download state in the cache does not get automatically updated from the state provided in the subscription.
2025-05-30 21:26:35 +02:00
schroda
9443637b57 Reset "shouldShowOnlyPinnedSources" after leaving search
To prevent unnecessary search requests, the search should always start with pinned sources only.
2025-05-30 19:06:26 +02:00
schroda
2073c387a9 Extract components from "MangaDetails" 2025-05-30 18:57:21 +02:00
schroda
5b14544439 Trigger global search on manga title click 2025-05-30 18:49:57 +02:00
schroda
18da4c6b64 Optionally trigger manga details search in source
In case the manga was opened while browsing the source, the searches should be triggered for in the search instead of the library
2025-05-30 18:46:57 +02:00
schroda
70a984e2cb Adjust chapter list missing chapters info top padding
Chapter list cards have top padding, but not bottom padding, which resulted in the missing chapter info to not have the same spacing to both chapter cards
2025-05-30 18:05:09 +02:00
schroda
19829e54eb Hide artist/author if missing 2025-05-30 17:58:00 +02:00
schroda
31061a3398 Fix showing incorrect title for manga artist 2025-05-30 17:56:58 +02:00
schroda
c3b22f92a9 Restore virtuoso states on browser back navigation
- manga chapter list
- library duplicates
- updates
- history
- download queue
2025-05-25 16:09:53 +02:00
schroda
5f982e07e0 Handle chapter numbers with decimal places in gap calculation 2025-05-25 15:34:15 +02:00
schroda
640dcc4393 Hide download queue size in nav bar while empty 2025-05-24 22:50:23 +02:00
schroda
ecca993c54 Simplify chapter util types 2025-05-24 22:03:57 +02:00
schroda
61471ae214 Show missing chapter info in chapter list
Closes #836
2025-05-24 22:03:54 +02:00
schroda
86578593ca Show download queue size in nav bar 2025-05-24 17:25:22 +02:00
schroda
2d34f67df4 Fix updating download queue start/stop button 2025-05-24 17:07:57 +02:00
schroda
e0fb835f91 Fix "search all" with "show results only" enabled
After a source did not have any results for a performed search, a follow-up search was not possible anymore, due to the source being filtered out of the rendered sources.
2025-05-23 00:27:57 +02:00
schroda
4452a9fc5c Handle trackpad scrolling in continuous vertical pager
Trackpads fire "wheel" events as if they were a mouse.
This is a problem because trackpads can scroll horizontally without having "shift" pressed. In that case, the hook causes the horizontal scrolling on trackpads to break, since it just inverts it, as if it was a vertical scroll.

Fixes #951
2025-05-21 23:01:09 +02:00
schroda
fe30c8e281 Update "search all" source header styling
- reduce height
- reduce source name font size
- use source "name" instead of "display name"
 display name only adds language, which is shown in the second line of the header
- add button to indicate that the search can be opened on the source itself
2025-05-21 02:41:12 +02:00
schroda
f6b4ed8f56 Streamline adding params to app routes 2025-05-21 01:58:54 +02:00
schroda
7ae7c3e768 Hide library perform global search button without active search 2025-05-21 01:18:31 +02:00
schroda
daeab31121 Add button to perform search globally in library 2025-05-21 00:58:28 +02:00
schroda
cafa0c3983 Hide "select" button while no items are available 2025-05-21 00:43:03 +02:00
schroda
6b812cb143 Clear selection after performing action
After an action the selected chapters might get hidden due to active filters.
Same as fde33a2412, don't want to bother dealing with this.
2025-05-20 23:31:53 +02:00
schroda
fde33a2412 Hide chapter list action menu during active selection
Handling changing filters during selection is too cumbersome
2025-05-20 23:30:19 +02:00
schroda
e888c989e9 Fix chapter list selection with active filters
The selection always used the whole chapter list regardless of the active filters, which potentially caused hidden chapters from getting selected
2025-05-20 23:26:45 +02:00
schroda
7885bcda98 Improve global search
Add options to show only searches for
- pinned sources
- all sources
- sources with results
2025-05-18 01:08:02 +02:00
schroda
1e1489df75 Show pinned sources on top of global search 2025-05-17 23:49:44 +02:00
schroda
e327849a19 Show last used source 2025-05-17 23:37:00 +02:00
schroda
bf90d95266 Improve metadata value conversion
The current approach has issues with numbers of type long
2025-05-17 23:17:36 +02:00
schroda
822e47084e Add functionality to pin sources 2025-05-17 22:17:15 +02:00
schroda
cab2469ec1 Remove source card popular button
"Popular" gets opened by default when clicking the source card
2025-05-17 21:41:33 +02:00
schroda
18ddf46f17 Save appearance settings on server
- app theme
- theme mode
- pure black mode
- manga grid item width
2025-05-17 21:31:24 +02:00
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