Commit Graph

1796 Commits

Author SHA1 Message Date
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
schroda
d3de9a6db3 Fix dependency array of extensions filtering 2025-04-24 13:38:35 +02:00
schroda
4c04e1d17c Normalize language code comparisons
Due to using the browsers' preferred languages by default, there was a possibility that the preferred language codes did not match any extension/source language, which lead to broken filtering.

While this happened, it was also possible that the preferred languages still matched properly to a language in the language filter, which caused confusion.
This was the case e.g., for "en-GB" or "en-US"
2025-04-24 13:38:05 +02:00
schroda
01856b9847 Always show installed extensions 2025-04-24 13:14:48 +02:00
schroda
c9490f1887 Prevent language filter list from reseting scroll position on selection change 2025-04-23 01:56:31 +02:00
schroda
f93abd5b93 Place errored source searches after ones with search results 2025-04-22 21:30:28 +02:00
schroda
f19c5d5038 Fallback to english in case no preferred languages are found 2025-04-22 10:37:47 +02:00
schroda
477656a3a9 Fix saving changed selected languages 2025-04-22 10:34:59 +02:00
schroda
ee3e741688 Lazy load missed routes 2025-04-21 23:01:05 +02:00
schroda
4c1a493cf5 Save "showNsfw" setting on server 2025-04-21 19:21:06 +02:00
schroda
2022b7028e Always use "other" as "local source" language 2025-04-21 19:11:43 +02:00
schroda
6fef7b3aa4 Show selected languages in filter on top 2025-04-21 19:02:53 +02:00
schroda
60cb7b31ab Cleanup "LangSelect" 2025-04-21 19:02:50 +02:00
schroda
4175ffbc1e Cleanup "SourceAll.tsx" 2025-04-21 18:09:29 +02:00
schroda
98f383e79e Cleanup "Source.tsx" 2025-04-21 18:09:01 +02:00
schroda
063f2958a1 Introduce "sources" util class 2025-04-21 17:48:00 +02:00
schroda
4a9f90b746 Introduce "sources" util class 2025-04-21 17:02:51 +02:00
schroda
633f58b563 Remove "sourceForcedDefaultLangs" 2025-04-21 16:50:06 +02:00
schroda
fef33f15f9 Remove "forced languages" from "LangSelect" 2025-04-21 16:31:51 +02:00
schroda
a48febeda5 Save selected extension languages on the server 2025-04-21 16:19:35 +02:00
schroda
9dfd9ed5e3 Cleanup "Extensions" 2025-04-21 16:19:34 +02:00
schroda
e0567fac5d Extract extensions group header 2025-04-21 16:19:33 +02:00
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
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