Commit Graph

426 Commits

Author SHA1 Message Date
schroda
e909fc64fd Move "darkTheme" setting to "Appearance" page 2024-09-05 04:49:47 +02:00
schroda
517c3edcfe Remove top padding from setting lists 2024-09-05 04:49:46 +02:00
schroda
be471ba06b Update mui theme 2024-09-05 00:10:02 +02:00
schroda
d1d37c8516 Update mui dependencies 2024-09-04 00:06:16 +02:00
schroda
274c4c6489 Add server log file rotation settings 2024-09-03 16:30:31 +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
1699a942dc Sort duplicated library manga by title 2024-08-26 16:35:53 +02:00
schroda
114f9fd34f Always fetch chapter pages 2024-08-25 21:04:02 +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
49f1ad804f Handle missing mutation failures 2024-08-05 16:07:19 +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
792bbe4563 Add new FlareSolverr "response fallback" setting 2024-07-28 22:50:27 +02:00
schroda
bb8b9096ee Fix lint issue 2024-07-23 22:04:35 +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
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
f43b7af3cd Refactor base app layout 2024-07-13 03:46:37 +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
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
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
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
149bc8ad0d Remove duplicated i18n strings 2024-07-03 23:24:48 +02:00
schroda
dd6b0a1e44 Show error for chapter without pages 2024-06-27 15:10:10 +02:00
schroda
3206944052 Optionally trigger update for specific category 2024-06-26 12:42:03 +02:00
robo
26f0fefc0a Disable webUI settings for custom flavor only (#768) 2024-06-16 15:35:40 +02:00
schroda
6344c21261 Clear library selection after action 2024-06-13 12:17:02 +02:00
schroda
29d54384f5 Remove most "useSetDefaultBackTo" usage
In case the "depth" of the initial opened app page was greater than 2 it was possible to get stuck in a loop of using the back button twice from the initial page to the previous page and back to the initial page...

Instead, in case a page with a greater depth than 0 is opened, the library should just be opened when using the back button.

This way the back button actually behaves like it's intended, as an app back button and not like the browsers back button
2024-06-06 00:00:38 +02:00
schroda
19e326c8ad Allow partial response for Reader chapter update
It's possible that the "trackProgress" mutation of the "updateChapters" mutation fails, which then would lead to the "mark as read" and "delete chapter" mutation data to be omitted, thus, preventing the cache from being updated with the received mutation data response
2024-06-03 03:09:59 +02:00
schroda
fdf78145f0 [VersionMapping] Update to latest server gql schema changes
Server now supports partial mutation responses.
2024-06-03 03:09:58 +02:00
schroda
3492c103a7 Fix tsc issue of incorrect translation key 2024-05-24 14:04:19 +02:00
schroda
fee93c22eb Reduce padding of DownloadQueue items 2024-05-23 14:03:59 +02:00
schroda
cf996d67bb Add "isMobileWidth" util function 2024-05-23 02:37:40 +02:00
schroda
5cfa6d8445 Limit lines of chapter name of update cards 2024-05-22 23:28:56 +02:00
schroda
857b0204d3 Limit lines of manga title of update cards 2024-05-22 23:28:54 +02:00
schroda
e9ee43b9b4 Use "DayJs" instead of "Date" 2024-05-21 22:22:12 +02:00
schroda
c6b99478f3 Fix missing flaresolverr link
The spaces are important so that i18n correctly converts the translation to the actual text.

Regression introduced with 3a7c93ea06
2024-05-20 15:00:04 +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
a65ca228fe Keep initial opened chapter as duplicate reference
In case "skip duplicated chapters" is enabled and the next chapter is from a different scanlator, the initial opened chapter should still be used to remove duplicated chapters.

Otherwise, the original scanlator would get lost and the scanlator of the next chapter would get used, which was only a fallback chapter, because the initial chapters scanlator did not have a next chapter.
2024-05-13 04:04:41 +02:00
schroda
ca747b383e Show chapter title in Reader chapter select 2024-05-13 03:40:45 +02:00
schroda
c5d8b20528 Always allow clearing download queue
It's possible that the queue only contains a failed invalid (does not exist anymore in the database) chapter which then causes graphql errors.
In this case the queue was considered empty which prevented it from getting cleared.
Without being able to clear it, the error could not be fixed.
2024-05-13 01:38:29 +02:00