Commit Graph

96 Commits

Author SHA1 Message Date
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
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
74944407f7 Use "notistack" to display toasts 2024-09-07 01:27:07 +02:00
schroda
d1d37c8516 Update mui dependencies 2024-09-04 00:06:16 +02:00
schroda
2733c06fe1 Show server version updated info for first detected update
In case the server has never been updated yet, the info dialog was not opened after an update.
This was caused due to the current version always being undefined, since it was never written to the local storage
2024-09-01 01:00:21 +02:00
schroda
74113d4b7f Show webUI version updated info for first detected update
In case the webUI has never been updated yet, the info dialog was not opened after an update.
This was caused due to the current version always being undefined, since it was never written to the local storage
2024-09-01 01:00:21 +02:00
schroda
34095d4f12 Show missing image icon for missing manga thumbnail urls 2024-09-01 00:45:23 +02:00
schroda
81cb78a634 Prevent server updated info dialog from auto closing
In case the "dialog to inform about available server updates" was disabled, it also prevented the "dialog to inform that the server has been updated" from being visible.
2024-07-28 22:56:39 +02:00
schroda
31837392b5 Remove default props usage 2024-07-11 18:13:51 +02:00
schroda
c1e92b3256 Extract info gql fragments 2024-07-09 00:39:41 +02:00
schroda
f9b1d2bae2 Add option to stop global update 2024-06-26 13:25:43 +02:00
schroda
06817e3478 Prevent updated version info dialog on initial open 2024-05-08 13:50:27 +02:00
schroda
4f92a0130e Inform about server version updates 2024-05-07 01:35:19 +02:00
schroda
eb0ba0b6a8 Improve detection of updated webUI version
In case the webUI update status was reset from another device, other devices would not show an info that the webUI got updated
2024-05-07 01:34:10 +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
819d9bad66 Ignore available webUI update in case auto update is enabled
The available update info is only supposed to be shown in case the auto update is disabled, but instead, it was only shown in case auto update was enabled
2024-05-07 00:28:33 +02:00
schroda
cfde1371fc Add missing changelog button in webUI update info 2024-05-05 01:22:52 +02:00
schroda
648ac49354 Move "retry" button below error message 2024-05-05 00:51:41 +02:00
schroda
3a7c93ea06 Remove referrers from links 2024-05-04 23:54:33 +02:00
schroda
b892c93d7a Disable buttons while webUI updating 2024-05-04 22:48:06 +02:00
schroda
bbafe893de Extract version update info dialog into component 2024-05-03 14:46:05 +02:00
schroda
61b43b80af Merge version update close buttons into one 2024-05-03 01:48:12 +02:00
schroda
0f16429c14 Fix EmptyView styling 2024-04-29 16:22:46 +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
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
09bf1163fa Remove logging of image request failures 2024-04-26 17:29:58 +02:00
schroda
7ceb1af23e Prevent webUI update available dialog when auto update is enabled
The automatic webUI update checks were not triggered in case the auto update setting was disabled but it was still possible for the update info dialog to be shown
2024-04-23 18:19:20 +02:00
schroda
ebd84d5b20 Disable webUI update check when auto update is enabled 2024-04-21 16:17:04 +02:00
schroda
d5241009b6 Optionally ignore available server update
Makes it possible to never show the info dialog again for the available version update
2024-04-21 15:06:47 +02:00
schroda
9954341434 Remind about server update later on dialog close
Stop opening server update info dialog for one hour after the dialog was closed
2024-04-21 15:06:23 +02:00
schroda
f61ed31bd5 Globally inform about available webUI updates
In case the automatic webUI updates setting was disabled the user was never informed about available webUI updates
2024-04-21 15:03:25 +02:00
schroda
ad4f59f324 Extract automated update check into hook 2024-04-21 15:03:25 +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
7725673dd7 Move ServerUpdateChecker to "util" folder 2024-04-21 12:52:31 +02:00
schroda
18365a26c1 Update image when src url changes
When e.g. switching between 2 different manga pages, the thumbnail did not update because the img fetch was not triggered in case the src url changed
2024-04-21 00:04:00 +02:00
schroda
473e85a8ed Feature/use second level mui imports (#743)
* Require "Theme" to be passed to "SxProps"

Decreases typescript performance otherwise

* Disallow "top" and "third-level" MUI imports

* Exclude "node_modules" in tsconfig
2024-04-14 15:50:12 +02:00
schroda
9a738775f1 Fix/search bar search disappearing after submit (#728)
* Correctly update search string on location change

Regression introduced with aab3e25031

* Remove unnecessary usage of "useSessionStorage"

This did not add anything and made no sense
2024-04-10 23:46:08 +02:00
schroda
aab3e25031 Feature/improve restoring grid snapshots (#713)
* Update local storage functions

* Update local storage hooks

* Add session storage

* Improve storing virtuoso grid snapshot

* Use "useSyncExternalStore" for browser storage access

* Get rid of location replacements in "AppbarSearch"

Use session storage instead to prevent reloading the page all the time due to changing the location

* Get rid of location replacements in "SourceMangas"

Use session storage instead to prevent reloading the page all the time due to changing the location
2024-04-07 15:22:03 +02:00
schroda
74cf4b7c50 Add option to use img tag to fetch images
MangaUpdates covers could not be fetched via the fetch api because there were cors issues
2024-03-29 00:45:38 +01:00
schroda
f913f5ec32 Show image placeholder
Instead of trying to load invalid url
2024-03-29 00:45:38 +01:00
schroda
21eda17bc1 Add "SearchTextField" 2024-03-29 00:45:38 +01:00
schroda
06b2bca340 Add prioritization to image requests (#671)
In the reader the preloaded page requests were triggered before the actual page got rendered and thus, the image request of the rendered page had to wait for all the preloaded images to finish
2024-03-24 19:08:36 +01:00
schroda
1d49945caa Fix check for fetch abortion error (#668) 2024-03-24 15:03:29 +01:00
schroda
a96038bcb7 Prevent image loading placeholder for cached images (#669)
Give the image time to get loaded from the cache before setting the loading state
2024-03-24 15:03:20 +01:00
schroda
ed74f7c851 Make remaining image requests abortable (#645) 2024-03-08 00:24:01 +01:00
schroda
daf6b50249 Fix/deprioritize image requests (#638)
* Use "fetch" instead of "axios"

Axios does not support prioritizing requests

* Deprioritize image requests

The browser requests images (<img>) with low priority by default.
Due to switching to loading images via axios (f852ce70e7), the image requests had the same priority as other requests and thus blocked e.g. xhr requests
2024-03-05 02:07:05 +01:00