Commit Graph

2691 Commits

Author SHA1 Message Date
schroda
91beeb2fb5 Fix update extensions failure error message pluralization 2025-04-21 16:19:32 +02:00
schroda
d01837d5cd Move filtering to "groupExtensionsByLanguage" 2025-04-21 16:19:29 +02:00
schroda
87a496cec0 Cleanup "groupExtensionsByLanguage" 2025-04-21 16:18:43 +02:00
schroda
78030b103a Extract extensions language extraction into own function 2025-04-21 16:00:54 +02:00
schroda
214fa7710d Get rid of forced "All" extensions language 2025-04-21 01:02:08 +02:00
schroda
05082c24f4 Infer user preferred languages for default source/extension languages 2025-04-21 00:40:51 +02:00
schroda
27fb8823e9 Remove too much space of "TypographyMaxLines" 2025-04-21 00:22:08 +02:00
schroda
0733c930d4 Save chapter list options on server 2025-04-20 21:45:26 +02:00
schroda
0f3becf505 Fix auto webtoon mode mode for "manhwa" in english 2025-04-19 11:43:34 +02:00
schroda
5c232c77a7 Do not pass empty string as img src
Raises the following error:
"An empty string ("") was passed to the src attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to src instead of an empty string"
2025-04-18 21:57:01 +02:00
schroda
3f93549f34 Update to react v19 2025-04-18 21:45:00 +02:00
schroda
213f561fe4 Replace "react-beautiful-dnd" with "dnd-kit"
"react-beautiful-dnd" has been deprecated for quite some time
2025-04-18 20:55:17 +02:00
schroda
55c4a92b26 Update dependencies
Fix missing peer dependencies:
  - warning " > @graphql-codegen/client-preset@4.8.0" has unmet peer dependency "graphql-sock@^1.0.0".
  - warning " > @graphql-codegen/typescript-operations@4.6.0" has unmet peer dependency "graphql-sock@^1.0.0"

Ignore missing peer dependency for "mui-nested-menu" (package itself doesn't get used but a copy&pasted and modified version of its "NestedMenuItem" component
2025-04-18 00:54:33 +02:00
schroda
ecbc0e3be2 Support different languages for auto webtoon detection 2025-04-18 00:34:26 +02:00
schroda
9269f2a70c Add manga "comic" sources 2025-04-18 00:34:25 +02:00
schroda
898cc200f0 Remove "Infinity" usage 2025-04-18 00:34:23 +02:00
schroda
76167ebb67 Set sensible gql ws-client retry attempt count 2025-04-18 00:34:22 +02:00
schroda
a48cb0ce27 Handle html in description of manga 2025-04-18 00:34:20 +02:00
schroda
0a7bf7cf78 Use set "base url" for "oauth redirect url" 2025-04-18 00:34:19 +02:00
schroda
882638b7c1 Fix jumpiness of manga description collapse/expand button 2025-04-18 00:34:17 +02:00
schroda
48d96afa85 Improve snackbar styling
- allow different max width depending on screen width
- decrease max description length
2025-04-18 00:34:16 +02:00
schroda
d0b0322f08 Fix webUI stable changelog url
In case the "webui update status" has already been reset, the "tag" of the status is just an empty string and will cause an invalid url.

Besides this, it is currently not possible to point to the actual changelog of a stable release, because the "tag" is not the actual "github tag" and thus, the url just points to a non-existing release
2025-04-18 00:29:18 +02:00
schroda
01020d81b8 [skip ci] Add link to discord in issue templates 2025-04-16 23:33:14 +02:00
schroda
0aa49f359d [SKIP CI] Update ui server mapping 2025-04-07 00:21:17 +02:00
schroda
e5c2d967c7 [Release] Version 1.5.1 2025-04-07 00:14:20 +02:00
schroda
52e1730261 Handle "removed languages" section in changelog 2025-04-07 00:08:50 +02:00
Hosted Weblate
772f7383e8 Translations update from Hosted Weblate
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translation: Suwayomi/Suwayomi-WebUI
2025-04-07 00:08:34 +02:00
schroda
791ccf1f6a Handle server version changes
Server version now contains the "revision" as the "patch" number
2025-04-07 00:01:54 +02:00
schroda
ddababf716 [SKIP CI] Remove "preview tag" from listed feature in README.md 2025-04-05 16:35:12 +02:00
schroda
a96a14844c Update feature list in README.md 2025-04-05 16:28:19 +02:00
schroda
11679a9901 [Release] Version 1.5.0 2025-04-05 16:10:51 +02:00
schroda
01cdbd90b8 Show "nav bar item" as active for child routes 2025-04-05 15:41:12 +02:00
schroda
0b97e8bb8d Move "About" outside "Settings" in regard to routing
Is already not part of the settings anymore, however, the route was never updated
2025-04-05 15:41:11 +02:00
schroda
8cbc8c5099 Disable "more" route on desktop 2025-04-05 15:38:41 +02:00
schroda
dcf1b5b1c2 Only show hidden nav bar items in "More" page 2025-04-05 15:38:40 +02:00
schroda
dbf06a54b9 Update available languages 2025-04-05 13:08:48 +02:00
Hosted Weblate
dbd973398d Translations update from Hosted Weblate
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Leonardo de Macedo Sartorello <leo.sartorello98@gmail.com>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: SDN2 SENYIUR <sdn2senyiur17878@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fil/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt_BR/
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-04-05 13:03:39 +02:00
schroda
e6a105c766 Fix increase/decrease of auto scroll speed
Hotkeys were switched and did the opposite of their intended action
2025-04-05 13:01:40 +02:00
schroda
d89fbf9cf5 Cleanup "useReaderPreserveScrollPosition" 2025-04-05 12:56:44 +02:00
schroda
da34c77f03 Only observe "ReaderChapterViewer" resize events for scroll position preservation
It's not necessary to observe all elements, since "ReaderChapterViewer" is the parent and thus increases/decreases in size in case its children change.
2025-04-05 12:50:14 +02:00
schroda
b37ff532f5 Fix reverted code after merge
For some reason github didn't show a merge conflict on the pr
2025-04-05 12:48:36 +02:00
Constantin Piber
4423dee14e Fix preserving scroll position on infinite scroll previous chapter load (#913)
When scrolling to the previous chapter, which has not been preloaded, the scroll position got lost due to the resulting layout shift

* Update scroll preserve by tracking cursor

* Clean up interface

* Observe just the wrappers instead of individual images

* Switch to `IntersectionObserver` for tracking active element

* Clean up adding of observations

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-04-05 12:45:52 +02:00
schroda
b3860e4351 Preserve current position on "reading direction" change 2025-04-05 01:06:59 +02:00
schroda
e1895b21e3 Use "ReaderChapterViewer" as "root" for "IntersectionObserver" for "infinite scroll"
Using the actual "document element" as the "intersection observer root" causes issues in case the available reader width is less than the viewport.
In these cases sometimes the previous/next chapter never loaded because the necessary intersection never fired.
2025-04-05 01:05:54 +02:00
schroda
0f49115b23 Keep rendered chapters on infinite scroll chapter change
The changes from 642708b8b3 didn't consider the case were the chapter change was triggered due to scrolling to the unloaded previous/next chapter with infinite scroll
2025-04-02 02:45:22 +02:00
schroda
642708b8b3 Immediately open previous/next chapter on reader nav bar button click
The logic didn't handle cases were the next/previous chapter wasn't loaded yet, which lead to the load happening in the background without any user feedback.
2025-04-02 02:27:01 +02:00
schroda
7a7a0dfa9c Fix tsc error 2025-04-02 01:25:20 +02:00
schroda
9ad1af4846 Prevent mui card ripple on child element click 2025-04-02 01:25:17 +02:00
schroda
517610ac6d Fix manga list option menu on mobile 2025-04-02 01:24:50 +02:00
schroda
c81dce8efe Remove margin between icons in "extensions actions" 2025-03-28 19:06:08 +01:00