Commit Graph

2816 Commits

Author SHA1 Message Date
schroda
d625a7b3dc Fix incorrect truthy check for conditional rendering in SourceLanguageSelect
Ensure proper validation for `sourcesOfLanguage` to prevent potential rendering issues.
2025-09-22 23:59:20 +02:00
schroda
f37d7e892a Fix tsc issues 2025-09-22 17:58:28 +02:00
schroda
b6d7f6da5d Add zustand dev tools 2025-09-22 01:10:36 +02:00
schroda
f6b94c838b Fix reset of reader store
After the slice states got reset, the base reset function just reverted all those resets and only reset the base states in the store (manga, scrollbar, ...)
2025-09-22 01:10:35 +02:00
github-actions[bot]
4a07198af6 Update available languages 2025-09-21 15:07:41 +00:00
Hosted Weblate
f450cbcb2a Translations update from Hosted Weblate
Co-authored-by: Christian Heinrich <ch.heinrich16@gmail.com>
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jason Behar <weblate.turret096@passmail.net>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: zeedif <carlos_antonio-rl@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/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translation: Suwayomi/Suwayomi-WebUI
2025-09-21 17:06:48 +02:00
schroda
525173e05e Add dedicated store access util functions
Makes it easier to find the specific store slice usage
2025-09-21 01:16:59 +02:00
schroda
ed488f76dd Always use "useShallow" for store selection 2025-09-21 01:16:57 +02:00
schroda
5730690ae6 Simplify ReaderControls#useHandleClick 2025-09-21 01:16:53 +02:00
schroda
ca5920919e Simplify ReaderControls#useOpenPage 2025-09-21 01:16:51 +02:00
schroda
f5c7379fc4 Simplify ReaderControls#useOpenChapter 2025-09-21 01:16:49 +02:00
schroda
1c0b982bae Remove unnecessary TFunction parameter 2025-09-21 01:16:47 +02:00
schroda
19e45424ae Make react router routing possible outside components 2025-09-21 01:16:44 +02:00
schroda
b13bb86f40 Move app theme related types to dedicated file
Fixes circular dependency.
2025-09-21 01:16:42 +02:00
schroda
ed53aff071 Extract "reader chapters store slice" into file 2025-09-21 01:16:39 +02:00
schroda
9f5db5496f Extract "reader pages store slice" into file 2025-09-21 01:16:36 +02:00
schroda
6da8a3fd87 Move reader store in sub dir 2025-09-21 01:16:33 +02:00
schroda
fb70d89940 Move reader "tap zone state" to "reader store" 2025-09-21 01:16:30 +02:00
schroda
f60b537115 Move reader "progress bar state" to "reader store" 2025-09-21 01:16:28 +02:00
schroda
98ec5257b9 Move reader "settings state" to "reader store" 2025-09-21 01:16:26 +02:00
schroda
5177f9efdc Move reader "chapters state" to "reader store" 2025-09-21 01:16:25 +02:00
schroda
bada26ead6 Move reader "pages state" to "reader store" 2025-09-21 01:16:22 +02:00
schroda
dabe50754f Move reader "auto-scroll state" to "reader store" 2025-09-21 01:16:17 +02:00
schroda
e68cb65874 Move reader "overlay state" to "reader store" 2025-09-21 01:16:15 +02:00
schroda
9bedec7115 Rename "reader scrollbar state" properties 2025-09-21 01:16:13 +02:00
schroda
4cc5821ead Move reader "scrollbar state" to "reader store" 2025-09-21 01:16:10 +02:00
schroda
433dc17c35 Move reader "manga state" to "reader store" 2025-09-21 01:16:04 +02:00
schroda
4e30081ed8 Move reader "pages" state to base reader types 2025-09-21 01:16:01 +02:00
schroda
f6566e535f Add "immer" dependency 2025-09-21 01:15:59 +02:00
schroda
ebebd50689 Add "zustand" dependency 2025-09-21 01:15:58 +02:00
schroda
7d71780fbc Properly type scalar "Duration" 2025-09-18 22:28:08 +02:00
schroda
80a576db63 Include chapter info in continue reading button tooltip 2025-09-18 22:28:07 +02:00
schroda
5456428916 Add step size to kroeader tolerance setting 2025-09-18 22:28:06 +02:00
schroda
c77a1b1677 Fix library update skip entries setting
Regression 94299433c8
2025-09-18 00:28:31 +02:00
schroda
54a31b2113 Update nav bar available extensions update text 2025-09-16 17:48:01 +02:00
schroda
38ac36d14c Fix setting "default" download conversion mime type
The server expects the mime type to be "default", while the ui set it to "image/default"
2025-09-13 14:13:32 +02:00
schroda
792aca1b28 Fix login page redirection when already authenticated 2025-09-10 12:55:23 +02:00
schroda
98e1cb2eff Reuse SplashScreen on LoginPage 2025-09-10 00:56:44 +02:00
schroda
3d023abc6c Always show server address input on LoginPage
In case the webUI wasn't hosted on the same domain as the server, the ui was stuck on the login page, due to the inferred server address being wrong.
2025-09-10 00:56:44 +02:00
schroda
9486bf1a81 Always show server address input on SplashScreen
In case the webUI wasn't hosted on the same domain as the server, the ui was stuck on the splash screen, due to the inferred server address being wrong.
2025-09-10 00:56:41 +02:00
schroda
e138229832 Fix SplashScreen light mode logo color 2025-09-10 00:55:41 +02:00
schroda
464edc0f18 [skip ci] Update "versionToServerVersionMapping" 2025-09-08 01:17:39 +02:00
schroda
fcea0504c7 Update "versionToServerVersionMapping" 2025-09-08 01:03:23 +02:00
schroda
8745101c8a Add "open in webview" button in "SourceMangas"
closes #991
2025-09-08 00:59:14 +02:00
schroda
d5ee36bdaa Fix nav bar "available updates" pluralization 2025-09-08 00:52:56 +02:00
schroda
94299433c8 Remove redundant extract helper functions for server settings
Simplifies settings usage by directly accessing the `settings` object instead of relying on intermediary extraction functions. Improves code readability and reduces unnecessary abstraction.

Ensures consistency across all settings components for a cleaner and more efficient implementation.
2025-09-08 00:46:57 +02:00
schroda
47e93c774f Add "database" settings 2025-09-08 00:37:02 +02:00
schroda
7d81e1106f Add "koreader sync" settings 2025-09-08 00:36:23 +02:00
schroda
9552f13a78 Use cache-only fetch policy for nav bar extension list query
Prevents unnecessary network requests when fetching the extension list to show updatable extension info in the nav bar.
2025-09-06 14:59:31 +02:00
schroda
dad58f77b6 Handle obsolete extensions during update/uninstall actions
Prevent treating extensions marked as obsolete as updatable by adding an additional check before determining the action.
2025-09-06 14:58:19 +02:00