Commit Graph

429 Commits

Author SHA1 Message Date
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
schroda
bcccbda00c Add retry option to SearchAll error message 2024-04-29 15:37:01 +02:00
schroda
c19df43e4a Fix styling of SearchAll error messages 2024-04-29 15:37:01 +02:00
schroda
054585f488 Rename "EmptyView" 2024-04-29 15:29:33 +02:00
schroda
ee0bf3c1e0 Make "value" prop of setting components required 2024-04-28 02:58:38 +02:00
schroda
f1ec97b0e6 Extract fetch logic into parent setting components 2024-04-28 02:58:38 +02:00
schroda
58f5e9ff79 Add retry logic to existing error handling 2024-04-28 02:58:35 +02:00
schroda
7531edbd59 Add retry logic to Library error handling 2024-04-28 02:58:28 +02:00
schroda
773d2b1026 Add missing error handling 2024-04-28 02:58:24 +02:00
schroda
a447719309 Remove unnecessary "??" operator usage in EmptyView prop 2024-04-27 22:15:16 +02:00
schroda
626c4ba6e6 Show missing loading placeholders 2024-04-27 22:04:44 +02:00
schroda
35b756e09c Mark duplicated chapters as read
Should have been done with fd2946d1ae, but it only deleted downloads of duplicated chapters
2024-04-27 15:14:56 +02:00
schroda
950d240c8a Set "location origin" as default "server base url" 2024-04-26 13:04:21 +02:00
schroda
6788e284e9 Prevent selecting an unsupported language
In case no language had been selected yet and the detected browser language is not supported, the selection was set to undefined instead of showing the default language
2024-04-25 00:27:00 +02:00
schroda
fd2946d1ae Mark duplicated chapters as read
In case the "skip duplicated chapters" setting was enabled the duplicated chapters of the just read chapter did not get marked as read
2024-04-23 18:08:34 +02:00
schroda
c4d77d2325 Globally inform about successful webUI updates
In case automatic webUI updates are disabled, the user gets informed about available updates
2024-04-21 15:03:24 +02:00
schroda
4ae0f65f6c Change order of WebUI "about" info 2024-04-21 12:51:08 +02:00
schroda
a6bdf1b10a Fix typo in translation key usage 2024-04-20 23:19:03 +02:00
schroda
1a16dba7bd Add option to update tracking on manual mark as read 2024-04-20 23:15:02 +02:00
schroda
a1c0ec82b8 Add setting to disable tracking update while reading 2024-04-20 22:25:40 +02:00
schroda
dcc90e3e2f Do not emit storage event when changing grid snapshot
To prevent unnecessary re-renders.
The current grid state was stored in the session storage which then triggered an immediate re-render because the just saved snapshot got restored again
2024-04-16 02:52:15 +02:00
schroda
1f227ce886 Scroll to top when changing shown data in source browse
The current scroll position was preserved when changing the shown content type (browse, latest, filters) or when changing the filters.

Regression introduced with aab3e25031
2024-04-16 02:49:08 +02:00
schroda
8178574815 Fix/remove deprecated routes (#747)
* Route to "/" in case path is unknown

* Remove deprecated routes

"sources" and "extensions" were merged into "browse" but the routes were never removed, thus, the paths still matched and opened the components
2024-04-14 18:08:15 +02:00