Skip to content

Edit basic Manga information - #398

Draft
Splintorien wants to merge 22 commits into
mihonapp:mainfrom
Splintorien:edit-manga-info
Draft

Edit basic Manga information#398
Splintorien wants to merge 22 commits into
mihonapp:mainfrom
Splintorien:edit-manga-info

Conversation

@Splintorien

Copy link
Copy Markdown
Contributor

Closes #5

@Splintorien Splintorien changed the title Edit basic Manga information (#5) Edit basic Manga information Feb 14, 2024
Comment thread app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt Outdated
@MajorTanya

Copy link
Copy Markdown
Member

Consider adding more fields, like “About”, “Author”, and “Artist” provided the code doesn’t get too complicated.

Author, Artist, and Description are in PR already, or are you asking for other fields beyond those?

@Xori71

Xori71 commented Feb 15, 2024

Copy link
Copy Markdown

Consider adding more fields, like “About”, “Author”, and “Artist” provided the code doesn’t get too complicated.

Author, Artist, and Description are in PR already, or are you asking for other fields beyond those?

Yeah, just saw it. I’m sleepy and I missed them before. I will delete the reply, my bad!

@Splintorien

Copy link
Copy Markdown
Contributor Author

Commit a745753 has a build error but I still pushed if anyone has an idea of why this is happening. I added a LEFT JOIN and some coalesce to give priority to the fields in the table mangas_edits, but there is an extra parameter of the Manga type that seems to be passed to the mapper

mihon/data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt:19:66 Type mismatch: inferred type is

KFunction22<Long, Long, String, String?, String?, String?, List<String>?, String, Long, String?, Boolean, Long?, Long?, Boolean, Long, Long, Long, Long, UpdateStrategy, Long, Long, Long?, Manga>

but (Long, String?, String?, String?, String, Long, String, List<String>?, Long, String?, Boolean, Long?, Long?, Boolean, Long, Long, Long, Long, UpdateStrategy, Long, Long, Long?) -> TypeVariable(T) was expected

@Syer10

Syer10 commented Feb 15, 2024

Copy link
Copy Markdown

Its not worth using coalesce since we would have to modify each and every database query. Take a look at how this fork does it(og field, edited field, and the standard field that takes the edited field when its not null).
https://github.com/jobobby04/TachiyomiSY/blob/master/domain/src/main/java/tachiyomi/domain/manga/model/Manga.kt

Also don't make it a new table, add the columns to the manga table. since there is only going to be 1 edit row per manga row.

@MajorTanya

Copy link
Copy Markdown
Member

I believe they're using a table because that's what AntsyLich suggested in the server

@Syer10

Syer10 commented Feb 15, 2024

Copy link
Copy Markdown

Its not worth using a table, it will just make it difficult in the long run. Columns are much easier to manage for info that needs to be attached directly to 1 object

@Splintorien
Splintorien marked this pull request as ready for review February 15, 2024 21:02
@Splintorien
Splintorien requested a review from Syer10 February 16, 2024 14:57
Comment thread app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt Outdated
Comment thread app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreen.kt Outdated
Comment thread data/src/main/java/tachiyomi/data/manga/MangaRepositoryImpl.kt Outdated
Comment thread app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt Outdated
Comment thread data/src/main/sqldelight/tachiyomi/data/mangas.sq Outdated
@Splintorien
Splintorien requested a review from Syer10 February 16, 2024 16:06
Comment thread app/src/main/java/eu/kanade/tachiyomi/data/backup/models/BackupManga.kt Outdated
@imkunet imkunet mentioned this pull request Feb 19, 2024
@alexandru0-dev

Copy link
Copy Markdown

Any update on this?
It would definitely need a rebase

@Norsze

Norsze commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

You are the update @alexandru0-dev , congrats you are the latest comment 🎉

@alexandru0-dev

Copy link
Copy Markdown

You are the update @alexandru0-dev , congrats you are the latest comment 🎉

Lmao, but I was serious
The PR is ~390 lines changed and it's 1y+ old
The feature seems requested as there are duplicated issues about this feature
Personally I think it is kinda a waste to let this PR die

I can rebase this PR if nobody is willing to do it, but I don't know Kotlin, so if there are requested changes I may not be able to solve them as wanted or at all

Are there any known blockers (excluding the rebase) ?

@Animeboynz

Copy link
Copy Markdown
Contributor

I can rebase this PR if nobody is willing to do it,

Bruh how do you plan on that, without write access to the authors branch 🤣
Just wait till people get around to it man, people have their own lives and can be busy

@alexandru0-dev

Copy link
Copy Markdown

Bruh how do you plan on that, without write access to the authors branch 🤣

Just creating a new PR from his patchset (?)

Just wait till people get around to it man, people have their own lives and can be busy

Ah for sure, I more than completely understand, as myself I'm the same shoes, and I don't want to pressure anyone
Simply I was simply implying if help is needed to progress this I would gladly help how I can

@Splintorien

Copy link
Copy Markdown
Contributor Author

It has indeed been a while since I contributed there 😄 I'll solve the merge conflicts and check if we can merge the PR

@Splintorien

Copy link
Copy Markdown
Contributor Author

You are the update @alexandru0-dev , congrats you are the latest comment 🎉

Lmao, but I was serious The PR is ~390 lines changed and it's 1y+ old The feature seems requested as there are duplicated issues about this feature Personally I think it is kinda a waste to let this PR die

I can rebase this PR if nobody is willing to do it, but I don't know Kotlin, so if there are requested changes I may not be able to solve them as wanted or at all

Are there any known blockers (excluding the rebase) ?

iirc there were no known blockers, I just pulled all the changes and fixed the conflicts, seems to work well. I think at the time I was waiting for the final review, then I started a new position in a new country, the PR got forgotten, and there we are a year later 😄

@AntsyLich

Copy link
Copy Markdown
Member

I would like that the custom metadata are on a separate table altogether.

@Syer10

Syer10 commented Mar 20, 2025

Copy link
Copy Markdown

Its not worth using a table, it will just make it difficult in the long run. Columns are much easier to manage for info that needs to be attached directly to 1 object

@mihonapp mihonapp deleted a comment from kevin930321 Aug 1, 2025
github-actions Bot pushed a commit to Ramsesdb/gexu-legacy-fork that referenced this pull request Dec 8, 2025
* fix: cover ratio NaN for local source

* unused

* Update CHANGELOG.md
@AntsyLich

Copy link
Copy Markdown
Member

Blocked by #1195

@AntsyLich
AntsyLich marked this pull request as draft December 10, 2025 09:18
Ramsesdb pushed a commit to Ramsesdb/gexu-legacy-fork that referenced this pull request May 6, 2026
* fix: cover ratio NaN for local source

* unused

* Update CHANGELOG.md
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.

Feature request: Edit manga details

8 participants