schroda 345fbcb5c7 Fix/apollo client spamming infinite requets on failure (#450)
* Remove abort controller by default from requests

Apollo client is, for whatever reason, considering it a new hook call when passing an abort controller to be passed to the actual request.
On request failures this then causes infinite requests due to it being a new hook call.

* Move side effect into useEffect

This was missed and started causing issues after the changes of 60429d9d98544e1e49a112aacf77bdbb831740ec.
Due to the changes, the component did not re-render unnecessarily which caused the component not to re-render with the fetched data

* Reset fetching initial pages state

The state was never reset, thus, in case of an error, the initial pages fetch was never triggered again
2023-11-11 23:42:58 +01:00
2021-08-08 04:45:35 +04:30
2023-06-05 00:58:21 +02:00
2023-10-27 20:19:04 +02:00
2023-10-27 20:23:00 +02:00
2023-06-05 00:58:21 +02:00
2023-09-29 00:37:46 +02:00
2023-08-14 21:43:18 +02:00
2023-10-27 20:19:04 +02:00
2023-06-05 00:58:21 +02:00
2021-08-18 05:34:00 +04:30
2023-02-13 20:31:25 +03:30
2023-10-27 20:19:04 +02:00
2023-11-04 23:11:40 +01:00

Hold up!

If you got here hoping to download Tachidesk-WebUI, go back and download Tachidesk-Server, Tachidesk-WebUI is distributed as an embedded web interface along with Tachidesk-Server.

Tachidesk-WebUI

WebUI doesn't have it's own Tachidesk distribution and is version locked by Tachidesk-Server, In other words the Tachidesk-WebUI distribution is actually the Tachidesk-Server distribution.

Online builds of WebUI of are always available here. Make sure to set your Tachidesk-Server hostname in Settings or you'll get infinite loading. Also note that its the latest revision of WebUI and might not work correctly if you connect to a stable build of Tachidesk-Server.

You can find minified builds of WebUI in Tachidesk-WebUI-preview

Contributing and Technical info

See CONTRIBUTING.md.

Translation

Feel free to translate the project on Weblate

Translation Progress Translation status

License

Copyright (C) Contributors to the Suwayomi project

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Description
Material You styled Suwayomi WebUI
Readme 26 MiB
Languages
TypeScript 99.9%