Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
schroda e3934545b0 Change "large" IconButtons to default size 2025-03-28 19:05:21 +01:00
schroda 99f14e2f27 Internationalize ErrorBoundary 2025-03-28 18:47:29 +01:00
schroda 07a44ed02b Fix hidden manga track dialog error 2025-03-28 18:23:33 +01:00
schroda 7145c33fbb Preserve current page on reader width change only when necessary
The pages only change in size with specific "page scale modes".
Thus, if these modes are not active, the scroll position will not be lost.

There are different cases were even with these modes active, the scroll position won't get lost (e.g. "fit width" while no page is larger than the available width), but handling these would be too cumbersome.

Ideally the relative scroll position would be preserved, however, from testing a little that seems to not work too well
2025-03-27 19:49:53 +01:00
schroda a9bdf076c1 Prevent confirmation dialog from shifting layout in reader 2025-03-27 19:49:52 +01:00
schroda 3c1cb539ad Add spacing to confirmation dialog buttons 2025-03-27 19:49:51 +01:00
schroda 62bd4fdfb2 Require library entry removal confirmation in reader 2025-03-27 19:49:50 +01:00
schroda 72fb053971 Add "scroll amount" setting 2025-03-27 19:49:49 +01:00
schroda b93c2d95e5 Add hotkey to close reader 2025-03-27 19:49:44 +01:00
schroda d3f973e95b Improve dynamic theme color performance for large images 2025-03-25 23:45:39 +01:00
schroda a23f6d02bf Fix lint issue 2025-03-25 21:01:31 +01:00
schroda 5c770ffa62 Update available languages 2025-03-25 21:00:11 +01:00
schroda 15c11ded34 Tweak dynamic theme dominant color detection
Currently, a lot of manga have the same whit/black-ish background color, which results of the thumbnails containing a lot of white/black colors.
These changes improve this a little

- reduce impact of white and black colors
- use "precision" mode of algorithm
2025-03-25 02:37:00 +01:00
schroda 6f8d5bb9dc Remove unnecessary styling II
Missed in 157a549cc7
2025-03-25 00:04:12 +01:00
schroda 157a549cc7 Remove unnecessary styling 2025-03-24 23:46:57 +01:00
schroda 2120390e93 Align card list styling with rest of lists 2025-03-24 23:45:48 +01:00
schroda dc88b42191 Fix preloading of reader pages
There were different issues with the direction the pages got preloaded.

- when resuming a chapter with an initial page > 1, it incorrectly preloaded leading pages instead of trailing ones.
- when going to the previous/next rendered chapter no pages got preloaded at all
2025-03-23 16:40:49 +01:00
schroda ae29904ed2 Make "hideHistory" settings global 2025-03-23 04:04:09 +01:00
schroda b673047517 Update to server gql library update changes 2025-03-23 04:04:08 +01:00
schroda 072c71c116 Handle graphql exception errors
Extract stack trace from error message and show it as an information that is collapsed by default
2025-03-22 20:37:43 +01:00
schroda 8fac3ce352 Handle white spaces in error messages 2025-03-22 03:21:09 +01:00
schroda f570b7c9ed Optionally hide history 2025-03-22 01:16:38 +01:00
schroda 39a9b7e0ac Limit navbar titles to one line 2025-03-20 15:07:28 +01:00
schroda 1388b53567 Rename "Downloads queue" to "Download queue" 2025-03-20 15:07:01 +01:00
schroda 29656c5790 [skip ci] Fix github issue templates "labels" 2025-03-20 01:44:45 +01:00
schroda 3374ca3903 [skip ci] Update readme "feature" section 2025-03-20 01:03:47 +01:00
schroda 4363572e6f [skip ci] Update "bug report" template 2025-03-20 00:45:28 +01:00
schroda 771feca797 [skip ci] Fix "bug report" template 2025-03-20 00:39:01 +01:00
schroda 15788e01c6 Remove "issue moderator" workflow 2025-03-20 00:30:57 +01:00
schroda 97b37d3957 Update github issue templates 2025-03-20 00:30:53 +01:00
schroda 3ca4aa2eff Remove "Settings" from setting page titles 2025-03-17 12:07:02 +01:00
schroda 90c1d72d13 Sort "en.json" alphabetically 2025-03-17 12:07:00 +01:00
schroda 2fead95c15 Change downloads settings name back to "Downloads" 2025-03-17 12:06:58 +01:00
schroda 180b975063 Add missing error message to create/update category mutation 2025-03-16 23:25:06 +01:00
schroda a2acddab5f Show tooltip for metadata on ChapterCards
Text that was too long got cut of, but it was never shown as the tooltip, which caused the information about the full text to get lost
2025-03-10 23:31:50 +01:00
schroda efd9a45912 Properly resume chapter from "Updates" page 2025-03-10 23:24:29 +01:00
schroda 003e77ade2 Extract "retry chapter download" button into component 2025-03-10 23:24:26 +01:00
schroda 6f6994a433 Extract "add chapter download" button into component 2025-03-10 23:24:06 +01:00
schroda 35c2172355 Extract "chapter metadata" into component 2025-03-10 22:59:21 +01:00
schroda ac4bdebb61 Extract "chapter thumbnail" into component 2025-03-10 22:20:46 +01:00
schroda 50493af71c Use correct error message for download retry failure 2025-03-10 22:01:30 +01:00
schroda 61eec0cd0e Add "last read timestamp" to history chapter card 2025-03-10 22:01:29 +01:00
schroda c7611e4ae1 Remove unnecessary virtuoso "group item counts" mapping 2025-03-10 21:58:13 +01:00
schroda e9b42db10f Add "groupByDate" to "Chapters" 2025-03-10 21:58:11 +01:00
schroda 86525ec2a2 Fix library category tabs after re-ordering categories 2025-03-10 21:57:36 +01:00
schroda c4ba483efe Add new languages to resources 2025-03-09 16:26:23 +01:00
schroda cf348db5b8 Rename "Downloads" to "Download queue" 2025-03-09 16:26:22 +01:00
schroda 2ba0aea679 Move "category settings" to "LibrarySettings" 2025-03-09 16:26:21 +01:00
schroda 95ac4832bd Fix "main route" detection
There was a possibility that routes were incorrectly detected as main routes which caused the back button to not get shown.

E.g. a route that is only visible on desktop was still considered a main route on mobile devices
2025-03-09 16:19:33 +01:00
schroda df719df666 Show "Download" page only on desktop in nav bar 2025-03-09 16:19:32 +01:00
schroda 6afc9f22b6 Introduce "more" page
- moves "Settings" into "more" page
2025-03-09 16:19:31 +01:00
schroda f7b6006cc0 Delete chapters on migration again
Regression a29c113b5f
2025-03-06 21:09:07 +01:00
schroda 6ebf13d328 Properly log errors 2025-03-03 23:59:58 +01:00
schroda 1d9c3738fd [skip ci] Remove unnecessary prop source
Should have been removed with 52c8734c59
2025-02-25 18:00:08 +01:00
schroda 537ab5850d Fix TypeError
Forgot to remove prop in 52c8734c59
2025-02-25 17:59:28 +01:00
schroda 52c8734c59 Fix opening chapter via chapter selection in reader
Guard should have been removed with 4a9d2903b8
2025-02-23 13:21:32 +01:00
schroda ba3f0f6574 Fix closing transition pages in first/last chapter
In case the first/last chapter of a manga was opened, clicking the previous/next tap-zone caused the last/first page to get opened
2025-02-23 13:06:12 +01:00
schroda ce2281a8b9 Fix resuming last read page
Regression 856e928c44
2025-02-20 13:16:39 +01:00
schroda e3fc8f4195 Fix typing after "apollo-client" update to v3.13.1
Introduced due to the apollo-client dependency update in f39c902b5f
2025-02-19 17:38:58 +01:00
schroda 5e10e1629f Fix intersection detection for horizontal pager 2025-02-19 16:44:01 +01:00
schroda a85e5584c8 Preserve scroll position continuous pager on previous chapter load
In the horizontal pager loading the previous chapter caused the scroll position to get lost and instead of starting at the end of the previous chapter, the scroll position was at the very start.
This happened everytime no matter if the scroll position was at the x 0 or not before the previous chapter got visible.

Same issue can be observed in the vertical pager in case the scroll position is at y 0 before the previous chapter has been rendered.
2025-02-19 16:43:58 +01:00
schroda 811b17361c Fix intersection root margin for horizontal pager 2025-02-19 16:39:55 +01:00
schroda eba3cadb8b Properly detect previous chapter load state
Regression from 174d850093
2025-02-18 02:06:13 +01:00
schroda e28c603112 Streamline tap zone click handling 2025-02-18 02:06:12 +01:00
schroda 5eb442e760 Remove duplicated state setter calls 2025-02-18 02:06:11 +01:00
schroda d3c6acbbfb Fix going to previous/next page from first/last 2025-02-18 02:01:16 +01:00
schroda 0b79f1f82a Extract reader exit button 2025-02-17 03:56:40 +01:00
schroda 95fa09a94a Extract reader bookmark button 2025-02-17 03:51:07 +01:00
schroda ca7fba0757 Add library button to "ReaderOverlayHeaderMobile" 2025-02-17 03:45:50 +01:00
schroda c52a822a23 Increase allowed issue title length 2025-02-17 03:30:07 +01:00
schroda 419181efa9 Add add/remove to/from library button to reader desktop quick actions 2025-02-17 03:26:44 +01:00
schroda 09ff0f3ca0 Set i18n supported languages 2025-02-17 03:07:20 +01:00
schroda 1ae98afa34 Move scripts into separate folders 2025-02-17 02:57:17 +01:00
schroda 0a34ae01ba Require languages to be at least 75% translated 2025-02-17 02:57:16 +01:00
schroda 5dcbf6c168 Extract weblate types, constants, logic 2025-02-17 02:10:14 +01:00
schroda f39c902b5f Update dependencies 2025-02-17 01:12:56 +01:00
schroda 10ad7ce5d7 Fix marking chapter as read for single page chapters in paged pagers
Regression from 174d850093
2025-02-17 01:12:56 +01:00
schroda cc7eca08d7 Handle closing transition pages in paged pagers for single page chapters
In case a chapter only has a single page and the previous/next transition page was visible, it was not possible to go back to the chapters page, since it just opened the previous/next chapter instead
2025-02-17 01:12:55 +01:00
schroda c5b7e89fb4 Ensure to always have one page in reader
Reapplies if from 2c4a17b32f

Regression from 4a9d2903b8
2025-02-12 20:43:45 +01:00
schroda ffd6c5867f Fix "coerceIn" for calls with max < min
Previously the min value was ignored in case the max value was less than the min value.
E.g. coerceIn(5, 0, -1) would be -1 instead of 0
2025-02-12 19:55:46 +01:00
schroda c6fe715e57 Handle faulty "lastPageRead" values
There seems to be a bug on the server which sets the "lastPageRead" of a chapter to -1 which should not happen
2025-02-12 19:40:43 +01:00
schroda 2537f10729 Update "Ying & Yang" light theme background colors 2025-02-11 15:12:35 +01:00