Commit Graph

122 Commits

Author SHA1 Message Date
schroda
eef5f762cb Fix infinite scroll loading previous chapter unintentionally on reader open
This was only was noticeable in case the transition page was disabled.
Due to potential layout shifts and scrolling the initial page into view, the infinite chapter logic got triggered and loaded the previous chapter.
This is not a 100% guarantee that it won't happen, slow devices might still run into this issue
2026-06-16 18:55:22 +02:00
schroda
5cdc161d46 Fix infinite scroll previous chapter load with disabled transition page
There is no guarantee that the scroll position is exactly 0
2026-06-16 17:58:46 +02:00
schroda
ecd628a1d5 Fix preserving scroll position on leading page render
4f10cb06e3 didn't fix it properly
2026-06-15 15:29:58 +02:00
schroda
7153441822 Add page gap between chapters with disabled transition page
closes #1116
2026-06-14 15:15:24 +02:00
schroda
4f10cb06e3 Fix preserving scroll position for rtl reading direction and ltr theme direction 2026-06-05 18:55:59 +02:00
schroda
848753022a Improve var/func naming 2026-06-04 15:36:09 +02:00
schroda
ad7e7f1771 Improve image preloading of previous/next chapter pages
The previous/next chapter only ever preloaded the first page, ignoring available preload contingent.
I.e., if all leading/trailing pages of the current chapter were loaded, the reader did not keep preloading the previous/next chapters pages
2026-06-04 15:32:11 +02:00
schroda
802079ef3d Fix infinite scroll open previous/next chapter
Regression 53c24280c3
2026-06-03 17:52:57 +02:00
schroda
f42d7fdbda Ignore tap zone clicks without window focus 2026-06-02 15:48:33 +02:00
schroda
78e2a99847 Simplify changing reader desktop quick settings 2026-06-02 15:48:33 +02:00
schroda
2964612da1 Move "getNextRotationValue" to lib "HelperFunctions" 2026-06-02 13:41:18 +02:00
schroda
1228b5ac2a Rename "MultiValueButton" props to "SelectButton" props 2026-06-02 13:41:17 +02:00
schroda
d8a4227d13 Move "MultiValueButton" props to component 2026-06-02 13:41:14 +02:00
schroda
9d05f87d8e Rename "CustomButtonIcon" to "CustomIconButton" 2026-06-02 13:41:01 +02:00
schroda
e973872539 Streamline route location state 2026-05-28 00:49:25 +02:00
schroda
53c24280c3 Fix infinite scroll with disabled transition page
fixes #1108
2026-05-21 00:55:49 +02:00
schroda
4394dbe957 Split up chapter list options type 2026-05-20 13:32:39 +02:00
schroda
67d861c51b Fix marking chapter as read once end is reached by scrolling 2026-05-20 13:07:04 +02:00
schroda
89fe9cc00d Fix reader page preservation on window resize
For some reason mantines "useWindowEvent" uses a stale callback.
I have no clue why that happens, it is not reproducible in a codesandbox
2026-05-15 21:13:07 +02:00
schroda
60b6a39bdc Update dependency "@graphql-codegen" 2026-05-15 20:41:14 +02:00
schroda
34efed7470 Revert "Support "produced characters" as hotkeys"
This reverts commit bc66d52701.

"useKey" is broken https://github.com/JohannesKlauss/react-hotkeys-hook/issues/1318
2026-05-13 23:55:34 +02:00
schroda
bc66d52701 Support "produced characters" as hotkeys
"Produced characters" were not supported as hotkeys. I.e., using "!" as a hotkey was not possible.
2026-05-13 19:05:07 +02:00
schroda
17ecb7da27 Fix mobile progress bar previous/next chapter button hover/disabled visibility 2026-05-12 14:37:47 +02:00
schroda
9e34afbd5d Fix mobile progress bar current page slot position
Regression 9595076dae
2026-05-12 14:37:47 +02:00
schroda
8dada86285 Fix reader page scaling with applied safe area inset
The safe area inset wasn't applied everywhere, which potentially caused the scrollbar to appear while the pages should be fitting the screen

fixes #1102
2026-05-12 13:26:40 +02:00
schroda
1a0814e14a Remove unintentional "safeAreaInset" reader setting state selection
Causes unnecessary rerenders and therefore gets selected in a separate state hook call.
This selection was unintentionally merged
2026-05-09 00:02:26 +02:00
schroda
d1e70c2609 Add "safe area inset" setting to reader 2026-05-08 01:58:06 +02:00
schroda
d4fd09294d Respect device safe area inset in reader
closes #1094
2026-05-05 13:42:38 +02:00
schroda
00bba202ef Remove enabling notifyOnNetworkStatusChange usages
Starting with v4 this flag is now enabled by default
2026-05-02 17:37:38 +02:00
schroda
89e0b0761e Fix reader page transition text color
Regression f95b0c8bcc
2026-04-26 14:30:54 +02:00
schroda
f95b0c8bcc Update dependency mui to v9.x 2026-04-25 23:46:03 +02:00
schroda
8155bd6906 Update dependencies 2026-04-25 16:10:51 +02:00
schroda
323222d0f2 Fix scroll jump on chapter resume with continuous horizontal mode 2026-04-13 18:16:12 +02:00
schroda
9595076dae Fix reader progress bar current page slot positioning for single page chapters
Was only noticeable in the mobile reader ui because the desktop one hides this component and uses its own logic.
It resulted in the previous/next button not being clickable because the current page component was overlaying it
2026-04-13 18:03:56 +02:00
schroda
684c9c3733 Improve scroll preservation data naming 2026-04-13 16:13:24 +02:00
schroda
ea31889969 Fix leading page scroll preservation in continuous horizontal mode with RTL mode 2026-04-13 16:13:24 +02:00
schroda
6131b99169 Disable scroll preservation on infinite scroll initial render if diabled 2026-04-13 14:57:47 +02:00
schroda
ebac415b09 Fix tapzone opening previous/next chapter in continuous horizontal mode with inverted reading direction
The logic to detect if the horizontal scroll position was at the start or end of the element was not correct in case the readers reading direction was inverted compared to the browser themes reading direction.

example:
- theme ltr + reader ltr => worked
- theme ltr + reader rtl => broken
- theme rtl + reader ltr => broken
- theme rtl + reader rtl => worked
2026-04-13 14:56:12 +02:00
schroda
6d41639928 Fix reader transition page previous chapter scanlator name 2026-03-21 00:32:00 +01:00
schroda
519ff43b67 Use stable array/object constants II 2026-03-20 03:36:57 +01:00
schroda
9ce273b5ce Use stable array/object constants 2026-03-20 03:02:52 +01:00
schroda
54086f1c30 Fix changing reader settings from desktop quick settings
Regression 63ebfd120e
2026-03-15 14:43:40 +01:00
schroda
32fb7b0909 Fix deleting global reader settings
It replaced the global settings with the manga specific ones.

Regression 63ebfd120e
2026-03-15 14:42:49 +01:00
schroda
7de1723b36 Fix updating global reader settings
It replaced the global settings with the manga specific ones.

Regression 63ebfd120e
2026-03-15 14:33:57 +01:00
schroda
1cccd1ea46 Simplify selecting zustand store state 2026-03-11 23:31:51 +01:00
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
5dda4304d9 Migrate to oxlint + oxfmt 2026-03-11 19:41:49 +01:00
schroda
22e1b6d224 Update dependency "eslint" to v9.x
v9.39.4
2026-03-10 21:41:50 +01:00
schroda
f549658dfa Update dependencies 2026-03-09 01:13:34 +01:00
schroda
63ebfd120e Fix saving long metadata values
fixes #900
2026-03-08 22:42:36 +01:00