Commit Graph
100 Commits
Author SHA1 Message Date
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
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
schroda f88dda32a0 Properly handle double spread offset
There were cases were a page after a double spread page was rendered twice.

1: |  double spread page  |
2: |   page A  |  page B  |
3: |   page B  |  page C  |
2024-11-08 18:12:39 +01:00
schroda e90d705610 Add option to update all updatable extensions 2024-11-04 01:30:09 +01:00
schroda 63caf74e36 Extract "Extensions" types, constants, utils into separate files 2024-11-04 01:25:19 +01:00
schroda 71292a114a Rename "ExtensionState" enum to "ExtensionGroupState" 2024-11-04 01:17:56 +01:00
schroda e1a477feb0 Improve library duplicates detection performance
Parallelize by chunking the manga list and using sub workers
2024-11-04 00:11:02 +01:00
schroda 6d9045e93a Internationalize "default" device 2024-11-04 00:11:01 +01:00
schroda e71c4b7ef1 Cleanup deprecated metadata after migration
- delete deprecated metadata
- save applied migration id per metadata holder
2024-11-04 00:11:01 +01:00
schroda b22cec12b4 Memoize metadata hook data 2024-10-25 20:24:56 +02:00
schroda 050fbc794c Properly reset "app bar height" 2024-10-24 17:34:28 +02:00
schroda e416a141b0 Handle typography with more than 2 lines 2024-10-19 16:43:18 +02:00
schroda 64ac4a54fd Ignore reader when going back in app history
Navigation back through the apps back button should not open the reader again.
This is mostly a preparation for being able to open the manga page from the reader, regardless of if it was the previous page or not, in the future, in that case, the reader will be in the history stack and would be incorrectly opened through the back button
2024-10-19 16:43:15 +02:00
schroda 39dea49203 Get proper nav bar width
The drawer can potentially have a border, which would have been ignored, thus, detecting an incorrect width
2024-10-19 15:41:41 +02:00
schroda 68aea3403f Fetch latest track data from tracker only once
Everytime the data was updated, the array changed and triggered the useEffect again, resulting in another request to get the latest data from the tracker
2024-10-18 21:54:42 +02:00
schroda 03c1fe2172 Remove "downloading" text for active chapter downloads
Instead, just show the progress, even if it is 0%
2024-10-17 01:51:08 +02:00
schroda 0e8ddd4717 Prevent library duplicates logic from blocking UI 2024-10-16 19:44:05 +02:00
schroda 6d9740e994 Extract duplicate by title and alternative title logic into function 2024-10-16 19:44:04 +02:00
schroda 387adb78ca Use default value for undefined meta values 2024-10-16 19:44:04 +02:00
schroda c477911e25 Properly set virtuoso item keys 2024-10-16 19:44:03 +02:00
schroda 306e49d47e Adjust grouped list item padding 2024-10-13 23:12:48 +02:00
schroda 954195c24e Add button to copy manga title 2024-10-08 03:04:01 +02:00
schroda 97a62b037e Revert changes to husky file 2024-10-07 13:53:45 +02:00
schroda f704e5bc33 Move "Mangas.ts" types and constants to new files 2024-10-07 13:45:07 +02:00
schroda 03695b34be Rename "MangaCard.types" file 2024-10-07 13:45:07 +02:00
schroda d9b633900c Set static size for manga details page covers 2024-10-07 13:45:06 +02:00
schroda cd7ec05ce3 Fix retry of failed source searches
Regression introduced with 5aec8282cb (brain fart).
The abortRequest function changes everytime, thus the useEffect was triggered on every render...
2024-10-07 13:07:57 +02:00
schroda 5aec8282cb Properly abort source searches on query change 2024-10-06 16:39:13 +02:00
schroda e707e7b7da Handle track search error
Apollo fails to handle changes in the options context (e.g. abort controller) which causes the request to infinitely re-trigger on errors.

By not adding an abort controller, this gets prevented, however, it prevents the search to be aborted on e.g. changing the search string
2024-10-06 16:20:50 +02:00
schroda 6e9fdee0bb Handle source browse error 2024-10-06 16:15:01 +02:00
schroda 2916bfbe88 Prevent infinite renders during manga migration search
Regression introduced with 70f8e36b6e
2024-10-06 13:45:25 +02:00
schroda 84b9f8361d Fix RequestManager location
Was changed unintentionally
2024-10-06 13:45:22 +02:00
schroda e7e1fbbc4e Move more core logic to new folder 2024-10-06 00:16:41 +02:00
schroda babda1ea57 Move metadata files into new folder 2024-10-06 00:16:34 +02:00
schroda a16fef0aab Move setting files into new folder 2024-10-06 00:16:31 +02:00
schroda 57158d6abd Move backup files into new folder 2024-10-06 00:08:19 +02:00
schroda ec061e9854 Move updates files into new folder 2024-10-06 00:08:19 +02:00
schroda 92659184b2 Move global-search files into new folder 2024-10-06 00:08:18 +02:00
schroda 204d909b0e Move download files into new folder 2024-10-06 00:08:14 +02:00
schroda 3917d5b328 Move browse files into new folder 2024-10-06 00:07:51 +02:00
schroda 3244a6e3df Move device files into new folder 2024-10-06 00:01:51 +02:00
schroda c0eabf8865 Move navigation-bar files into new folder 2024-10-06 00:01:51 +02:00
schroda e466842c77 Move theme files into new folder 2024-10-05 23:35:25 +02:00
schroda d41e79ca78 Move app-update-checker files into new folder 2024-10-05 23:35:24 +02:00
schroda 946c852828 Move category files into new folder 2024-10-05 23:35:23 +02:00
schroda 17e42ae012 Move migration files into new folder 2024-10-05 23:35:22 +02:00
schroda 7cf3849911 Move tracker files into new folder 2024-10-05 23:35:21 +02:00
schroda a206b2c650 Move extension files into new folder 2024-10-05 23:35:19 +02:00
schroda 64629fd979 Move source files into new folder 2024-10-05 23:35:18 +02:00
schroda 79341b7817 Move reader files into new folder 2024-10-05 23:35:17 +02:00
schroda 91e1f01de5 Move library files into new folder 2024-10-05 23:35:16 +02:00
schroda abc40de47b Move collection files into new folder 2024-10-05 23:35:14 +02:00
schroda 18fc225d6c Move manga files into new folder 2024-10-05 23:35:13 +02:00
schroda cb731cefc0 Move chapter files into new folder 2024-10-05 23:35:11 +02:00
schroda 23a86a77f0 Move core files into new folder 2024-10-05 22:55:08 +02:00
schroda 996bb62888 Adjust ThemePreview selected/custom styling slightly
Align icons with horizontal top bar
2024-10-05 20:55:55 +02:00
schroda 5715980c31 Fix tsc issue 2024-10-05 20:55:54 +02:00
schroda f3d187dc2d Open last browse tab on back navigation 2024-09-30 05:41:06 +02:00
schroda f7e5388e2a Add ResizeObserver polyfill by juggle
Potential fix for older browsers
2024-09-30 05:03:28 +02:00
schroda 6ca16b9449 Add sort options to migration list 2024-09-30 05:03:28 +02:00
schroda c2fbf0253c Sort extensions by name in extensions page 2024-09-30 03:54:45 +02:00
schroda 02005b47f4 Sort sources by name in source page 2024-09-30 03:45:54 +02:00
schroda 82a4f101bd Properly sort languages 2024-09-30 03:45:37 +02:00
schroda b2abde638f Handle "local source" as source with language "other"
Same as in mihon
2024-09-30 03:45:21 +02:00
schroda da1a9d9e31 Internationalize missed "local source" occurences 2024-09-30 03:39:10 +02:00
schroda ff9f6b6207 Add hook to get value based on themes "direction"
In case the component didn't rerender on a language change, the used value was never updated based on the new "direction"
2024-09-30 02:55:34 +02:00
schroda df420710ae Add "shouldForwardProp" util function 2024-09-30 02:55:32 +02:00
schroda 8f4da52d1f Add optimistic response to server settings mutation 2024-09-26 15:34:00 +02:00
schroda 70f8e36b6e Use "useLayoutEffect" for setting title and actions 2024-09-26 15:33:22 +02:00
schroda c72cf9a0ab Add missing error message on settings change error 2024-09-26 14:00:26 +02:00
schroda 314ad39ee0 Show "Default" for unchanged server file paths 2024-09-26 14:00:25 +02:00
schroda 5a46f1fdef Remove manual preloading of single/double mode images
With the changes from 83ce1caee6 all pages are rendered and therefore also loaded

In case of the double page mode this caused the spread page detection to be delayed due to the manual preloaded images being at the end of the image queue and thus, causing the image to be already rendered while being unable to detect the spread status of the image
2024-09-23 15:08:49 +02:00
schroda 9ec0e1869d Handle cache update when creating new global metadata
Can't be handled exactly the same way as the other meta fields
2024-09-22 03:05:04 +02:00