Commit Graph

1873 Commits

Author SHA1 Message Date
schroda
ff9f6b6207 Add hook to get value based on themes "direction"
In case the component didn't rerender on a language change, the used value was never updated based on the new "direction"
2024-09-30 02:55:34 +02:00
schroda
df420710ae Add "shouldForwardProp" util function 2024-09-30 02:55:32 +02:00
schroda
8f4da52d1f Add optimistic response to server settings mutation 2024-09-26 15:34:00 +02:00
schroda
70f8e36b6e Use "useLayoutEffect" for setting title and actions 2024-09-26 15:33:22 +02:00
schroda
c72cf9a0ab Add missing error message on settings change error 2024-09-26 14:00:26 +02:00
schroda
314ad39ee0 Show "Default" for unchanged server file paths 2024-09-26 14:00:25 +02:00
schroda
5a46f1fdef Remove manual preloading of single/double mode images
With the changes from 83ce1caee6 all pages are rendered and therefore also loaded

In case of the double page mode this caused the spread page detection to be delayed due to the manual preloaded images being at the end of the image queue and thus, causing the image to be already rendered while being unable to detect the spread status of the image
2024-09-23 15:08:49 +02:00
Hosted Weblate
0b9acb1b4e Translations update from Hosted Weblate
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jean-Philippe ALLEGRO <jipai13@gmail.com>
Co-authored-by: Lycus Bendln <richard.huawei08@gmail.com>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Oxara <oxara.dev@gmail.com>
Co-authored-by: PandaKewt <chuminhtuan30306@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: tizio04 <dp2104@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
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/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-09-22 03:18:22 +02:00
schroda
9ec0e1869d Handle cache update when creating new global metadata
Can't be handled exactly the same way as the other meta fields
2024-09-22 03:05:04 +02:00
schroda
a06e170d78 Handle cache update when creating new metadata
In case the metadata didn't exist yet, it was never added to the meta array because the objects meta field was never updated
2024-09-22 02:50:14 +02:00
schroda
7abfbd09ef Properly detect active library filters 2024-09-21 22:20:43 +02:00
schroda
20eaa90c10 Add optimistic response to metadata mutations 2024-09-21 22:20:41 +02:00
schroda
fab5f0b860 Update downloadable check in chapter list
Check for single chapter card was never updated and the downloadable condition was incorrectly changed with 6c01c222c3
2024-09-21 22:20:40 +02:00
schroda
34ebe82df1 Properly detect downloadable chapter 2024-09-21 22:20:40 +02:00
schroda
b05660dc82 Remove scroll to top on library filter change 2024-09-21 22:20:39 +02:00
schroda
a1131bf85b Save library options per category 2024-09-21 22:20:38 +02:00
schroda
df129f723a Rename library option variable names 2024-09-17 00:26:41 +02:00
schroda
83ce1caee6 Prevent blinking on page switch in double mode 2024-09-17 00:26:41 +02:00
schroda
fe3bbedde9 Prevent blinking on page switch in single mode 2024-09-17 00:26:40 +02:00
schroda
4e763192a8 Add sort by total chapter count 2024-09-15 22:53:35 +02:00
schroda
dab7d40271 Internationalize manga status in details page 2024-09-15 14:22:56 +02:00
schroda
1708d5daff Add "status" library filter 2024-09-15 14:22:55 +02:00
schroda
009da03236 Fix open track settings on library manga track action
Was never properly implemented, thus, didn't work at all and instead only an empty dialog was shown
2024-09-14 22:01:01 +02:00
schroda
fe6757f308 Migrate to mui grid v2 2024-09-14 22:00:46 +02:00
schroda
6c01c222c3 Add retry button for failed downloads 2024-09-14 22:00:46 +02:00
schroda
8fc6900148 Fix library appbar selection checkbox intermediate color 2024-09-14 22:00:45 +02:00
schroda
a9e0853e34 Set manga thumbnail as background image 2024-09-14 22:00:44 +02:00
schroda
b3a8821023 Change reader loading pages background color 2024-09-14 22:00:44 +02:00
BrutuZ
7f330ec542 Rebind mouse scroll wheel on Continuous Horizontal reader (#800) 2024-09-14 21:58:16 +02:00
schroda
164d810eb4 Decrease manga description collapsed size
Adjust collapsed size to actual description height.
The collapsed size is still set once the element is expanded, which can cause a lot of empty space for short descriptions
2024-09-09 23:02:12 +02:00
schroda
aa628c72f6 Increase add theme button icon size 2024-09-09 22:34:43 +02:00
schroda
418af05943 Handle long theme names 2024-09-09 22:34:15 +02:00
schroda
e828e0f801 Fix appbar zindex
Appbar was clickable while a drawer was opened
2024-09-09 22:20:49 +02:00
schroda
65f21f17b1 Support overriding mui theme "components" 2024-09-09 22:20:48 +02:00
schroda
e7177b0b49 Add more themes 2024-09-09 22:20:48 +02:00
schroda
b65636ddcf Update some theme colors
- rosegold
- crimson
- minty miracles
2024-09-09 22:20:47 +02:00
schroda
c62d84baf3 Lighten calculated light theme background colors
To improve contrast to primary color for some themes
2024-09-09 22:20:47 +02:00
schroda
1423ca23be Set appbar color on light theme 2024-09-09 22:20:46 +02:00
schroda
0a4124062b Show manga placeholder thumbnail while loading 2024-09-09 16:06:27 +02:00
schroda
9d06503048 Show manga image fullscreen button only on successful load
In case the image load failed, the fullscreen button made the image retry button unclickable
2024-09-09 15:36:08 +02:00
schroda
3b20d64062 Call "onImageLoad" callback only on successful load
In case the image load was aborted, the success callback was incorrectly called
2024-09-09 15:33:09 +02:00
schroda
df5ce4b08c Filter out empty manga genre 2024-09-09 14:58:12 +02:00
schroda
a6976d4513 Show manga description only if available 2024-09-09 14:55:59 +02:00
schroda
b57e5118cc Define gql merge function for "trackRecords" field of "MangaType"
When opening the reader and going back to the library, the whole category of the previous opened manga gets refetched due to the readers manga query removing the mangas tracker data from the cache which is required in the library
2024-09-08 01:52:36 +02:00
schroda
4a742bb0ff Reduce toasts when switching themes 2024-09-07 01:49:10 +02:00
schroda
74944407f7 Use "notistack" to display toasts 2024-09-07 01:27:07 +02:00
schroda
fea710b5dc Remove "makeToaster" usage 2024-09-07 01:23:48 +02:00
schroda
e0b58652f4 Support theme fonts 2024-09-07 01:07:02 +02:00
schroda
527ab8c149 Prevent creating themes without names 2024-09-06 23:53:46 +02:00
schroda
4662a9175f Always use calculated scrollbar size 2024-09-06 23:50:38 +02:00