Commit Graph

58 Commits

Author SHA1 Message Date
schroda
18be295ef5 Rename manga and chapter constants 2025-05-05 01:46:11 +02:00
schroda
b80006504e Move files into different folders 2025-05-03 12:16:48 +02:00
schroda
3f93549f34 Update to react v19 2025-04-18 21:45:00 +02:00
schroda
e3934545b0 Change "large" IconButtons to default size 2025-03-28 19:05:21 +01:00
schroda
62bd4fdfb2 Require library entry removal confirmation in reader 2025-03-27 19:49:50 +01:00
schroda
3ca4aa2eff Remove "Settings" from setting page titles 2025-03-17 12:07:02 +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
419181efa9 Add add/remove to/from library button to reader desktop quick actions 2025-02-17 03:26:44 +01:00
schroda
050094c991 Update styling of "manga open source" button 2025-02-08 16:16:32 +01:00
schroda
f633059083 Rename "CustomIconButton" to "CustomButton" 2025-02-08 16:03:37 +01:00
schroda
8ddb259c82 Prevent tooltip on disabled button warning 2025-02-02 00:54:03 +01:00
schroda
8e1d9b3106 Change reader non-static nav bar icon 2025-01-17 01:38:19 +01:00
schroda
9ac1009e22 Properly update reader desktop nav bar download button
Did not update according to download updates due to not subscribing to the fragment changes

Regression 257c0c8e10
2025-01-17 01:26:07 +01:00
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