Commit Graph

65 Commits

Author SHA1 Message Date
schroda
8fac3ce352 Handle white spaces in error messages 2025-03-22 03:21:09 +01:00
schroda
ca7bd6898e Prevent horizontal scrollbar in snackbar 2025-02-10 23:26:33 +01:00
schroda
94b4bdfa10 Reduce snackbar description length 2025-02-10 23:23:40 +01:00
schroda
a7df8eb0f4 Show image loading placeholder only when visible
The MUI spinner impacts the cpu usage.
While only a few of them don't matter, rendering multiple of them can impact the cpu usage.

This can be a problem in the reader in case a chapter with a lot of chapters is rendered and a continuous reading mode is being used.
In such a case the cpu usage stays increased until all pages have been loaded
2025-02-08 20:12:41 +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
3698c19aba Properly enable cors for images by default 2025-01-26 17:18:27 +01:00
schroda
25e3fc7808 Load images with cors allowed
Without allowing cors it is e.g. not possible to extract colors from an image
2025-01-26 04:20:59 +01:00
schroda
7818fb450d Fix text color of active chapter in chapter list of reader 2025-01-17 01:26:06 +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
8eae025d8f Use "coerceIn" util function 2024-12-29 23:41:27 +01:00
schroda
33e184ba18 Add "auto webtoon mode" option to reader 2024-12-27 02:51:35 +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
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
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
be0d1dbf30 Add logic to retry all errored pages 2024-12-09 02:38:37 +01:00
schroda
7cf78e771a Reader page rendering 2024-12-09 02:38:37 +01:00
schroda
0b1c67ce9f Reader hotkeys 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
schroda
c6f7ebd7c2 Close "language select" dialog on backdrop click and "esc" press 2024-11-28 12:36:39 +01:00
schroda
55dc1aa6a5 Show download progress only when started 2024-11-28 12:17:56 +01:00
schroda
a819d45489 Update to server download subscription changes 2024-11-28 12:17:55 +01:00
schroda
1d50edf1a1 Prioritize current reader page request 2024-11-13 15:47:04 +01:00
schroda
87ee1330d4 Prevent blinking on reader page switch on firefox
on firefox images are decoded async which causes a "flicker/blinking" when they're getting visible for the first time
this is an issue especially in the reader because pages that should not be shown are rendered but
not displayed, which then causes this issue once they get displayed
2024-11-13 15:47:03 +01:00