Commit Graph

2305 Commits

Author SHA1 Message Date
schroda
519ff43b67 Use stable array/object constants II 2026-03-20 03:36:57 +01:00
schroda
5a2e5f83bc Update available languages 2026-03-20 03:21:45 +01:00
Hosted Weblate
98f7b34227 Translations update from Hosted Weblate
Co-authored-by: CyberMageIL <CyberMageIL@Gmail.com>
Co-authored-by: Elyan Voryn <blzkira77@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fil/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/he/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-20 03:14:08 +01:00
schroda
0cd0034316 Abort dynamic color extraction on manga page leave
The in-flight image request updated the theme regardless of if the manga page was still opened or not
2026-03-20 03:10:17 +01:00
schroda
9ce273b5ce Use stable array/object constants 2026-03-20 03:02:52 +01:00
schroda
fcf1c7fa3f Fix "Maximum update depth exceeded"
Regression b63c8a548e
2026-03-20 03:01:32 +01:00
schroda
b63c8a548e Fix collectable collection selecting initial items lazily 2026-03-20 01:42:57 +01:00
schroda
33c55f8b85 Fix collectable selection hook memoization 2026-03-20 01:42:15 +01:00
schroda
9aae34b8ad Add logic to have optional page specific back button logic
Makes it possible to trigger actions on back button click and optionally prevent the actual back navigation
2026-03-20 01:42:15 +01:00
schroda
e8a64c613a Fix mobile bottom navigation 2026-03-16 22:41:31 +01:00
schroda
54086f1c30 Fix changing reader settings from desktop quick settings
Regression 63ebfd120e
2026-03-15 14:43:40 +01:00
schroda
32fb7b0909 Fix deleting global reader settings
It replaced the global settings with the manga specific ones.

Regression 63ebfd120e
2026-03-15 14:42:49 +01:00
schroda
7de1723b36 Fix updating global reader settings
It replaced the global settings with the manga specific ones.

Regression 63ebfd120e
2026-03-15 14:33:57 +01:00
schroda
8be1da61aa Fix linting 2026-03-15 01:42:37 +01:00
schroda
80829febb2 [skip ci] Re-add removed lint rules 2026-03-14 02:11:03 +01:00
schroda
320bfc6c5b Extract manga migration logic 2026-03-13 20:36:46 +01:00
schroda
1cccd1ea46 Simplify selecting zustand store state 2026-03-11 23:31:51 +01:00
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
5dda4304d9 Migrate to oxlint + oxfmt 2026-03-11 19:41:49 +01:00
schroda
22e1b6d224 Update dependency "eslint" to v9.x
v9.39.4
2026-03-10 21:41:50 +01:00
schroda
d8673e2307 Migrate to tsgo 2026-03-10 01:34:36 +01:00
schroda
c6343e24a5 Update dependency "apollo-client" to v4.x
v4.1.6
2026-03-10 01:02:12 +01:00
github-actions[bot]
1f323baff4 Update manga type tags 2026-03-09 00:44:50 +00:00
Hosted Weblate
aade88a2f2 Translations update from Hosted Weblate
Co-authored-by: Cyber Mage <CyberMageIL@gmail.com>
Co-authored-by: CyberMageIL <CyberMageIL@Gmail.com>
Co-authored-by: Damien O'Neil <maxiburning@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: makoto <makoto326@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/he/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-09 01:40:06 +01:00
schroda
f549658dfa Update dependencies 2026-03-09 01:13:34 +01:00
schroda
00d6350cee Optionally include client data during manga migration 2026-03-08 22:42:39 +01:00
schroda
57e05bf20d Introduce new batch metadata update function 2026-03-08 22:42:38 +01:00
schroda
430939a47a Update new "metas" mutations structure 2026-03-08 22:42:38 +01:00
schroda
0c12427020 Remove old metadata mutations 2026-03-08 22:42:37 +01:00
schroda
63ebfd120e Fix saving long metadata values
fixes #900
2026-03-08 22:42:36 +01:00
schroda
64df9a9489 Add new single multipurpose metadata update mutation 2026-03-08 22:40:47 +01:00
schroda
474b98abb5 Use new "metas" mutations 2026-03-08 22:40:45 +01:00
schroda
aa9e6d1bfb Abort global search when leaving search page 2026-03-04 01:37:26 +01:00
schroda
41fe42f29b Fix "auto webtoon mode" detection
The detection didn't work properly in case the selected manga was in a different language than English or the current active translation.
In that case it didn't work because the translation for that locale wasn't loaded.

So to ensure that the translation exists for each language, we have to hardcode it.
2026-02-21 22:20:22 +01:00
schroda
576cf85c38 Cleanup reader store slices hooks 2026-02-21 17:33:13 +01:00
schroda
daeb2a4e45 Access reader store setters directly without hook 2026-02-21 16:41:56 +01:00
schroda
75cf18b254 Rename "getNextIndexFromPage" to "getIndexOfPage" 2026-02-21 15:15:47 +01:00
schroda
4da2f67b75 Fix page shift when toggling "offset double spreads" setting
The pages should get shifted to
- the left when enabling
- the right when disabling
the setting.

Currently, the "page push" is inverted.
This can cause the page that is most likely being read to get pushed out of the screen. Which then requires the user to change the page.

Example:

Active page: 1+2
Enable setting: -> 2 (currently) instead of -> 1
2026-02-21 15:15:47 +01:00
schroda
ec49cd1ad9 Fix updating reader "page urls" in "page store"
The page urls never got updated in the store
2026-02-21 15:15:45 +01:00
schroda
ddca11e537 Prevent potential out-of-bound index access when selecting reader page 2026-02-21 15:15:06 +01:00
schroda
95ccdad275 Align "offset spread pages" hotkey text with setting 2026-02-21 15:15:04 +01:00
schroda
8a7081fdba Fix missing "offset double spreads" setting under "settings > reader" 2026-02-21 15:12:34 +01:00
Hosted Weblate
612ee71776 Translations update from Hosted Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Sazuru <sazuru@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: mahranaka <robertlang123450@gmail.com>
Co-authored-by: Црнобог <68vuletic@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/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-21 15:12:14 +01:00
schroda
59d887eaea Prevent unauthenticated image request on manga refresh 2026-02-13 00:58:18 +01:00
schroda
d99d950585 Fix refreshing thumbnail during manga refresh
When using blobs (e.g. due to authentication), manually refreshing caused the thumbnail to break on the manga page.
This was caused because the image got cleaned up, but did not get reloaded again because it was considered to be already loaded.

Regression 3a27461598
2026-02-13 00:58:13 +01:00
Zhou Yeheng
afd4761998 Fix android browsers background-color issues by setting theme-color meta (#1063) 2026-02-13 00:57:38 +01:00
schroda
1007533349 Fix some translation issues
- Interpolation issues
- Wrong translations added during migration to lingui
2026-02-04 00:50:16 +01:00
Hosted Weblate
66b80bc19f Translations update from Hosted Weblate
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 圭紫 <kaceykoo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-03 23:35:51 +01:00
schroda
307dc95533 Use default language constant 2026-01-30 22:18:34 +01:00
schroda
76474712a3 Use BCP-47 language codes for i18n resource files
Lingui expects the codes to be compliant to BCP-47 while weblate was not set up to create the resource files in that format.
And react-i18next was able to just handle them.

fixes #1058
2026-01-30 21:57:12 +01:00