Commit Graph

401 Commits

Author SHA1 Message Date
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
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
149bc8ad0d Remove duplicated i18n strings 2024-07-03 23:24:48 +02:00
schroda
dd6b0a1e44 Show error for chapter without pages 2024-06-27 15:10:10 +02:00
schroda
3206944052 Optionally trigger update for specific category 2024-06-26 12:42:03 +02:00
robo
26f0fefc0a Disable webUI settings for custom flavor only (#768) 2024-06-16 15:35:40 +02:00
schroda
6344c21261 Clear library selection after action 2024-06-13 12:17:02 +02:00
schroda
29d54384f5 Remove most "useSetDefaultBackTo" usage
In case the "depth" of the initial opened app page was greater than 2 it was possible to get stuck in a loop of using the back button twice from the initial page to the previous page and back to the initial page...

Instead, in case a page with a greater depth than 0 is opened, the library should just be opened when using the back button.

This way the back button actually behaves like it's intended, as an app back button and not like the browsers back button
2024-06-06 00:00:38 +02:00
schroda
19e326c8ad Allow partial response for Reader chapter update
It's possible that the "trackProgress" mutation of the "updateChapters" mutation fails, which then would lead to the "mark as read" and "delete chapter" mutation data to be omitted, thus, preventing the cache from being updated with the received mutation data response
2024-06-03 03:09:59 +02:00
schroda
fdf78145f0 [VersionMapping] Update to latest server gql schema changes
Server now supports partial mutation responses.
2024-06-03 03:09:58 +02:00
schroda
3492c103a7 Fix tsc issue of incorrect translation key 2024-05-24 14:04:19 +02:00
schroda
fee93c22eb Reduce padding of DownloadQueue items 2024-05-23 14:03:59 +02:00
schroda
cf996d67bb Add "isMobileWidth" util function 2024-05-23 02:37:40 +02:00
schroda
5cfa6d8445 Limit lines of chapter name of update cards 2024-05-22 23:28:56 +02:00
schroda
857b0204d3 Limit lines of manga title of update cards 2024-05-22 23:28:54 +02:00
schroda
e9ee43b9b4 Use "DayJs" instead of "Date" 2024-05-21 22:22:12 +02:00
schroda
c6b99478f3 Fix missing flaresolverr link
The spaces are important so that i18n correctly converts the translation to the actual text.

Regression introduced with 3a7c93ea06
2024-05-20 15:00:04 +02:00
schroda
2b2686d323 Always include scanlator in case multiple scanlators exist
Makes more sense compared to the previous logic - to only show the scanlator in case "skip dupe chapters" setting was disabled and duplicated chapters existed - which was also not properly implemented, to be always able to tell if chapters of different scanlators might be viewed
2024-05-14 23:06:36 +02:00
schroda
a65ca228fe Keep initial opened chapter as duplicate reference
In case "skip duplicated chapters" is enabled and the next chapter is from a different scanlator, the initial opened chapter should still be used to remove duplicated chapters.

Otherwise, the original scanlator would get lost and the scanlator of the next chapter would get used, which was only a fallback chapter, because the initial chapters scanlator did not have a next chapter.
2024-05-13 04:04:41 +02:00
schroda
ca747b383e Show chapter title in Reader chapter select 2024-05-13 03:40:45 +02:00
schroda
c5d8b20528 Always allow clearing download queue
It's possible that the queue only contains a failed invalid (does not exist anymore in the database) chapter which then causes graphql errors.
In this case the queue was considered empty which prevented it from getting cleared.
Without being able to clear it, the error could not be fixed.
2024-05-13 01:38:29 +02:00
schroda
6b690cfd8d Handle error during manga refresh
The error of the refresh mutation was never catched and shown
2024-05-11 01:12:10 +02:00
schroda
6a11b58d4d Update "openNextChapter" function in "ReaderNavBar" on change 2024-05-09 13:13:55 +02:00
schroda
23ea896524 Show "ContinueReadButton" on in library 2024-05-08 19:16:41 +02:00
schroda
4d3889532e Group duplicated mangas by title 2024-05-08 19:16:40 +02:00
schroda
b785e633fa Optionally check description to find library duplicates
The description contains the alternative titles of the entry, thus, potentially finding a duplicate even if the title itself are different
2024-05-08 19:09:01 +02:00
schroda
d094d9c9a3 Check for library duplicates via lowercase entry title 2024-05-08 15:06:02 +02:00
schroda
5cb541b684 Add functionality to save source browse searches 2024-05-08 13:45:56 +02:00
schroda
f994d32e91 Open "browse" page for missing sources in backup validation
Path of page was changed, but it was never updated in the backup validation dialog
2024-05-07 02:28:09 +02:00
schroda
86ec83a2ef Handle missing trackers in backup validation result 2024-05-07 02:28:08 +02:00
schroda
63543a48e3 Add option to disable server update checks 2024-05-07 01:08:08 +02:00
schroda
51a0173927 Add option to disable webUI update checks 2024-05-07 01:06:33 +02:00
schroda
3aa156b2c9 Prevent duplicated mangas in source browse
Regression introduced with 6186cb0ea3
2024-05-05 23:27:52 +02:00
schroda
64adf991d1 Handle request error in SearchAll 2024-05-05 01:17:18 +02:00
schroda
742dff3698 Always show local server settings
The local server settings were not shown in case the actual server settings were loading or the request failed.
E.g. in case the "server url" was set to an invalid url, it was not possible to correct it again
2024-05-05 01:01:08 +02:00
schroda
129e6171a5 Handle request error in Updates 2024-05-05 00:50:15 +02:00
schroda
7e414202f1 Prevent incorrect missing repo info in Extensions
Server settings request loading and error state were never handled, thus, in case this request was still loading or failed, instead of showing the proper page state, the missing repo info was shown
2024-05-05 00:47:00 +02:00
schroda
395a4cc5b9 Properly handle requests in TrackingSettings 2024-05-05 00:41:02 +02:00
schroda
b90395ef12 Prevent infinite loading in About 2024-05-05 00:36:21 +02:00
schroda
3a7c93ea06 Remove referrers from links 2024-05-04 23:54:33 +02:00
schroda
6df1159728 Use unique local storage key 2024-05-04 15:52:16 +02:00
schroda
df66e180d8 Add setting to show duplicated library entries 2024-05-04 15:41:21 +02:00
schroda
d3999123ab Extract "Date" functions into "date.ts" util 2024-05-03 16:19:20 +02:00
schroda
29ade85f7f Use "Intl.DateTimeFormat" instead of Date locale functions
It's recommended to use "Intl.DateTimeFormat" instead of using Date locale functions which get called often with the same options (e.g. https://developer.mozilla.org/en-US/docs/web/javascript/reference/global_objects/date/tolocaletimestring)
2024-05-03 15:57:38 +02:00
schroda
dc9d9dfa3f Prevent TypeError in Reader chapter update
In case the manga wasn't loaded immediately, trying to access the trackRecords totalCount caused a TypeError because the initial manga object did not specify it
2024-04-30 20:18:00 +02:00
schroda
5a97f11703 Add missing requests to loading and error handling of Reader 2024-04-30 20:16:02 +02:00