schroda
97dba923b4
Improve "chapter list" render performance
...
affected components:
- ChapterList
- ReaderChapterList
2025-01-12 20:28:22 +01:00
schroda
257c0c8e10
Move download status subscription to "ChapterCard"
...
Only re-render chapters whose download status has changed instead of the whole list everytime a download status change was received
2025-01-12 20:28:18 +01:00
schroda
57f73636a0
Read chapter download status from cache
...
Instead of getting the whole download status, which contains all queued/active downloads, the download status should be read from the cache for only the required chapters
2025-01-12 14:09:10 +01:00
schroda
f90e4597f8
Make mobile progress bar position changeable
2025-01-02 21:48:02 +01:00
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
530ae1578f
Prevent invalid values for "auto scroll speed"
...
The min/max limit was only acknowledged when the value was changed via MUIs step logic.
In case the number got inputted via keystrokes the limits did not get applied
2024-12-29 23:41:26 +01:00
schroda
9438a2f626
Unmount "ReaderNavBarDesktop" on exit
...
Re-rendering the component isn't too expensive and unmounting it improves the re-rendering caused by page changes since it doesn't get updated.
This removes ~7ms on a "current page" state update and ~25ms caused by the chapter update due to the "last read page" change
2024-12-29 21:38:31 +01:00
schroda
6dd6fd8c51
Reduce "auto scroll speed" quick setting size
2024-12-27 04:38:39 +01:00
schroda
e2075a651e
Add "automatic scrolling"
2024-12-27 03:02:39 +01:00
schroda
cfd5b78488
Fix unchangeable global reader settings
...
Regression 72809309e1
2024-12-26 02:47:37 +01:00
schroda
a2ac2971f6
Improve memoization of "MobileReaderProgressBar"
2024-12-26 01:41:36 +01:00
schroda
d3e8f713ab
Add elevation to reader mobile overlay
2024-12-23 02:57:34 +01:00
schroda
0ea2f93651
Revert "Render reader desktop nav bar content only when visible"
...
This reverts commit f141a5ae66 .
2024-12-22 21:53:03 +01:00
schroda
f141a5ae66
Render reader desktop nav bar content only when visible
2024-12-22 00:48:24 +01:00
schroda
948e2564fa
Improve memoization of reader desktop nav bar
2024-12-22 00:48:23 +01:00
schroda
58c402dd0e
Memoize components
2024-12-22 00:48:21 +01:00
schroda
f5642af219
Use HOC for reader context usage
2024-12-22 00:48:18 +01:00
schroda
570b831604
Extract context types
2024-12-20 21:42:54 +01:00
schroda
528dcaafab
Add scanlator to reader desktop nav bar
2024-12-20 13:06:10 +01:00
schroda
b4d295655f
Remove outdated translation key
2024-12-16 22:58:52 +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
d844ad3f5d
Use full height and width of viewport on iOS
...
- render appbar background color on ios status bar
- handle "home indicator" safe area inset
2024-12-16 14:49:35 +01:00
schroda
3db1de86a8
Inform about reader layout setting asterisk on touch device
...
The information for the asterisk was only shown as a tooltip, which is only optimal for non touch devices
2024-12-13 16:48:37 +01:00
schroda
feacfe70f1
Show active setting in reader desktop nav bar
2024-12-13 16:38:41 +01:00
schroda
e425b8f304
Properly disable previous/next page desktop overlay buttons in double page mode
...
For the double page mode the secondary page index gets used.
This was changed with 9a8655db2f , however, this occurrence was overlooked
2024-12-13 02:29:27 +01:00
schroda
aaf7fb7b30
Prevent hiding overlay on page change through overlay
2024-12-13 02:15:18 +01:00
schroda
e944831862
Fix reader desktop page selection in double page mode
...
For the double page mode the secondary page index gets used.
This was changed with 9a8655db2f , however, this occurrence was overlooked
2024-12-13 02:07:02 +01:00
schroda
9a8655db2f
Always use "secondary page index" as "current page index" when available
...
There was an issue where one had to click twice at the end of a chapter in the "double page mode" to get to the chapter transition page.
This was caused due to setting the "primary page index" as the "current page index" and thus, when opening the next page, it got changed to the "secondary page index". However, this page was already visible and therefore, there was no visual change.
2024-12-12 13:21:29 +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
6dd2c8e2ff
Show chapter transition warning
...
- on scanlator change
- on skipped chapters
2024-12-11 22:38:04 +01:00
schroda
cff0ed5ec3
Extract app routes into constant
2024-12-11 20:25:49 +01:00
schroda
8c4ff516c0
Rename "theme.tsx" to "ThemeCreator.ts"
2024-12-11 18:02:03 +01:00
schroda
b3e3d94bda
Move "theme.tsx" to proper module
2024-12-11 13:57:24 +01:00
schroda
2cd5a970cc
Add tooltips to reader desktop quick settings
2024-12-09 16:24:32 +01:00
schroda
f654d95804
Fix click/scroll/hotkey open previous/next chapter
...
Properly handle all combinations of theme and reader reading directions
2024-12-09 15:06:11 +01:00
schroda
be0d1dbf30
Add logic to retry all errored pages
2024-12-09 02:38:37 +01:00
schroda
916abd3bb1
Resume chapter at specific page
...
- open from outside reader
- is read
- yes: 1st page
- no : last read page
- inside reader via
- chapter selection: first page
- previous chapter : last page
- next chapter : first page
2024-12-09 02:38:37 +01:00
schroda
fb31a92cd7
Reader transition page
2024-12-09 02:38:37 +01:00
schroda
7cf78e771a
Reader page rendering
2024-12-09 02:38:37 +01:00
schroda
0ae9d9ebb2
Custom reader profiles
2024-12-09 02:38:37 +01:00
schroda
a607f7f368
Reader settings
2024-12-09 02:38:37 +01:00
schroda
56684e405c
Reader overlay desktop nav bar
2024-12-09 02:38:37 +01:00
schroda
671059c65c
Reader overlay mobile bottom bar
2024-12-09 02:38:37 +01:00