Commit Graph

478 Commits

Author SHA1 Message Date
schroda
ea6eac5066 Consider tracker logged out if token is expired
Server returns logged in state for a tracker even while the token has expired
2024-05-22 23:24:05 +02:00
schroda
871908eba9 Always show vertical scrollbar on "body" instead of "html" element
Due to setting the html elements "y overflow" to "auto" after a manga grid got unmounted (d21521625b), MUIs "scroll lock" of "modals" was broken in the reader.

For some reason the scrollbar does not get locked and instead, due to the added padding, the pages jumped slightly upward.

MUI uses the "body" element to lock the scrollbar, and thus, using this element as well instead of "html" fixes this problem, since the manually set "overflow" value gets overwritten by MUI and thus, won't mess with its logic.
2024-05-22 23:06:17 +02:00
schroda
d21521625b Always show vertical scrollbar while manga grid is rendered
To prevent jittering (https://github.com/Suwayomi/Suwayomi-WebUI/issues/758) caused by react-virtuoso
2024-05-20 17:44:27 +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
ca747b383e Show chapter title in Reader chapter select 2024-05-13 03:40:45 +02:00
schroda
d726793e3d Sanitize tracker summaries
The summaries can include invalid html tags which caused issues when trying to render them since these tags do not exist.

Known issue:
The invalid tags will get escaped, however, when they include a space (e.g. "<Author's Notes>" everything after the space is missing (e.g. will be "<Author's>")
2024-05-13 03:28:46 +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
9baa04803d Always show unread and download badges in library duplicates page 2024-05-08 19:16:41 +02:00
schroda
23ea896524 Show "ContinueReadButton" on in library 2024-05-08 19:16:41 +02:00
schroda
06817e3478 Prevent updated version info dialog on initial open 2024-05-08 13:50:27 +02:00
schroda
5cb541b684 Add functionality to save source browse searches 2024-05-08 13:45:56 +02:00
schroda
93f76d6b7e Reduce active apollo queries 2024-05-08 13:45:42 +02:00
schroda
f2be29ea3a Show search tips for MyAnimeList 2024-05-07 14:42:02 +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
6b955ef705 Fix lint issue 2024-05-05 02:32:24 +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
df66e180d8 Add setting to show duplicated library entries 2024-05-04 15:41:21 +02:00
schroda
297ecd8b52 Add option to highlight specific button in ConfirmDialog 2024-05-04 14:50:27 +02:00
schroda
f66051d398 Check for duplicated library manga on add to library 2024-05-04 14:43:41 +02:00
schroda
c29173681f Reduce code duplication for Library filtering and sorting 2024-05-03 17:01:04 +02:00
schroda
3efb2662de Correctly sort library by latest uploaded chapter 2024-05-03 16:40:13 +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
940949f832 Fix double page styling for rtl languages 2024-05-03 14:46:28 +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
e54a98001a Use browser language as dayjs locale 2024-05-02 22:14:34 +02:00
schroda
0f16429c14 Fix EmptyView styling 2024-04-29 16:22:46 +02:00
schroda
93e95c0a8f Show "no mangas found" message by default
The non-null assertion operator was incorrectly used since "message" could be potentially undefined
2024-04-29 15:39:43 +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
045c60c828 Prevent opening disabled NestedMenuItem 2024-04-29 01:06:22 +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
b90f84ee11 Prevent triggering load more requests while loading 2024-04-26 22:19:29 +02:00
schroda
09bf1163fa Remove logging of image request failures 2024-04-26 17:29:58 +02:00
schroda
741489ad49 Adjust missed styling for rtl direction 2024-04-26 13:00:45 +02:00
schroda
1626771e92 Apply rtl styling for rtl languages 2024-04-25 19:27:59 +02:00