Commit Graph
137 Commits
Author SHA1 Message Date
ChoChoX a0fd55eb37 feat(ui): restyle core views with Material You 2026-07-23 01:07:18 +08:00
schroda fcc6df37ca Require new debug information in github bug issue 2026-07-22 17:57:02 +02:00
schroda 98ee3d46c8 Cleanup wake lock 2026-07-20 17:38:19 +02:00
schroda e53d064c92 Improve auto background color
Colors need to be normalized per border so that the multiplier is applied to the sum of the normalized colors.
Normalize the returned color with adjusted thresholds compared to the normalization for the color extraction.
During the extraction the normalization shouldn't be too aggressive to prevent messing up the detection for the color with the highest proportion. Once we have detected the color, we want to be more aggressive about normalizing white and black colors to ensure the background color matches true white and black instead of being slightly off
2026-07-20 17:36:22 +02:00
vtorres-tandVicente 06f0768395 Feature Wake Lock Screen while reading (#1126)
* Feature wakeLock

* Fix style

* Fix

* Fix

* Fix

---------

Co-authored-by: Vicente <vicente@per>
2026-07-20 17:35:36 +02:00
schroda 13544e141b [skip ci] Prevent MUI console error
"A component rendering a native <button> resolved to a non-<button> element..." which was logged in case the button was disabled
2026-07-16 21:37:06 +02:00
schroda 3562f5f647 Add auto reader background color 2026-07-15 22:38:57 +02:00
schroda 7559676e68 Fix standard progress bar transition with large page texts
In case the double page reading mode was used and the current page was a double page, the transition got messed up due to the page text wrapping and growing in height
2026-07-15 14:34:35 +02:00
schroda 79ac2c3d27 Show page number with standard desktop progress bar 2026-07-15 14:28:15 +02:00
schroda d2304e6880 Show total page in reader desktop page select
Example:
- 10 total pages
- 4 is current page

select shows: 4 / 10
2026-07-15 14:19:32 +02:00
schroda 54616caf7a Fix reader desktop nav bar page/chapter select rtl styling 2026-07-10 23:48:23 +02:00
schroda e316668ba6 Ignore reader chapters query refetch load state due to eviction
With 4f4ca98290 the chapter queries are getting evicted to trigger a refetch. This caused the reader to enter the loading state, which messed up the current reading position.
2026-07-02 12:40:09 +02:00
schroda 9afbbfcf1f Fix lint issues 2026-06-18 18:55:48 +02:00
schroda 0c246ade2f Fix scroll preservation on reader setting changes
Observers got disconnected and started again.
Since the images have already been rendered at this point of time, the mutation observer on the scroll element does not detect them anymore.
Thus, exiting image resizes were not observed anymore and did not trigger the preservation logic
2026-06-17 00:40:36 +02:00
schroda dbf8500709 Improve reader end of last page reached detection
#1116
2026-06-17 00:40:36 +02:00
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