Commit Graph
1930 Commits
Author SHA1 Message Date
schroda 847a5c68b2 Reset app bar height to 0 on unmount 2024-07-13 15:35:34 +02:00
schroda 5632c4584b Consider y-scrollbar when setting max-width
In case there was a y-scrollbar, the set max width caused the x-scrollbar to also appear
2024-07-13 13:01:33 +02:00
schroda fe8d87a536 Fix ExtensionCard on smaller screens
Due to the long repo urls which did not get broking down, the install/uninstall/... weren't visible depending on the screen size
2024-07-13 03:46:40 +02:00
schroda 40f4350cb8 Use new ResizeObserver hook 2024-07-13 03:46:39 +02:00
schroda f43b7af3cd Refactor base app layout 2024-07-13 03:46:37 +02:00
schroda 31837392b5 Remove default props usage 2024-07-11 18:13:51 +02:00
schroda 35ee359754 Remove "clientMutationId" 2024-07-11 18:09:47 +02:00
schroda 2f60b94a64 Get rid of some casts 2024-07-11 18:01:41 +02:00
schroda bc01a945db Fix download queue related TypeErrors
With the changes from df006bb348, the requested download queue data changed not matching the previously used type.
The unnecessary cast then hid the tsc issues during compilation
2024-07-11 18:01:39 +02:00
schroda f33b0d70ba Read only inLibrary manga property from cache
Changed to prevent same issue as in ab8cc918a7
2024-07-09 23:51:39 +02:00
schroda ab8cc918a7 Use correct fragment to read chapters from cache
The used fragment specified properties that were not in the cache, resulting in null being returned instead of the required chapter data
2024-07-09 23:50:51 +02:00
schroda 205c833b19 Add missing chapter fields to update subscription 2024-07-09 01:19:05 +02:00
schroda b70c404fb1 Move "Fragments" file into "fragments" folder 2024-07-09 00:41:14 +02:00
schroda c1e92b3256 Extract info gql fragments 2024-07-09 00:39:41 +02:00
schroda 50aae95700 Extract server settings gql fragments 2024-07-09 00:38:08 +02:00
schroda 3d21266f92 Reduce requested manga data in queries 2024-07-09 00:30:15 +02:00
schroda 4b30e9bc48 Reduce requested extension data in queries 2024-07-09 00:21:51 +02:00
schroda df006bb348 Reduce requested downloader data in queries 2024-07-09 00:21:51 +02:00
schroda cb978d9a0e Reduce requested updater data in queries 2024-07-09 00:21:50 +02:00
schroda 83be995fb8 Reduce requested tracker data in queries 2024-07-09 00:21:49 +02:00
schroda 7556ea9b38 Reduce requested source data in queries 2024-07-09 00:21:49 +02:00
schroda 2fa1de578c Reduce requested chapter data in queries 2024-07-09 00:21:46 +02:00
schroda 9b8ace003d Reduce requested category data in queries 2024-07-03 23:24:50 +02:00
schroda 03cfc9b80c Correctly detect multiple scanlators 2024-07-03 23:24:49 +02:00
schroda faf2bd2572 Uses correct extension gql key 2024-07-03 23:24:49 +02:00
schroda 149bc8ad0d Remove duplicated i18n strings 2024-07-03 23:24:48 +02:00
schroda ea102eceb6 Make chapter sort options typing more strict 2024-06-30 14:24:03 +02:00
schroda d1286c2779 Add more chapter list sort options
- by chapter number
- by upload date
2024-06-30 14:23:20 +02:00
schroda bff3c28730 Extract chapter sort into function 2024-06-30 14:22:50 +02:00
schroda 78c0efcd20 Sort chapter list by source order
Was incorrectly changed to chapter number with f52b634da1
2024-06-30 13:33:31 +02:00
schroda f52b634da1 Properly sort chapter list by chapter number
The sort order was switched and instead of ASC it was sorted DESC and vice versa.
This was caused because the server returned the list (most of the time) in ASC order by chapter number.

Additionally, the  list was overall never properly sorted by chapter number and only worked because the server (most of the time) returned it in the correct order by chapter number.
However, this is not guaranteed at all since the server sorts in ASC order by the chapter id by default
2024-06-28 11:19:17 +02:00
schroda dd6b0a1e44 Show error for chapter without pages 2024-06-27 15:10:10 +02:00
schroda c337ec09ea Optionally remove migrated manga from categories
In case the setting is enabled, the manga should be removed from all categories on migration
2024-06-26 14:18:38 +02:00
schroda 6224ad4596 Prevent empty chapter updates on migration
In case there were no chapters to migrate the read or bookmark status, a request with an empty list was sent to the server.
This caused an exception on the server which resulted in a request failure which at the end caused the migration to fail
2024-06-26 13:59:14 +02:00
schroda f9b1d2bae2 Add option to stop global update 2024-06-26 13:25:43 +02:00
schroda 3206944052 Optionally trigger update for specific category 2024-06-26 12:42:03 +02:00
schroda 17e2d7585d Handle unsupported dayjs locales
DayJs doesn't support all the locales returned by "navigator.language"
2024-06-25 17:21:50 +02:00
schroda 1e39619314 Update dependencies 2024-06-25 16:28:29 +02:00
schroda 017e080159 [SKIP CI][Tooling] Fix detection of existing translation changelog 2024-06-25 16:07:09 +02:00
7c2a1ba561 Translations update from Hosted Weblate
Co-authored-by: Gianluca Lauro <giangi.lauro@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: lucas Christofaro <lucassilva8456@gmail.com>
Co-authored-by: marimo <nekomiminimoe@gmail.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: tizio04 <dp2104@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2024-06-25 15:38:24 +02:00
robo 26f0fefc0a Disable webUI settings for custom flavor only (#768) 2024-06-16 15:35:40 +02:00
schroda f2649bd693 [Release] Version 1.1.0 2024-06-14 20:22:37 +02:00
schroda 7d1f2dfe01 [Codegen] Fix gql schema url
Was unintentionally merged
2024-06-14 19:56:51 +02:00
a9fc2f13aa Translations update from Hosted Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: LawrenceLorenzo <hgasiki1919810@gmail.com>
Co-authored-by: Leonardo de Macedo Sartorello <leo.sartorello98@gmail.com>
Co-authored-by: Vítor Paz <vitorpaz1765n@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: kiramafuyu <794460551@qq.com>
Co-authored-by: marimo <nekomiminimoe@gmail.com>
Co-authored-by: tizio04 <dp2104@gmail.com>
Co-authored-by: yaki <dima280302@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/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translation: Suwayomi/Suwayomi-WebUI
2024-06-14 19:51:53 +02:00
schroda 36e943214c Remove "default back to" functionality
Caused an infinite loop, because in case the Reader was the initial opened page, got closed and the back button was pressed, the Reader just got opened again.

This happened because in case it was the initial opened page, closing the Reader did not use the browser back navigation and instead opened the Manga page, resulting in it to be pushed in the history stack with the Reader being the previous page
2024-06-14 15:17:05 +02:00
schroda 87eb5eaf53 Include location search in history stack 2024-06-14 15:17:05 +02:00
schroda 7337c18c7b Use global navigation history stack
The readers history stack was different to the one from the rest of the app, resulting in an infinite loop when using the closing the reader and using the back button in the manga page, since the back button just opened the reader again.

Regression introduced with 4bb458778e
2024-06-14 15:17:05 +02:00
schroda 7266270075 [IssueModerator] Improve unremoved acknowledgment section detection 2024-06-13 20:22:48 +02:00
schroda 6344c21261 Clear library selection after action 2024-06-13 12:17:02 +02:00
schroda 403f657945 Enable ripple effect for nav buttons 2024-06-07 14:48:23 +02:00