Commit Graph

1583 Commits

Author SHA1 Message Date
schroda
4f7a05f6fe Add bookmarked filter in library (#687) 2024-04-01 01:12:26 +02:00
schroda
fe2cb682b6 Use first unread chapter for continue read buttons (#689) 2024-04-01 00:57:47 +02:00
schroda
9674b18d28 Feature/tracking unbind use new mutation (#688)
* [Codegen] Update generated files

* Use new "unbindTrack" mutation

* Add option to delete remote track on unbind

* [VersionMapping] Require server version "r1510" for preview
2024-04-01 00:45:44 +02:00
schroda
8d265f1ddf Install dependencies from lock file in github actions (#686) 2024-03-31 23:36:39 +02:00
schroda
dc1a6cbd16 Feature/update dependencies (#685)
* Update dependencies

* Add missing "graphql" peer dependency
2024-03-31 23:34:40 +02:00
schroda
25b7d149ba Refetch GET_MANGAS query on track unbind mutation (#684)
GET_CATEGORY_MANGAS is only used for the default category
2024-03-31 17:23:52 +02:00
schroda
d59f90f787 Consider track filters for library filtered out message (#683) 2024-03-30 16:07:29 +01:00
schroda
21acbd5f48 Fix/tracking updating score (#682)
* Use SelectSetting for updating track score

* Create custom Select component
2024-03-29 18:57:52 +01:00
schroda
374e71f521 Highlight library filter icon as active for tracker filter (#681) 2024-03-29 16:55:07 +01:00
schroda
fa1169337f Fix/manga track binding card styling (#680)
* Fix missing box shadow of active tracker card

Due to missing side paddings the box shadow wasn't visible

* Extract tracker card styling

* Prevent breaking title when selecting manga

* Limit max lines of titles
2024-03-29 16:54:53 +01:00
schroda
74f945dd59 Use correct translation key (#679) 2024-03-29 00:51:14 +01:00
schroda
74cf4b7c50 Add option to use img tag to fetch images
MangaUpdates covers could not be fetched via the fetch api because there were cors issues
2024-03-29 00:45:38 +01:00
schroda
816cbee145 Add library filter for trackers 2024-03-29 00:45:38 +01:00
schroda
511b1f7c5e Specify type of custom scalars 2024-03-29 00:45:38 +01:00
schroda
7990ffda71 Add track action to manga action menu in library 2024-03-29 00:45:38 +01:00
schroda
5dbf1ce30c Implement showing/updating/removing tracker bindings 2024-03-29 00:45:38 +01:00
schroda
66c57a542b Implement binding manga to tracker 2024-03-29 00:45:38 +01:00
schroda
f913f5ec32 Show image placeholder
Instead of trying to load invalid url
2024-03-29 00:45:38 +01:00
schroda
21eda17bc1 Add "SearchTextField" 2024-03-29 00:45:38 +01:00
schroda
d22bfaa55c Implement tracker login and logout 2024-03-29 00:45:38 +01:00
schroda
daa3426754 Add "PasswordTextField" 2024-03-29 00:45:38 +01:00
schroda
23c353d52e Prevent fragment inside MUI Menu (#678) 2024-03-29 00:15:31 +01:00
schroda
1b81e1e824 Fix/manga details buttons (#677)
* Move button icon on top of text on small screens

* Fix colors of buttons

In case a manga is in the library all buttons were colored blue instead of only the library button.
Use white as default color since buttons can also be disabled and with a grey default color it's not easy to tell if the button is disabled or not

* Remove wrapping "button" inside "a" tag
2024-03-29 00:15:03 +01:00
schroda
999c5954f3 Use correct chapter list for guard condition (#676)
In case of the "mark_prev_read" as read action, the passed chapter list was empty and thus the guard to exit early was incorrectly triggered
2024-03-27 21:11:41 +01:00
schroda
64ac49fa41 Support older browsers (#674) 2024-03-26 23:39:25 +01:00
schroda
6fc70121c6 Fix/manually deleting chapter ignores bookmark (#675)
* Rename "Chapters::isAutoDeletable" to "isDeletable"

* Rename "Chapters::getAutoDeletable" to "getDeletable"

* Prevent manually deleting bookmarked chapters unless allowed
2024-03-26 23:39:04 +01:00
schroda
06b2bca340 Add prioritization to image requests (#671)
In the reader the preloaded page requests were triggered before the actual page got rendered and thus, the image request of the rendered page had to wait for all the preloaded images to finish
2024-03-24 19:08:36 +01:00
schroda
34aeac9c33 Preload pages in single page mode (#670) 2024-03-24 15:05:31 +01:00
schroda
1d49945caa Fix check for fetch abortion error (#668) 2024-03-24 15:03:29 +01:00
schroda
a96038bcb7 Prevent image loading placeholder for cached images (#669)
Give the image time to get loaded from the cache before setting the loading state
2024-03-24 15:03:20 +01:00
schroda
6186cb0ea3 Optionally hide library manga when browsing source (#665) 2024-03-23 23:44:46 +01:00
schroda
66d6c95dfd Feature/automatically load more pages until scrollbar is visible (#667)
* Rename "grifRed" to "gridWrapperRef"

* Automatically fetch more pages until scrollbar is visible
2024-03-23 23:34:33 +01:00
schroda
83635faf95 Cache first page of source manga fetch response (#666) 2024-03-23 23:34:20 +01:00
schroda
452ac4fd9a Properly disable open source button in manga page (#663) 2024-03-22 03:33:19 +01:00
schroda
0ad08360a2 Remove image url port replacement (#664)
This was unintentionally added
2024-03-22 03:33:09 +01:00
schroda
bee4d4aab8 [ESLint] Enable caching (#661) 2024-03-19 22:46:39 +01:00
schroda
0c1abebaf4 Disconnect resize observer after restoring initial page (#660)
Everytime the reader width got changed, the resize observer triggered the initial page to get scrolled into view again
2024-03-19 22:46:31 +01:00
Chance Zibolski
0bf88d3fd1 Update reader width live when updating in reader view (#581)
Basically, instead of updating the width of the image after clicking
`ok`, the width is adjusted live, which makes it easier to figure out
the right value for the manga being viewed.

While implementing this, I realized we can't update the backend every
time we re-render when `liveUpdate` is true, so I've updated the logic
for persisting settings to support skipping the API call to save the
settings in the backend, and only perform the API it when the user
clicks ok on the number setting.

Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
2024-03-18 18:35:35 +01:00
schroda
0c22a9012e Feature/cleanup metadata related logic (#657)
* Remove unnecessary parameter from "requestUpdateServerMetadata"

* Streamline updating metadata server settings

* Move metadata related logic
2024-03-16 16:21:15 +01:00
schroda
aea5dad0ce Remember last used migration flags (#656) 2024-03-16 14:02:54 +01:00
schroda
318c4a5040 Add option to delete downloaded chapters on migration (#655) 2024-03-16 13:45:54 +01:00
schroda
31d53ed182 Remove search page from the history after migrating (#654) 2024-03-16 13:45:47 +01:00
schroda
c005316f56 Feature/update iso languages (#652)
* Extract iso language list to new file

* Update iso language list

* Add function to get full iso language object

* Change i18n resource key of "Norwegian Bokmål"
2024-03-09 02:52:34 +01:00
schroda
eede189eec Fix/build push master workflow (#651) 2024-03-09 02:11:08 +01:00
schroda
5e6c1c1c1b Add new languages to resources (#650) 2024-03-09 01:56:13 +01:00
Hosted Weblate
f6f1993928 Translations update from Hosted Weblate
Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Portuguese)

Portuguese: currently translated at 23.6% (96 of 406 strings)

Translations update from Hosted Weblate

Translated using Weblate (Ukrainian)

Ukrainian: currently translated at 100.0% (406 of 406 strings)

Translations update from Hosted Weblate

Translated using Weblate (Norwegian Bokmål)

Norwegian Bokmål: currently translated at 2.4% (10 of 406 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (406 of 406 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (406 of 406 strings)

Translations update from Hosted Weblate

Added translation using Weblate (Norwegian Bokmål)

Translations update from Hosted Weblate

Translated using Weblate (Italian)

Italian: currently translated at 4.7% (19 of 401 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (401 of 401 strings)

Translations update from Hosted Weblate

Translated using Weblate (Swedish)

Swedish: currently translated at 3.9% (16 of 401 strings)

Translations update from Hosted Weblate

Translated using Weblate (Japanese)

Japanese: currently translated at 2.9% (12 of 401 strings)

Translations update from Hosted Weblate

Added translation using Weblate (Swedish)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 100.0% (401 of 401 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (401 of 401 strings)

Co-authored-by: Alexander <contact@sneaky.pink>
Co-authored-by: Danylo Gavrylenko <g.danylo228@gmail.com>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Francesco La Bianca <francesco.labianca3d@gmail.com>
Co-authored-by: Gabriel Severo <gabrielssevero@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kouki Kitamura <hackergaocn@outlook.com>
Co-authored-by: RintanBroadleaf <rintanbroadleaf@outlook.jp>
Co-authored-by: VR Kek <vrkekw88@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: guohuageng <guohuageng@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pt/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/sv/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2024-03-09 00:26:55 +01:00
schroda
2047d76ad9 Update workflow actions (#649)
* Update workflow actions

* Fix tsc issues
2024-03-09 00:24:48 +01:00
schroda
550c576725 Feature/update dependencies (#648)
* Update to node v20.11.1

* Update dependencies
2024-03-08 23:31:56 +01:00
schroda
2d1d889ef5 Run eslint on commit (#647) 2024-03-08 22:42:48 +01:00
schroda
ed74f7c851 Make remaining image requests abortable (#645) 2024-03-08 00:24:01 +01:00