Commit Graph

2645 Commits

Author SHA1 Message Date
schroda
5d52fc4455 Inherit color for missed icon buttons 2025-01-26 03:26:24 +01:00
schroda
b7fc1ae6ff Extract theme context logic into its own provider 2025-01-25 19:22:24 +01:00
schroda
ce6722d584 Male library "grid layout" setting global 2025-01-25 00:12:56 +01:00
schroda
b60b799649 Fix auto webtoon mode detection
E.g. in case the entry has a tag "Webtoons" this never triggered the auto webtoon mode due to "Webtoons" not being in string "webtoon".
2025-01-23 20:46:42 +01:00
schroda
b67c9c4e44 Fix reader chapter transition page positioning in double page mode
Regression 649a17c2ae
2025-01-23 20:36:19 +01:00
schroda
e5b9767daa Fix page width with static nav bar
Regression 7fad96dab7
2025-01-23 14:10:13 +01:00
schroda
c42e51b6f9 Infer server port only in dev env 2025-01-23 13:15:08 +01:00
schroda
2cfbaf8148 Use "useNavBarContext" hook everywhere 2025-01-23 13:15:06 +01:00
schroda
480eaf5a08 Extract app page history from nav bar context 2025-01-23 13:14:58 +01:00
schroda
9b883a5170 Fix chapter list range selection 2025-01-21 19:23:11 +01:00
schroda
c47889c2e3 Extract reader pages context default values 2025-01-21 19:19:31 +01:00
schroda
eeb811bf2d Handle flex "column-reverse" for mouse drag scrolling inertia 2025-01-21 19:19:29 +01:00
schroda
18a46c0a28 Handle flex "row-reverse" for mouse drag scrolling inertia 2025-01-21 19:19:28 +01:00
schroda
649a17c2ae Move "ReaderTransitionPage" to "ReaderViewer" 2025-01-21 19:19:27 +01:00
schroda
db7aad58ec Convert reader image placeholder styling to vw/vh 2025-01-21 19:19:25 +01:00
schroda
7fad96dab7 Convert reader image styling to vw/vh
Preparation for infinite scroll, since there will be a wrapper which fits its content in width and height, thus, percentage based dimension won't work anymore
2025-01-21 19:19:22 +01:00
schroda
da600bcdec Extract reader pages wrapper styling 2025-01-21 19:19:21 +01:00
schroda
ca1c95cdfe Show chapter transition warning for mobile progress bar open chapter buttons 2025-01-21 19:19:20 +01:00
schroda
b7cb245abc Rename "getImageWidthStyling" to "getReaderImageStyling" 2025-01-18 23:13:56 +01:00
schroda
7f649296b9 Extract logic from "Reader" into hooks 2025-01-18 22:41:54 +01:00
schroda
19f83d5237 Extract hooks from utils file 2025-01-18 22:07:59 +01:00
schroda
3d120429ac Only set chapter card icon button color in reader mode 2025-01-17 16:12:15 +01:00
schroda
8e1d9b3106 Change reader non-static nav bar icon 2025-01-17 01:38:19 +01:00
schroda
d95396ecb0 Consider reader nav bar width and scrollbars for auto scrollbar position 2025-01-17 01:26:09 +01:00
schroda
c227570b93 Fix closing desktop nav bar after change to none static 2025-01-17 01:26:08 +01:00
schroda
9ac1009e22 Properly update reader desktop nav bar download button
Did not update according to download updates due to not subscribing to the fragment changes

Regression 257c0c8e10
2025-01-17 01:26:07 +01:00
schroda
7818fb450d Fix text color of active chapter in chapter list of reader 2025-01-17 01:26:06 +01:00
schroda
5391bc256d Add "ying & yang" theme 2025-01-17 01:26:05 +01:00
schroda
f7b21b1d7f Update "tree frog green" theme 2025-01-17 01:26:04 +01:00
schroda
c36a0f8d02 Update "orange juice" theme 2025-01-17 01:26:03 +01:00
schroda
0b9697ec29 Update "minty miracles" theme 2025-01-17 01:26:01 +01:00
schroda
7da4dc7d39 Update "mountain sunset" theme 2025-01-17 01:26:00 +01:00
schroda
a161aa663c Update "rosegold" theme 2025-01-17 01:25:59 +01:00
schroda
254a8cb1a7 Update "lavender" theme 2025-01-17 01:25:58 +01:00
schroda
a22a4bf546 Switch to "colorSchemes" from "palette" API in mui theme
"colorSchemes" is the preferred api starting from mui v6
2025-01-17 01:25:55 +01:00
schroda
9255386b1c Properly check if chapter should be deleted after reading it
In case the current chapter should get deleted after reading it, it only worked in case it was already marked as read due to checking the read status from the chapter itself instead of the chapter update patch input
2025-01-16 14:19:18 +01:00
schroda
92f64ef009 Handle single page chapters for download ahead 2025-01-16 14:07:21 +01:00
schroda
22011d4d6d Support search by source id in library 2025-01-16 13:33:16 +01:00
schroda
a96bc2c1da Delete chapter when read even if already marked as read
ReaderControls#useUpdateCurrentPageIndex:
On a page change the chapter update needs to be always queued since the deletion of downloaded chapters while reading logic is in the "ReaderService#updateChapter" function.
Thus, when the update is prevented here, this logic would never get triggered.

ReaderService#useUpdateChapter:
In case the read status or lastPageRead of a chapter did not change, the update was not triggered.
However, there might still be chapter downloads that need to be de deleted, which was never handled in such a case.
2025-01-16 13:22:13 +01:00
schroda
ef08799fc0 Render filtered chapters in ChapterList
Regression 257c0c8e10
2025-01-16 12:25:24 +01:00
Jiayi Zhuang
4bf1ac2549 Fix incompatible between nvmrc and package.json (#862) 2025-01-14 12:57:56 +01:00
Jiayi Zhuang
40fafde097 Update manifest link to support HTTP basic auth (#860) 2025-01-13 17:21:14 +01:00
Hosted Weblate
bc42be1a56 Translations update from Hosted Weblate
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: mamotromico <mamotromico@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Co-authored-by: 정마니(https://hjm79.top) <hjm79723@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ko/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translation: Suwayomi/Suwayomi-WebUI
2025-01-13 04:10:18 +01:00
schroda
5683c07712 Prevent "migrate dialog" from closing
Due to the scrollbar disappearing the dimension of the manga grid items changed which caused them to get unmounted and re-rendered again.
This then caused the dialog to get closed since the dialog is rendered in the manga grid item component
2025-01-13 03:26:07 +01:00
schroda
898fc6614f Increase virtuoso grid viewport 2025-01-13 02:17:09 +01:00
schroda
74c61a5a29 Improve manga grid/list rendering 2025-01-13 01:29:40 +01:00
schroda
63a6cfcfb3 Add merge function for "DownloadStatus" "queue" field 2025-01-12 20:55:08 +01:00
schroda
e25aa98365 Do not update "download status" on "download updates"
For large download queues this makes the app unusable.

At the moment this is not needed anyway and once it is, it needs to be improved and only be done in the "download queue" page since the queue is only use there
2025-01-12 20:47:16 +01:00
schroda
7ed345cf87 Render "manga track dialog" only when opened 2025-01-12 20:28:24 +01:00
schroda
ba52e70dbb Improve "Updates" render performance 2025-01-12 20:28:23 +01:00