Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support type and Demographic on MangaListFilter #1061

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

davvarrr
Copy link
Collaborator

Yet another addition, I'm separating the requests so that I don't have to add everything at once.
For the type, I didn't use contentype, because it seems to me that it's linked to the tab on the app.

@@ -0,0 +1,10 @@
package org.koitharu.kotatsu.parsers.model

enum class Type {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's rename it something more specific, e.g. MangaType?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, because MangaType.Manga is duplicated
and logically manga refers to the type of Japanese work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but Type is a very generic and commonly used name:

изображение

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hum ok, go for MangaType, I can't think of any other name that would be clear to understand

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After that, I was thinking of a "BookType", but I'm not sure that's more relevant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an option we can merge this with a ContentType class and use this name

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's ideal, but you shouldn't add tabs to the App (especially for novel manhua, other ect).

@Koitharu Koitharu changed the base branch from master to feature/advanced_filter September 14, 2024 09:29
@Koitharu Koitharu merged commit 821e51f into feature/advanced_filter Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants