Commit Graph

1094 Commits

Author SHA1 Message Date
schroda
4157611d83 Feature/improve typing of metadata related logic (#268)
* Improve metadata typing

* Rename types

Still included the "I" prefix for interfaces

* Improve typing in setting util files
2023-04-22 11:34:19 +02:00
schroda
0a56a2f6d4 Extensions cleanup (#257)
* [Cleanup] Add enums and types

* Extract "default languages" from ISOLanguages

The "default languages" will also be translated depending on which language the user selected
2023-04-21 00:27:42 +02:00
schroda
c81189a9ed Fix/chapter mark as unread not resetting last page read (#282)
* [ChapterCard] Reset last page read to first page when changing chapters read status

The last page read was set to the second page instead of the first one

* [ChapterList] Reset last page read to first page when changing chapters read status

The "ChapterCard" and the "FAB" didn't have the same behaviour when marking a chapter as unread.
The "ChapterCard" also reset the last read page while the FAB only changed the read status.
2023-04-12 18:37:23 +02:00
schroda
22b3437dcd Keep "add category" fab position fixed (#283)
The button is supposed to stay in the bottom right corner at all times
2023-04-12 18:36:52 +02:00
schroda
d51150b784 Feature/reader skip duplicate chapters (#262)
* Skip duplicate chapters in the Reader

* Debounce "end of page" handling in the reader

* Update keyboard event listener

In case the "go" function changed, the listeners have to be updated
2023-04-05 13:37:12 +02:00
schroda
b1dc13cd30 Update browser and nav bar title on language change (#275) 2023-03-29 00:44:03 +03:30
Aria Moradi
92506ccf78 Revert "Translated using Weblate (Portuguese)"
This reverts commit 14d23c3d29.
2023-03-29 00:39:03 +03:30
Aria Moradi
31d3656697 Revert "Translated using Weblate (German)"
This reverts commit fe5edb1c4b.
2023-03-29 00:38:54 +03:30
Aria Moradi
14bdb6d9ac Revert "Translated using Weblate (Arabic)"
This reverts commit c34e55ce80.
2023-03-29 00:38:34 +03:30
Aria Moradi
2e14b71d18 Revert "Translated using Weblate (Spanish)"
This reverts commit f9e5e6cf7a.
2023-03-29 00:38:11 +03:30
Aria Moradi
ff79d9e964 Revert "Translated using Weblate (French)"
This reverts commit d04d33c658.
2023-03-29 00:37:59 +03:30
Aria Moradi
2050875d6f Merge pull request #274 from weblate/weblate-suwayomi-tachidesk-webui
Translations update from Hosted Weblate
2023-03-28 20:10:02 +03:30
Anonymous
d04d33c658 Translated using Weblate (French)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/
2023-03-28 18:38:44 +02:00
Anonymous
f9e5e6cf7a Translated using Weblate (Spanish)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/
2023-03-28 18:38:42 +02:00
Anonymous
c34e55ce80 Translated using Weblate (Arabic)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/
2023-03-28 18:38:40 +02:00
Anonymous
fe5edb1c4b Translated using Weblate (German)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-28 18:38:37 +02:00
Anonymous
14d23c3d29 Translated using Weblate (Portuguese)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/pt/
2023-03-28 18:38:34 +02:00
Hosted Weblate
43f367a546 Merge remote-tracking branch 'origin/master' 2023-03-28 18:36:36 +02:00
Aria Moradi
07c0e83f8f fix translation files (#273) 2023-03-28 20:06:26 +03:30
Weblate (bot)
6f75837b81 Translations update from Hosted Weblate (#272)
* Added translation using Weblate (German)

* Translated using Weblate (German)

Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

---------

Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
2023-03-28 19:56:26 +03:30
Aria Moradi
8497a0b12e add trnalation policy 2023-03-27 21:23:48 +03:30
Aria Moradi
aedbccf83e Translated using Weblate (German)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 19:42:46 +02:00
Aria Moradi
8fcbe29031 Added translation using Weblate (German) 2023-03-27 19:42:12 +02:00
Weblate (bot)
ffe0d5160d Translations update from Hosted Weblate (#270)
* Added translation using Weblate (Norwegian Bokmål)

* Translated using Weblate (French)

Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Deleted translation using Weblate (French)

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/nb_NO/

* Deleted translation using Weblate (Norwegian Bokmål)

* Added translation using Weblate (German)

* Added translation using Weblate (Arabic)

* Translated using Weblate (German)

Currently translated at 20.0% (1 of 5 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Added translation using Weblate (Spanish)

* Translated using Weblate (Arabic)

Currently translated at 11.1% (1 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Added translation using Weblate (French)

* Translated using Weblate (German)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (French)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Added translation using Weblate (Portuguese)

---------

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
Co-authored-by: Shippo <Shipox@users.noreply.hosted.weblate.org>
Co-authored-by: PedroJLR <jacobnchrono@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Zereef <rafael.v.veloso@proton.me>
2023-03-27 21:07:29 +03:30
Zereef
fdb44bb46b Added translation using Weblate (Portuguese) 2023-03-27 20:56:48 +03:30
J. Lavoie
42b80b439b Translated using Weblate (German)
Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 20:56:45 +03:30
J. Lavoie
c11a057a42 Added translation using Weblate (French) 2023-03-27 20:56:40 +03:30
Shippo
f71a29fa93 Translated using Weblate (Arabic)
Currently translated at 11.1% (1 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/
2023-03-27 20:56:37 +03:30
PedroJLR
dce6f5259f Added translation using Weblate (Spanish) 2023-03-27 20:56:18 +03:30
Aria Moradi
ce06220b9c Translated using Weblate (German)
Currently translated at 20.0% (1 of 5 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 20:56:16 +03:30
Shippo
75e0215881 Added translation using Weblate (Arabic) 2023-03-27 20:56:01 +03:30
Aria Moradi
70511aa1c8 Added translation using Weblate (German) 2023-03-27 20:55:59 +03:30
Aria Moradi
52b08cfeb1 Deleted translation using Weblate (Norwegian Bokmål) 2023-03-27 20:55:51 +03:30
Allan Nordhøy
226a0cc249 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/nb_NO/
2023-03-27 20:55:51 +03:30
Aria Moradi
9fef2bf488 Translated using Weblate (French)
Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/
2023-03-27 20:55:47 +03:30
Allan Nordhøy
0126cd266b Added translation using Weblate (Norwegian Bokmål) 2023-03-27 20:54:57 +03:30
Yon
16c0f854fe Fix discord and github links (#267) 2023-03-25 22:05:25 +03:30
schroda
39780df0e0 add language selection to settings (#260)
* Add language selection to settings

* Add available languages to i18n
2023-03-25 22:04:05 +03:30
schroda
d58bd6cd92 add translation keys (#246)
* Fix i18n tsc issue

"t" can return null by default.
This was already disabled in the config, but it had no effect on tsc.

* Fix translation in "DefaultNavBar"

key was missing and since this is a constant the translation wouldn't update in case the language got changed after first load.

* Enable typing for i18n translation keys

* Add translation keys
2023-03-23 16:29:32 +03:30
schroda
8c129f2e08 Disable "SSR" option in "useMediaQuery" (#263)
"useMediaQuery" renders once with default values and only on the second render with the resolved values.

Thus, "lastPageNum" can potentially get initialized with the value for small/medium screens instead for large screens.
2023-03-16 20:30:02 +03:30
schroda
8cd1afd2c7 Ignore filters only while searching (#256)
In case the "ignoreFilters" flag was set to true and the search string was empty/undefined all mangas of the category were visible, ignoring the set filters.
2023-03-11 21:42:43 +03:30
schroda
57c8ee2cdc Add build step to pr workflow (#259)
Prevents PRs that break building from getting merged
2023-03-11 21:42:07 +03:30
schroda
398626250e Remove console log (#258)
#255 accidentally added a console log which caused the build to fail
2023-03-11 21:38:31 +03:30
schroda
23001a4298 update react scripts dependency (#255)
* Move "dependencies" close to "devDependencies"

Makes it easier to have a quick overview

* Upgrade "react-scripts" to latest version

With new versions of node (> v16) the build scripts fails with the following error "error:0308010C:digital envelope routines::unsupported"

* Upgrade "react-scripts" to v5 - Fix import

* Upgrade "eslint" dependencies

The latest version of "react-scripts" uses eslint v8 causing the following error "... ERROR in Plugin "react" was conflicted between ".eslintrc.js" >> eslint-config-airbnb ..."

* Upgrade "eslint" dependencies - Allow nested components as props

* Upgrade "eslint" dependencies - Fix lint issues
2023-03-11 20:35:58 +03:30
akabhirav
91e7bd2b27 Added sort by last read (#254) 2023-03-05 10:26:50 +03:30
akabhirav
e32078917d Replace Sort by ID with Date Added (#253) 2023-03-04 20:21:39 +03:30
akabhirav
a67370be62 Introduce override filters while searching setting (#242)
* Introduced override filters while searching setting

* update branch; change strings and method names

* fix eslint issue

* code review changes

* moved search setting types into its own type

---------

Co-authored-by: akxer <>
2023-03-04 20:21:24 +03:30
schroda
dcc18bba00 extension card cleanup (#252)
* [Cleanup] Use enums for extension "InstalledState"

* [Cleanup] Reduce code duplication
2023-03-03 17:51:11 +03:30
schroda
9625436518 get first unread chapter from original chapter list (#250)
The first unread chapter was retrieved from the filtered and sorted chapter list, which could result in e.g. incorrectly recognizing the latest released chapter as the first unread chapter.

Ideally the server would return the manga with its last read chapter, but this is currently not available.
2023-03-03 13:09:11 +03:30
schroda
c6257acdf1 Show empty library in case search doesn't match anything (#251)
* Show empty library in case search doesn't match anything

In case the search didn't match anything all mangas where shown instead of an empty library.

* Rename filter manga function parameter and variable

Makes it easier to read
2023-03-01 22:08:12 +03:30