Commit Graph
100 Commits
Author SHA1 Message Date
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
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 d277370b28 Add ".aiignore" 2025-04-22 22:19:24 +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 d661b1e3f2 Fix "scripts tokens" template file name 2025-04-21 19:02:52 +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 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
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
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