Commit Graph

31 Commits

Author SHA1 Message Date
schroda
7c98bab43b Prevent TypeError and incorrect state updates for "pageLoadStates"
Page load state updates of an already closed chapter caused TypeErrors or incorrect state updates.
2024-12-30 21:03:10 +01:00
schroda
1f3a3b6c39 Auto hide "tap zone layout" preview when opening reader 2024-12-30 19:41:49 +01:00
schroda
fa868ea222 Properly detect "reading mode" and "tap zone" changes for preview 2024-12-30 19:33:37 +01:00
schroda
45f46a05d0 Optionally show preview or "reading mode" and "tap zone overlay"
Shows a preview when opening the reader or when the values change
2024-12-30 16:51:39 +01:00
schroda
c5630ca5ce Reset "pageToScrollToIndex" after page selection
In case the current page changed after selecting a page, the previously selected page couldn't be selected again since the "pageToScrollToIndex" was still set to this page
2024-12-28 01:28:12 +01:00
schroda
e2075a651e Add "automatic scrolling" 2024-12-27 03:02:39 +01:00
schroda
33e184ba18 Add "auto webtoon mode" option to reader 2024-12-27 02:51:35 +01:00
schroda
cfd5b78488 Fix unchangeable global reader settings
Regression 72809309e1
2024-12-26 02:47:37 +01:00
schroda
7d93b7995a Open reader overlay while error with long message is shown 2024-12-24 17:26:47 +01:00
schroda
72809309e1 Always register reader hotkeys
The hotkeys were never registered e.g. while loading or in case an error occurred
2024-12-24 17:26:45 +01:00
schroda
6001779434 Change reader background based on setting
Regression f5642af219
2024-12-22 22:03:29 +01:00
schroda
f5642af219 Use HOC for reader context usage 2024-12-22 00:48:18 +01:00
schroda
9e93a78a07 Use "getErrorMessage" everywhere 2024-12-21 23:27:03 +01:00
schroda
acab34debc Keep overlay closed on open reader 2024-12-20 13:06:11 +01:00
schroda
74f78e40d4 Remove custom profiles
Instead of "custom profiles" each "reading mode" acts as a profile and has its own settings
2024-12-16 15:50:28 +01:00
schroda
858c3b4bcf Display active profile for default value
In case the profile was not set and the default value got used, there was no indication of the active profile.
2024-12-12 02:09:19 +01:00
schroda
1525f93e41 Fix lint issue 2024-12-09 22:42:51 +01:00
schroda
3839b438eb Always show overlay on mount
There were cases where the overlay got closed instead of opened on the first mount
2024-12-09 13:25:20 +01:00
schroda
b9313fe168 Prevent invalid page request
The page of the default state was rendered which caused a request to the base url (e.g. http://localhost:4567).
2024-12-09 13:25:20 +01:00
schroda
107bbfddbb Reset state on unmount
Prevent TypeErrors due to invalid previous state
2024-12-09 13:25:19 +01:00
schroda
be0d1dbf30 Add logic to retry all errored pages 2024-12-09 02:38:37 +01:00
schroda
da0004de4a Base reader component 2024-12-09 02:38:37 +01:00
schroda
8e59763bba Delete deprecated reader files 2024-12-09 02:38:37 +01:00
schroda
e71c4b7ef1 Cleanup deprecated metadata after migration
- delete deprecated metadata
- save applied migration id per metadata holder
2024-11-04 00:11:01 +01:00
schroda
f704e5bc33 Move "Mangas.ts" types and constants to new files 2024-10-07 13:45:07 +02:00
schroda
84b9f8361d Fix RequestManager location
Was changed unintentionally
2024-10-06 13:45:22 +02:00
schroda
e7e1fbbc4e Move more core logic to new folder 2024-10-06 00:16:41 +02:00
schroda
babda1ea57 Move metadata files into new folder 2024-10-06 00:16:34 +02:00
schroda
a16fef0aab Move setting files into new folder 2024-10-06 00:16:31 +02:00
schroda
c0eabf8865 Move navigation-bar files into new folder 2024-10-06 00:01:51 +02:00
schroda
79341b7817 Move reader files into new folder 2024-10-05 23:35:17 +02:00