Commit Graph
568 Commits
Author SHA1 Message Date
schroda a6976d4513 Show manga description only if available 2024-09-09 14:55:59 +02:00
schroda 74944407f7 Use "notistack" to display toasts 2024-09-07 01:27:07 +02:00
schroda 4662a9175f Always use calculated scrollbar size 2024-09-06 23:50:38 +02:00
schroda d9777c179a Extract function to get scrollbar size 2024-09-06 23:43:38 +02:00
schroda 02edc7cd4e Add missing key to manga genre list 2024-09-06 23:36:29 +02:00
schroda 99c7614b7b Set scrollbar height 2024-09-06 23:32:42 +02:00
schroda 290f031479 Adjust comfortable manga grids title color while selected 2024-09-06 23:08:01 +02:00
schroda 12d12ccc48 Use custom themes 2024-09-05 21:57:15 +02:00
BrutuZandschroda 9b4ddf34da Fix overflow on Continuous Horizontal view (#793)
* Fix overflow on Continuous Horizontal view

* Calculate scrollbar size instead of rem

* Switch to ResizeObserver

* Observe Scrollbar Height on Reader

* Remove extraneous bracket

Silly mistake

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2024-09-05 05:11:41 +02:00
schroda 97b4befbb1 Add themes 2024-09-05 04:49:51 +02:00
schroda 1444d51ed2 Add pure black mode option 2024-09-05 04:49:48 +02:00
schroda ba2ce37468 Add option to select system theme 2024-09-05 04:49:48 +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 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 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 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 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 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 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 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 82bb1d7230 Handle track binding refresh mutation error
Promise rejection was never properly handled
2024-08-05 16:07:18 +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 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 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 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 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