Problem:
As new manga chapters get released, they can't be assigned to a volume, since they can only get published after a certain amount of chapters have been created and published in magazines. This leads to the inherent problem of having to bulk edit chapters to assign them to volumes after they're published. Apart from that, a lot of uploaders make mistakes or simply can't be bothered to look up the volume numbers of the chapters they upload.
Solution:
Create a volume entity that has the start and end chapter (note: end chapter 25, should also include 25.x) defined and remove manual input of volume numbers. The volume entity could also have links to the volume cover images (if the art MangaDex only consists of volume covers) and I also saw a suggestion mentioning volume titles which (if relevant) could also be added under this entity.
The idea is to add volumes to MangaDex as they get published. Once set, the chapters can then be grouped by volumes on-the-fly whenever the chapter list is shown on the page. This doesn't take away all maintenance regarding volumes, but it massively reduces it. There's no need to care about mistakes too much when doing potentially expensive and error-prone bulk edits, because adding a volume is just a single insert and mistakes are easily fixed with a single update-statement. And there's no need to care about wrongly individually entered volume numbers due to mistakes or laziness, because the system will know the correct volume if/when it is added.
As far as the implementation goes, there's no need to link the chapters to the volumes. Just have both chapters and volumes linked to the manga. Volumes shouldn't need to infer the manga chapters it holds based on chapter entries. The volume record should have fields for the start/end chapter which can have numbers beyond what is currently available on MangaDex. That allows for newly inserted chapters to automatically be shown under the correct volume. It also avoids potential single source of truth issues and removes the need to create a default volume to link the chapters without a volume.
As new manga chapters get released, they can't be assigned to a volume, since they can only get published after a certain amount of chapters have been created and published in magazines. This leads to the inherent problem of having to bulk edit chapters to assign them to volumes after they're published. Apart from that, a lot of uploaders make mistakes or simply can't be bothered to look up the volume numbers of the chapters they upload.
Solution:
Create a volume entity that has the start and end chapter (note: end chapter 25, should also include 25.x) defined and remove manual input of volume numbers. The volume entity could also have links to the volume cover images (if the art MangaDex only consists of volume covers) and I also saw a suggestion mentioning volume titles which (if relevant) could also be added under this entity.
The idea is to add volumes to MangaDex as they get published. Once set, the chapters can then be grouped by volumes on-the-fly whenever the chapter list is shown on the page. This doesn't take away all maintenance regarding volumes, but it massively reduces it. There's no need to care about mistakes too much when doing potentially expensive and error-prone bulk edits, because adding a volume is just a single insert and mistakes are easily fixed with a single update-statement. And there's no need to care about wrongly individually entered volume numbers due to mistakes or laziness, because the system will know the correct volume if/when it is added.
As far as the implementation goes, there's no need to link the chapters to the volumes. Just have both chapters and volumes linked to the manga. Volumes shouldn't need to infer the manga chapters it holds based on chapter entries. The volume record should have fields for the start/end chapter which can have numbers beyond what is currently available on MangaDex. That allows for newly inserted chapters to automatically be shown under the correct volume. It also avoids potential single source of truth issues and removes the need to create a default volume to link the chapters without a volume.
Upvote
1