Commit Graph

1986 Commits

Author SHA1 Message Date
schroda
dac19386ed Remove outdated translation keys
Implementation changed and they're no longer needed
2024-12-09 22:41:48 +01:00
schroda
f98b34de15 Add "disabled" tap zone layout 2024-12-09 19:09:01 +01:00
schroda
230e23484a Properly disable hotkey scopes for open reader settings 2024-12-09 17:14:59 +01:00
schroda
044aa23ad4 Fix lint issue 2024-12-09 16:26:03 +01:00
schroda
2cd5a970cc Add tooltips to reader desktop quick settings 2024-12-09 16:24:32 +01:00
schroda
9c5382ebd7 Support RTL mode for mouse drag inertia effect
Compared to LTR were the "scrollLeft" value is >= 0, for RTL it's <= 0 which was not handled and thus on applying the inertia effect, "scrollLeft" was always set to 0 due to preventing negative values
2024-12-09 16:12:37 +01:00
schroda
1387a016c7 Fix page changes via click/hotkey in horizontal pager
Due to the way the pages got scrolled into view, the current page was not changed to the new page.
This then prevented the previous/next page to get opened via click/hotkey actions
2024-12-09 15:07:52 +01:00
schroda
f654d95804 Fix click/scroll/hotkey open previous/next chapter
Properly handle all combinations of theme and reader reading directions
2024-12-09 15:06:11 +01:00
schroda
3839b438eb Always show overlay on mount
There were cases where the overlay got closed instead of opened on the first mount
2024-12-09 13:25:20 +01:00
schroda
b9313fe168 Prevent invalid page request
The page of the default state was rendered which caused a request to the base url (e.g. http://localhost:4567).
2024-12-09 13:25:20 +01:00
schroda
107bbfddbb Reset state on unmount
Prevent TypeErrors due to invalid previous state
2024-12-09 13:25:19 +01:00
schroda
0e3b629287 Fix open page per click in RTL mode
The action to perform which gets determined on a tap zone click is always in the correct direction, thus, the direction for the "openPage" call has to be forced to be "LTR" to prevent inverting the direction
2024-12-09 03:11:45 +01:00
schroda
8491091b2b Fix click/hotkey scrolling
- properly handle theme direction and reading direction combination
- prevent opening previous/next chapter in non-continuous reading modes
2024-12-09 02:38:37 +01:00
schroda
be0d1dbf30 Add logic to retry all errored pages 2024-12-09 02:38:37 +01:00
schroda
da0004de4a Base reader component 2024-12-09 02:38:37 +01:00
schroda
5de5eb7cdc Hide cursor on mouse inactivity 2024-12-09 02:38:37 +01:00
schroda
965aa7215c Update chapter 2024-12-09 02:38:37 +01:00
schroda
916abd3bb1 Resume chapter at specific page
- open from outside reader
 - is read
  - yes: 1st page
  - no : last read page
- inside reader via
 - chapter selection: first page
 - previous chapter : last page
 - next chapter     : first page
2024-12-09 02:38:37 +01:00
schroda
206c216093 Add mouse drag scrolling to continuous pagers 2024-12-09 02:38:37 +01:00
schroda
fb31a92cd7 Reader transition page 2024-12-09 02:38:37 +01:00
schroda
7cf78e771a Reader page rendering 2024-12-09 02:38:37 +01:00
schroda
0b1c67ce9f Reader hotkeys 2024-12-09 02:38:37 +01:00
schroda
0ae9d9ebb2 Custom reader profiles 2024-12-09 02:38:37 +01:00
schroda
0855fbcf23 Reader custom color filter 2024-12-09 02:38:37 +01:00
schroda
a607f7f368 Reader settings 2024-12-09 02:38:37 +01:00
schroda
9c57ace973 Reader Overlay 2024-12-09 02:38:37 +01:00
schroda
78e2b42136 Reader overlay page number 2024-12-09 02:38:37 +01:00
schroda
56684e405c Reader overlay desktop nav bar 2024-12-09 02:38:37 +01:00
schroda
671059c65c Reader overlay mobile bottom bar 2024-12-09 02:38:37 +01:00
schroda
c1eb631422 Reader overlay mobile header 2024-12-09 02:38:37 +01:00
schroda
7434ed0152 Reader progress bars 2024-12-09 02:38:37 +01:00
schroda
51fb660c7b Reader tap zones 2024-12-09 02:38:37 +01:00
schroda
8e59763bba Delete deprecated reader files 2024-12-09 02:38:37 +01:00
schroda
484d6cdac4 Fix previous preview version mappings
Update ui versions to the latest compatible versions, they were pointing to the first version that updated the minimum server version while they needed to point to the previous commit of the commit that changed the minimum server version to a higher version.

Updated ui versions that pointed to non-existing revisions.
Multiple commits at once were pushed to the master which caused the revision of the mapping update commit to not be a release
2024-12-09 02:38:37 +01:00
schroda
12e8939267 Prevent duplicated downloads in download queue
The mutation to add chapters to the download queue returns the current download queue.

Thus, the local queue already includes the new downloads and adding them blindly in the download subscription will cause them to be in the local queue twice.
2024-12-09 02:38:37 +01:00
schroda
b9ab13c7d2 Re-add older preview versions 2024-11-30 14:59:32 +01:00
schroda
50cb9570c1 Close "source configuration" dialogs on backdrop click and "esc" press 2024-11-28 12:38:47 +01:00
schroda
c6f7ebd7c2 Close "language select" dialog on backdrop click and "esc" press 2024-11-28 12:36:39 +01:00
schroda
069aa26a0f Close "category select" dialog on backdrop click and "esc" press 2024-11-28 12:36:20 +01:00
schroda
1e109e7d32 Remove deprecated "gqlDebugLogsEnabled" setting 2024-11-28 12:22:17 +01:00
schroda
0c02de5b92 Correctly get total library size
The total size was the sum of all categories, which could include duplicates, since manga can be in multiple categories.

This still will show an incorrect number, because server side there is the same issue with the "mangas" query including duplicates in the total count, however, once this is fixed, the correct count will be displayed
2024-11-28 12:20:36 +01:00
schroda
55dc1aa6a5 Show download progress only when started 2024-11-28 12:17:56 +01:00
schroda
a819d45489 Update to server download subscription changes 2024-11-28 12:17:55 +01:00
schroda
61ae717e9a Add new languages to resources 2024-11-27 22:02:26 +01:00
Hosted Weblate
e69d6ba435 Translations update from Hosted Weblate
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Felana <d.evangelion@gmail.com>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Leonardo de Macedo Sartorello <leo.sartorello98@gmail.com>
Co-authored-by: MK <raroger1975@gmail.com>
Co-authored-by: Malthe Hensberg <maltheh2003@gmail.com>
Co-authored-by: Meliodas Sama <walid.gibreal@gmail.com>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: aaron mo <991n1nd12@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Костин Ярослав (RikKos) <leb.yaroslav@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/da/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ko/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/nl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2024-11-27 21:57:49 +01:00
schroda
1d50edf1a1 Prioritize current reader page request 2024-11-13 15:47:04 +01:00
schroda
87ee1330d4 Prevent blinking on reader page switch on firefox
on firefox images are decoded async which causes a "flicker/blinking" when they're getting visible for the first time
this is an issue especially in the reader because pages that should not be shown are rendered but
not displayed, which then causes this issue once they get displayed
2024-11-13 15:47:03 +01:00
schroda
f9938edb75 Extract aborting image requests into function 2024-11-13 14:41:26 +01:00
schroda
30d2608216 Fix log file cleanup description 2024-11-12 19:47:58 +01:00
schroda
4b86428dc7 Limit max and min values of number setting textfield
Limits were passed through to the slider but were not applied to the text field
2024-11-09 20:42:29 +01:00