schroda
7818fb450d
Fix text color of active chapter in chapter list of reader
2025-01-17 01:26:06 +01:00
schroda
a22a4bf546
Switch to "colorSchemes" from "palette" API in mui theme
...
"colorSchemes" is the preferred api starting from mui v6
2025-01-17 01:25:55 +01:00
schroda
ba52e70dbb
Improve "Updates" render performance
2025-01-12 20:28:23 +01:00
schroda
77973df0ff
Show non downloading state while partially downloaded
...
The state wasn't shown in case the chapter was partially downloaded
2025-01-12 20:28:20 +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
33162e70b0
Center delete icon in mutable list setting
2025-01-08 00:34:51 +01:00
schroda
1b1ddeb334
Show "info" toast severity by default
...
The default severity of MUI is "success"
2025-01-04 16:28:16 +01:00
schroda
92892e6604
Optionally adjust progress bar position based on available size
2025-01-02 21:26:19 +01:00
schroda
af8ada9a62
Always add close button to snackbars
2025-01-02 03:04:14 +01:00
schroda
899364ac85
Use proper name for reader url chapter "index" param
...
It's not the index of the chapter but the source order, which is starting at 1 and not 0
2024-12-31 14:52:47 +01:00
schroda
8dc5ec339c
Decrease "MIN_SCROLL_AMOUNT_PX" to 1px
...
Got removed from 00170c8e4a due to rebasing and squashing...
2024-12-30 02:19:17 +01:00
schroda
00170c8e4a
Properly calculate auto scroll px amount
...
"scrollBy" and "scrollTo" require a change of at least 1px, otherwise, nothing will happen
2024-12-30 02:13:57 +01:00
schroda
e2dd5ad211
Use animation frames for auto scrolling continuous pagers
2024-12-30 02:13:56 +01:00
schroda
8eae025d8f
Use "coerceIn" util function
2024-12-29 23:41:27 +01:00
schroda
06d0f7147a
Update auto scroll direction on reader reading direction change
2024-12-29 23:41:25 +01:00
schroda
3238103ca0
Fix "rtl" detection in "useMouseDragScroll"
...
"isRTL" was set to the direction value instead of correctly to the boolean flag indicating if it is the actual rtl direction value.
This didn't cause any issues because for ltr because for ltr the result of "scrollAtT0.current[X] - delta[X])" was never less than "-maxScrollPos[X]" and for rtl it always used the expected value since "isRTL" was truthy.
2024-12-29 22:14:44 +01:00
schroda
e459e94b71
Properly invert scroll direction in "useAutomaticScrolling"
2024-12-29 22:04:46 +01:00
schroda
732f27f319
Fix "rtl" detection in "useAutomaticScrolling"
2024-12-29 22:04:21 +01:00
schroda
74d9e21c76
Abort auto scroll interval for callback mode
2024-12-29 21:42:00 +01:00
schroda
0e9d758c10
Use correct auto scroll amount for x/y direction
2024-12-27 03:12:19 +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
3b62506452
Memoize "useBackButton" returned function
2024-12-25 23:49:17 +01:00
schroda
326e8b9881
Prevent EmptyView from taking over click events
...
E.g. in the reader it was not possible to open the overlay while the EmptyView was visible due to it blocking the readers click handling
2024-12-24 17:26:46 +01:00
schroda
2acc82289d
Add elevation to snackbar
...
Depending on the color of the background, the snackbar was hard to see, especially when using light mode
2024-12-23 02:46:56 +01:00
schroda
71373d4bd3
Remove unused space at bottom of snackbar without description
...
Get rid of unnecessary white space when there is no description to show
2024-12-23 02:41:31 +01:00
schroda
f1f660a546
Memoize "withPropsFrom" HOC
2024-12-22 00:48:22 +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
a4f1aa3234
Prevent "EmptyViewAbsoluteCentered" from overlapping content
...
Regression 1f7fe5f20e
2024-12-21 23:22:48 +01:00
schroda
28d0b470bf
Cancel confirmation dialog on backdrop click
2024-12-20 19:45:20 +01:00
schroda
1f7fe5f20e
Handle long extra messages in EmptyView
2024-12-20 19:23:56 +01:00
schroda
3949363474
Include actual error in snackbar
2024-12-20 17:24:40 +01:00
schroda
91a1f75de6
Properly center loading placeholders of non reader images
2024-12-20 13:06:12 +01:00
schroda
f72977c7ce
Add option to reset image filters to default
2024-12-17 16:53:00 +01:00
schroda
b9ea7abe65
Make reader setting slider inputs resettable to default
2024-12-16 22:09:01 +01:00
schroda
f51446995a
Fix "continuous vertical pager" unintentional page gaps
...
Depending on the screen size and e.g. the set "reader width" pages might not have filled out the full img elements size due to "object-fit contain".
This was caused due to the image wrappers flex container "align-items center" which slightly reduced the images width to some ".xy" number (e.g. instead of wrappers width 258px, the images were something like 257.83px)
2024-12-16 22:09:00 +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
feacfe70f1
Show active setting in reader desktop nav bar
2024-12-13 16:38:41 +01:00
schroda
1e57533337
Highlight active settings in reader settings
2024-12-13 02:01:58 +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
8ca0af8d02
Hide overlay on page/scroll change
2024-12-11 22:36:02 +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
9c5382ebd7
Support RTL mode for mouse drag inertia effect
...
Compared to LTR were the "scrollLeft" value is >= 0, for RTL it's <= 0 which was not handled and thus on applying the inertia effect, "scrollLeft" was always set to 0 due to preventing negative values
2024-12-09 16:12:37 +01:00
schroda
be0d1dbf30
Add logic to retry all errored pages
2024-12-09 02:38:37 +01:00
schroda
206c216093
Add mouse drag scrolling to continuous pagers
2024-12-09 02:38:37 +01:00