schroda
5220f8ca44
Prevent unnecessary "page spread state" updates
...
Only update state in case it has changed
2024-12-25 23:50:07 +01:00
schroda
3b62506452
Memoize "useBackButton" returned function
2024-12-25 23:49:17 +01:00
schroda
f263422b1c
Extract "reader progress bar slot wrapper"
2024-12-25 22:32:31 +01:00
schroda
ef15788c13
Pass "transitionPageMode" to "ReaderTransitionPage"
...
Regression d67d6f7d28 which was never caught due to an error in the "withPropsFrom" HOC typing (fixed with 2e79f3f0db )
2024-12-25 17:14:52 +01:00
schroda
2e79f3f0db
Fix "MergeObjectsArray" util type
...
Never worked properly due to using a non-existent type for the recursive call.
This caused the "withPropsFrom" HOC to not properly type the "sourcePropKeys" which were just all props of the passed component instead of the common keys of the component and the passed "prop sources"
2024-12-25 17:09:30 +01:00
schroda
2a20326c76
[SKIP CI] Fix "yargs" usage
...
With "esm" "yargs" is not a singleton anymore
2024-12-25 14:56:48 +01:00
schroda
50e53dedc3
Replace "ts-node" with "tsx"
...
"ts-node" has problems with "esm" and "path-aliases"
2024-12-25 14:38:27 +01:00
Hosted Weblate
212e2df33c
Translations update from Hosted Weblate
...
Co-authored-by: CZodio <tcp-w-claudio@hotmail.it >
Co-authored-by: Felana <d.evangelion@gmail.com >
Co-authored-by: Fordas <fordas15@gmail.com >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Mustafa Değerli <degerlimustafa@protonmail.com >
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com >
Co-authored-by: gallegonovato <fran-carro@hotmail.es >
Co-authored-by: kumo manga <kumomanga@gmail.com >
Co-authored-by: m.a.tecik <matmakif38@gmail.com >
Co-authored-by: plum7x <plumgift@hotmail.com >
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/th/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2024-12-25 14:00:51 +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