Commit Graph
100 Commits
Author SHA1 Message Date
schroda 378c97aa1b Update reader open settings button styling
Use dark/white color and transparency to make the button not standout as much
2024-09-04 22:39:19 +02:00
schroda 2f715a1974 Add padding to browse "inLibrary" indicator 2024-09-04 18:03:59 +02:00
schroda d1d37c8516 Update mui dependencies 2024-09-04 00:06:16 +02:00
schroda 161a2bb657 Update dependencies 2024-09-03 17:12:38 +02:00
schroda 274c4c6489 Add server log file rotation settings 2024-09-03 16:30:31 +02:00
schroda fe8043c232 Prevent manga page description from jumping on initial render
Due to using the resize observer to get the actual chapter list header size, the size is 0 initially, which caused the virtuoso list height to be too big, causing an overflow and the scrollbar to appear.
This scrollbar immediately disappeared again but still caused the description to slightly "jump"
2024-09-01 01:39:59 +02:00
schroda 395092099a [SKIP CI][Tooling] Update translation changelog script
Weblate changed the language names of chinese simplified and traditional to include "Han script".
This messed up the updated language detection
2024-09-01 01:19:11 +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 05bdcf3905 Center manga page thumbnail loading placeholder 2024-09-01 00:42:24 +02:00
schroda 716f1df073 Update tracker components styling 2024-09-01 00:28:18 +02:00
schroda c5f83cec53 Update reader nav bar styling 2024-09-01 00:19:28 +02:00
schroda 1414f2f103 Make font sizes responsive 2024-09-01 00:19:28 +02:00
schroda 2430f84837 Update categories settings cards styling 2024-09-01 00:19:27 +02:00
schroda 08ccf1c33d Update download queue styling 2024-09-01 00:19:27 +02:00
schroda 95a687ae37 Update updates page styling 2024-09-01 00:19:26 +02:00
schroda 0c6c9e5ab4 Update list group headers styling 2024-09-01 00:19:26 +02:00
schroda 86f4e895b1 Update migration card styling 2024-09-01 00:19:25 +02:00
schroda f05f761f74 Update extension card styling 2024-09-01 00:19:25 +02:00
schroda 4aed3ffa78 Update source card styling 2024-09-01 00:19:24 +02:00
schroda 299d3c111c Update manga cards styling 2024-09-01 00:19:24 +02:00
schroda 37d6f35604 Update manga page chapter list styling 2024-08-31 23:43:29 +02:00
schroda bf8aecfc42 Properly update chapter list window scroll
Once the window scroller was set, resizing the window to increase the width did not remove the window scroller again
2024-08-31 23:43:06 +02:00
schroda 825fd46ed4 Option to open manga page thumbnail fullscreen 2024-08-31 23:43:04 +02:00
schroda 30c60c8954 Make manga page description collapsable 2024-08-31 23:42:08 +02:00
schroda 053db4a1e3 Update manga page styling 2024-08-31 23:41:39 +02:00
schroda 74d777a52b Calculate proper appbar width
The appbar width for the title and actions never considered the navbar width and thus, the actions were cut off on smaller screens
2024-08-30 00:31:59 +02:00
schroda 1699a942dc Sort duplicated library manga by title 2024-08-26 16:35:53 +02:00
schroda 08866ace3d Terminate gql subscription on server address change
Otherwise, the subscription is still active for the old server instead of connecting to the new server
2024-08-26 00:25:58 +02:00
schroda 114f9fd34f Always fetch chapter pages 2024-08-25 21:04:02 +02:00
schroda a688e184de [SKIP CI] Add feature list to readme 2024-08-18 22:55:13 +02:00
schroda 1cc06cb237 Update readme 2024-08-18 22:42:58 +02:00
schroda 054b9c33bc Cleanup library filter logic 2024-08-14 23:12:51 +02:00
schroda 431248d69a Cleanup library search logic 2024-08-14 23:00:11 +02:00
schroda 5bbde0edc6 Include artist, author and source name in library search 2024-08-14 22:58:22 +02:00
schroda 66e2bd47ea Include description in library search 2024-08-14 15:21:19 +02:00
schroda 49af42e1bc Improve string cleanup function
Replace special character with a space and reduce multiple spaces to one
2024-08-14 15:14:49 +02:00
schroda d2f68041cb Handle missing chapters when refreshing manga
The server throws an error in case the source returns an empty chapter list.
However, this is not an error and thus should not be handled as one
2024-08-14 14:49:54 +02:00
schroda 782148a10e Handle target manga without chapters on migration
The server throws an error in case the source returns an empty chapter list.
However, this is not an error and should not break/stop the migration
2024-08-14 14:49:53 +02:00
schroda d14255494d Always show continue read/resume button if unread chapter available 2024-08-14 14:29:47 +02:00
schroda af44421838 Improve library search
Simplify searching by making matching logic less strict.

- do not require full match
- additionally compare by removing all non letter and number chars
2024-08-14 14:15:19 +02:00
schroda 3b353bd086 Update dependencies 2024-08-05 16:07:20 +02:00
schroda 986d071bc8 Properly update existing global meta after mutation
"existingMetas" was incorrectly iterated over which caused an error in case the mutated meta did not exist prior to the mutation
2024-08-05 16:07:19 +02:00
schroda 49f1ad804f Handle missing mutation failures 2024-08-05 16:07:19 +02:00
schroda 82bb1d7230 Handle track binding refresh mutation error
Promise rejection was never properly handled
2024-08-05 16:07:18 +02:00
schroda 8ff67a38f0 Combine manga and category migration 2024-08-05 16:07:18 +02:00
schroda 4a01b1873c Change order of update manga migration
This prevents issues of manga having a specific library state while they are incorrectly in or not in categories.

E.g. a manga was removed from the library but the category update mutation failed, which now causes it to still be in the set categories while not being in the library anymore
2024-08-05 16:07:17 +02:00
schroda a29c113b5f Migrate manga only after "copy" succeeded
In case the manga should not only be copied but actually migrated, the "migration" actions should only be executed in case the copy actions have succeeded.
2024-08-05 16:07:16 +02:00
schroda 17c5780203 Await track migration mutation request 2024-08-05 16:07:16 +02:00
schroda 6664efb48e Add new languages to resources 2024-08-05 16:07:15 +02:00
schroda b80622cb17 Prevent grid items from jumping after closing reader
Due to the reader and the "default" nav bar updating the same navbar width in the context, the grid item width calculation resulted in different grid item widths, which caused the items to "jump" after closing the reader
2024-07-29 17:24:37 +02:00
schroda b17fcd30af Replace deprecated gql sort inputs
Was missed in e1e2cbc679 and caused unexpected behaviour due to the response data being incorrectly sorted
2024-07-29 14:10:37 +02:00
schroda e99ed3eec5 Add "has duplicate chapters" library filter
closes #777
2024-07-28 23:15:11 +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 792bbe4563 Add new FlareSolverr "response fallback" setting 2024-07-28 22:50:27 +02:00
schroda 3065e80b36 Properly sort chapters of same manga in updates
In case chapters of the same manga had been fetched at the same time, they were sorted by their source order ascending instead of descending, which caused the newest chapter of that manga to be farther down instead of being the first
2024-07-28 22:29:01 +02:00
schroda e1e2cbc679 Use new gql sort options 2024-07-28 22:21:11 +02:00
schroda cdcf69a3a2 Fetch manga chapter infos on chapter list refresh
In case an uninitialized manga was opened from the library, the manga and its chapter list got refreshed.
However, the chapter infos (e.g. unread, downloaded count, etc.) were not requested with the chapter list mutation, which resulted in this information to be missing
2024-07-26 13:45:17 +02:00
schroda 3fa96dfb8d Show continue read button only when chapters are available
Manga can be added to the library while they have not been initialized yet.
Thus, for these cases, the reader is broken in case it gets opened.
To prevent this, the continue read button should not be shown in the library
2024-07-26 13:44:02 +02:00
schroda bb8b9096ee Fix lint issue 2024-07-23 22:04:35 +02:00
schroda d2b80c2aea Properly update manga grid items width
After closing the Reader, the grid width changes weren't correctly detected and thus, the manga grid items shrank in size
2024-07-23 00:56:16 +02:00
schroda 01ab88af62 Add new languages to resources 2024-07-17 22:54:26 +02:00
schroda c770505021 Fix height calculation of app layout components
The height of the app bar was lost after opening and closing the reader because ref was already created but its current value changed.
However, the ResizeObserver was still observing the old element.

Updated other hook usages, which might cause the same issue, as well
2024-07-17 22:53:12 +02:00
schroda 77a7b8be4c Update dependencies 2024-07-17 22:53:11 +02:00
schroda 6e1a204c29 Include already detected duplicates for different title
Duplicates were ignored in case they were already detected before.
However, this did not work as intended and ignored valid duplicates in case they were already detected for a different title
2024-07-13 17:05:46 +02:00
schroda b9b105c236 List found duplicates by title first 2024-07-13 17:04:04 +02:00
schroda cc0a332f02 Improve duplicate detection by title
Some mangas might be the same but didn't get detected because they had different symbols (e.g. "'" instead of "`")
2024-07-13 15:54:43 +02:00
schroda d6ea0bbdf2 Remove fixed width of ReaderNavBar 2024-07-13 15:43:16 +02:00
schroda 847a5c68b2 Reset app bar height to 0 on unmount 2024-07-13 15:35:34 +02:00
schroda 5632c4584b Consider y-scrollbar when setting max-width
In case there was a y-scrollbar, the set max width caused the x-scrollbar to also appear
2024-07-13 13:01:33 +02:00
schroda fe8d87a536 Fix ExtensionCard on smaller screens
Due to the long repo urls which did not get broking down, the install/uninstall/... weren't visible depending on the screen size
2024-07-13 03:46:40 +02:00
schroda 40f4350cb8 Use new ResizeObserver hook 2024-07-13 03:46:39 +02:00
schroda f43b7af3cd Refactor base app layout 2024-07-13 03:46:37 +02:00
schroda 31837392b5 Remove default props usage 2024-07-11 18:13:51 +02:00
schroda 35ee359754 Remove "clientMutationId" 2024-07-11 18:09:47 +02:00
schroda 2f60b94a64 Get rid of some casts 2024-07-11 18:01:41 +02:00
schroda bc01a945db Fix download queue related TypeErrors
With the changes from df006bb348, the requested download queue data changed not matching the previously used type.
The unnecessary cast then hid the tsc issues during compilation
2024-07-11 18:01:39 +02:00
schroda f33b0d70ba Read only inLibrary manga property from cache
Changed to prevent same issue as in ab8cc918a7
2024-07-09 23:51:39 +02:00
schroda ab8cc918a7 Use correct fragment to read chapters from cache
The used fragment specified properties that were not in the cache, resulting in null being returned instead of the required chapter data
2024-07-09 23:50:51 +02:00
schroda 205c833b19 Add missing chapter fields to update subscription 2024-07-09 01:19:05 +02:00
schroda b70c404fb1 Move "Fragments" file into "fragments" folder 2024-07-09 00:41:14 +02:00
schroda c1e92b3256 Extract info gql fragments 2024-07-09 00:39:41 +02:00
schroda 50aae95700 Extract server settings gql fragments 2024-07-09 00:38:08 +02:00
schroda 3d21266f92 Reduce requested manga data in queries 2024-07-09 00:30:15 +02:00
schroda 4b30e9bc48 Reduce requested extension data in queries 2024-07-09 00:21:51 +02:00
schroda df006bb348 Reduce requested downloader data in queries 2024-07-09 00:21:51 +02:00
schroda cb978d9a0e Reduce requested updater data in queries 2024-07-09 00:21:50 +02:00
schroda 83be995fb8 Reduce requested tracker data in queries 2024-07-09 00:21:49 +02:00
schroda 7556ea9b38 Reduce requested source data in queries 2024-07-09 00:21:49 +02:00
schroda 2fa1de578c Reduce requested chapter data in queries 2024-07-09 00:21:46 +02:00
schroda 9b8ace003d Reduce requested category data in queries 2024-07-03 23:24:50 +02:00
schroda 03cfc9b80c Correctly detect multiple scanlators 2024-07-03 23:24:49 +02:00
schroda faf2bd2572 Uses correct extension gql key 2024-07-03 23:24:49 +02:00
schroda 149bc8ad0d Remove duplicated i18n strings 2024-07-03 23:24:48 +02:00
schroda ea102eceb6 Make chapter sort options typing more strict 2024-06-30 14:24:03 +02:00
schroda d1286c2779 Add more chapter list sort options
- by chapter number
- by upload date
2024-06-30 14:23:20 +02:00
schroda bff3c28730 Extract chapter sort into function 2024-06-30 14:22:50 +02:00
schroda 78c0efcd20 Sort chapter list by source order
Was incorrectly changed to chapter number with f52b634da1
2024-06-30 13:33:31 +02:00
schroda f52b634da1 Properly sort chapter list by chapter number
The sort order was switched and instead of ASC it was sorted DESC and vice versa.
This was caused because the server returned the list (most of the time) in ASC order by chapter number.

Additionally, the  list was overall never properly sorted by chapter number and only worked because the server (most of the time) returned it in the correct order by chapter number.
However, this is not guaranteed at all since the server sorts in ASC order by the chapter id by default
2024-06-28 11:19:17 +02:00