schroda
50e53dedc3
Replace "ts-node" with "tsx"
...
"ts-node" has problems with "esm" and "path-aliases"
2024-12-25 14:38:27 +01:00
schroda
ae89a42ac4
Scroll to start of page on page change
...
Resets the scroll position for single/double page mode to the start of the opened page on a page change.
2024-12-25 02:59:53 +01:00
schroda
d67d6f7d28
Move "ReaderTransitionPage" setting props to "withPropsFrom" HOC
2024-12-25 02:38:36 +01:00
schroda
5dbf1aa8e0
Adjust ReaderChapterTransition text color
...
Text color was never adjusted based on the selected "reader background color"
2024-12-25 02:36:53 +01:00
schroda
7d93b7995a
Open reader overlay while error with long message is shown
2024-12-24 17:26:47 +01:00
schroda
4d162262b6
Maximize reader progress bar only when pages are loaded
...
It takes away space for the reader overlay to get opened while an error is shown.
2024-12-24 17:26:47 +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
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
94b0e25df2
Update "apollo-upload-client" to v18.x
...
- apollo-upload-client v18.0.1
- @types/apollo-upload-client v18
2024-12-24 14:19:40 +01:00
schroda
53b63f197a
Update "vite" to v6.x
...
- vite v6.0.5
- vite-tsconfig-paths v5.1.4
- vite legacy plugin v6
2024-12-24 13:42:04 +01:00
schroda
86eef26748
Update to "node" v22.12.0
2024-12-24 13:42:04 +01:00
schroda
e77f613d4a
Update "i18next-http-backend" to v3.x
...
v3.0.1
2024-12-24 13:42:03 +01:00
schroda
561a3595fa
Update "i18next" to v24.x
...
v24.2.0
2024-12-24 13:42:03 +01:00
schroda
1e6e0984b5
Update "file-selector" to v2.x
...
v2.1.2
2024-12-24 13:42:02 +01:00
schroda
ba63f85f3f
Fix unmet peer dependencies
...
- "@mui/system" for "@mui/x-date-pickers"
- "csstype" for "notistack > goober"
- "mui-nested-menu" is outdated and can't be fixed, but still works with "@mui/material v6.3.0"
2024-12-24 13:42:02 +01:00
schroda
9d74380e94
Convert to ESM
2024-12-24 13:42:01 +01:00
schroda
89cab26f73
Fix typing after "apollo-client" update to v3.12.4
2024-12-24 00:36:26 +01:00
schroda
67de6c4789
Update dependencies
2024-12-24 00:36:25 +01:00
schroda
d3e8f713ab
Add elevation to reader mobile overlay
2024-12-23 02:57:34 +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
15baf1f7fb
Properly center reader mobile progress bar page "point"
2024-12-23 02:20:35 +01:00
schroda
b51d8e5f66
Fix reader mobile progress bar page "point" styling
...
The points representing a page were only visible on read pages (page < current page) and for all next pages it was basically invisible
2024-12-23 02:20:34 +01:00
schroda
64b0dc2646
Fix opening manga page from chapter transition page
...
Regression f5642af219
2024-12-23 01:58:59 +01:00
schroda
29dd9797a8
Hide "default settings" footnote in reader layout default settings
2024-12-23 01:06:53 +01:00
schroda
1ea7807f99
Properly position "track" button in track search
...
Regression a4f1aa3234
2024-12-23 00:59:45 +01:00
schroda
242488692d
Remove passing non-existent prop
2024-12-22 22:04:46 +01:00
schroda
6001779434
Change reader background based on setting
...
Regression f5642af219
2024-12-22 22:03:29 +01:00
schroda
056db542df
Add missing padding top in reader mobile header
...
Regression d844ad3f5d
2024-12-22 22:02:22 +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
9ea30ee850
Fix opening hidden progress bar
...
Regression 7e9684b7d3
2024-12-22 21:52:48 +01:00
schroda
4cc38a96db
Fix lint issue
2024-12-22 21:45:34 +01:00
schroda
11455427bf
Prevent reader page placeholder from getting too long in height
...
the "SpinnerImage" has a default height styling of 100% which caused the loading placeholder to take up all the available scroll height
2024-12-22 16:07:55 +01:00
schroda
294a6f45a4
Extract "ReaderProgressBarSlot" from "StandardReaderProgressBar"
2024-12-22 13:53:52 +01:00
schroda
7e9684b7d3
Render progress bars only when visible
2024-12-22 13:53:51 +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
f1f660a546
Memoize "withPropsFrom" HOC
2024-12-22 00:48:22 +01:00
schroda
34ad331a71
Improve memoization of page rendering
2024-12-22 00:48:22 +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
34f484a946
Redirect to correct page after track oauth login
...
Regression introduced with cff0ed5ec3
2024-12-22 00:37:09 +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
570b831604
Extract context types
2024-12-20 21:42:54 +01:00
schroda
9d37c8bc15
Rename context types
2024-12-20 21:35:00 +01:00
schroda
28d0b470bf
Cancel confirmation dialog on backdrop click
2024-12-20 19:45:20 +01:00
schroda
c61831351a
Save unsubmitted source filters on search save
2024-12-20 19:27:53 +01:00
schroda
1f7fe5f20e
Handle long extra messages in EmptyView
2024-12-20 19:23:56 +01:00
schroda
083f98e9f6
Show error on i18n language change
2024-12-20 17:25:46 +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
90934b164a
Properly pass "retryKeyPrefix" to "SpinnerImage"
2024-12-20 13:06:12 +01:00
schroda
acab34debc
Keep overlay closed on open reader
2024-12-20 13:06:11 +01:00
schroda
528dcaafab
Add scanlator to reader desktop nav bar
2024-12-20 13:06:10 +01:00
schroda
713326d1a2
Delete global reader settings on reset
...
When resetting a whole settings tab, the whole metadata can be deleted from the server
2024-12-20 13:06:05 +01:00
schroda
a3deea5b4b
Properly center chapter transition page
...
After changes in e4253633c9 the transition page content wasn't properly centered anymore in the single/double reading mode depending on the applied reader settings (scale type, stretch, reader width)
2024-12-18 00:33:03 +01:00
schroda
60b541a7e5
Add option to reset image preload amount
2024-12-17 16:53:01 +01:00
schroda
ba3a8e7362
Add option to reset progress bar size
2024-12-17 16:53:01 +01:00
schroda
f72977c7ce
Add option to reset image filters to default
2024-12-17 16:53:00 +01:00
schroda
8ca0c58ee0
Add "cycle reading direction" hotkey
2024-12-17 16:27:20 +01:00
schroda
ce15e4db70
Add "cycle reading mode" hotkey
2024-12-17 16:25:46 +01:00
schroda
0771eabfcf
Always open first/last page when closing chapter transition page
...
When e.g. enabling the "offset spread pages" setting the current page index was still the one of the secondary page, which then caused the first page to get skipped.
2024-12-17 02:07:08 +01:00
schroda
392998f4ca
Prevent going to next page on "offset spread pages" change
...
Due to handling an "offset spread page" change as if the "double page" mode got activated, the index of the secondary page was set, which resulted in opening the next page
2024-12-17 01:55:11 +01:00
schroda
e4253633c9
Properly center images in "single page mode"
...
While the reader width was set images weren't centered correctly in the images wrapper element
2024-12-17 01:27:42 +01:00
schroda
38bcf4aecc
Resize images properly to set reader width
...
Images didn't shrink in size while the reader width was set and the original size was used
2024-12-17 01:27:02 +01:00
schroda
33b756219b
Apply passed "margin top" to image placeholder
2024-12-17 00:46:17 +01:00
schroda
3ec0cc94bb
Rename "device theme" to "theme mode"
2024-12-16 23:05:50 +01:00
schroda
b4d295655f
Remove outdated translation key
2024-12-16 22:58:52 +01:00
schroda
eddfba6b07
Remove unused translation keys
2024-12-16 22:40:04 +01:00
schroda
b9f512bb04
Remove "reader width" and "page gap" reset button in global settings
2024-12-16 22:23:40 +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
15a70760ca
Fix double page with different dimensions
...
In case two pages were displayed with different dimensions, the bigger page might take up more than 50% of the screen.
In this case the bigger page got limited to 50% which caused in to unintentionally get reduced in size
2024-12-16 22:08:59 +01:00
schroda
942d8699c1
Add "Webtoon" reading mode
2024-12-16 22:08:58 +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
e95cc232a2
Improve reader chapter update on last page reached
...
In case "endReached" is force set to "true" the chapters last page index should always be set to prevent 2 chapter updates
- 1. for second to last page, read true
- 2. last page, read true
This only happens in "continuous pagers" which have to handle cases where the end of the last page is already visible while the last page itself is too small to ever get set as the "current page index"
2024-12-16 14:49:37 +01:00
schroda
b4c1cdee77
Handle chapter updates sync in reader
...
To be able to properly prevent unnecessary chapter updates, the ongoing updates have to finish, so that the apollo cache is update to date.
Otherwise, the update guard will always be false since the apollo caches chapter data is still from before the previous updates were triggered.
2024-12-16 14:49:37 +01:00
schroda
fcd44abccd
Update chapters in reader only when data will change
...
In case the chapters already match the "patch" input, an update is not required.
2024-12-16 14:49:36 +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
ffe824e603
Remove unnecessary "onTouchStart"
2024-12-15 22:37:39 +01:00
schroda
df9e24f4d7
Darken background colors for dark theme
...
To improve the contrast a little bit
2024-12-13 16:53:40 +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
33910cc89d
Prevent opening previous/next chapter on page selection
...
In case the first/last page was opened and a specific page was selected, instead of opening the page, the previous/next chapter was opened due to incorrectly handling the page change as a previous/next page change
2024-12-13 02:32:36 +01:00
schroda
f69fbd71d2
Open previous chapter transition page 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:30:49 +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
1e57533337
Highlight active settings in reader settings
2024-12-13 02:01:58 +01:00
schroda
66b3757b12
Handle missing reader keybinds in metadata
...
The current default value fallback logic for metadata just checks if a key is missing, or if it's value is undefined.
Since the keybinds are an object, a keybind that got newly added and wasn't saved to the metadata was never added with its default value to the object due to the metadata containing a "keybinds" key with an existing value
2024-12-12 23:45:42 +01:00
schroda
d00c930598
Fix "is read" detection in single/double page mode
...
In case the last page of a manga was immediately visible or the became visible after the "image spread state" change, the chapter never got marked as read
2024-12-12 13:21:48 +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
89b81de830
Handle ".5" chapters in chapter transition warning
...
".5" chapters would incorrectly trigger the missing chapter warning
2024-12-12 12:56:40 +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
7307a3350d
Catch uncaught promise
2024-12-11 22:40:06 +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
8b67c2d6a9
Add "cycle profiles" hotkey
2024-12-11 20:53:48 +01:00
schroda
cff0ed5ec3
Extract app routes into constant
2024-12-11 20:25:49 +01:00