Skip to content

Add "Meta-Archives" collection of IDs #519

@Difegue

Description

@Difegue

Unlike categories, which loosely regroup IDs, Meta-Archives should hide the IDs they contain and expose themselves instead.

Adding this new element raises a ton of questions relative to the current architecture:

  • How do tags work?
    • I think Meta-Archives should only have a dedicated title(and maybe artist), and aggregate metadata of all their contained IDs otherwise.
  • Can Meta-Archives be put in Categories?
    • yes, and their contained IDs should be hidden.
  • Can Meta-Archives be edited through Batch Tagging?
    • no, edit their contained IDs instead.
  • Where do Meta-Archives land in the database?
    • Likely in the Redis root with their own prefix, like Categories currently do.
  • How to integrate them to the Search Engine?
    • Search should be modified to use a precalculated table containing "all archives", which would be a mix of real and meta-IDs. (Instead of the current behavior where it grabs all IDs off the Redis root)
    • Creating this table would also allow us to use its count for the total, solving Incorrect total entries count #510 .
  • How to integrate them to the Reader?
    • Opening a Meta-Archive should extract/open the first ID, and add a combobox to show all the entries contained in the Meta-Archive.
    • Reaching the end of the first ID opens the second, and so on.
  • How to handle reading progression?
    • This might be a bit naive, but just showing the sum of all contained ID's reading progression and pagecount seems to be the easiest way.
    • This might require precalculating pagecounts for all archives instead of the current find-it-out-as-we-go approach.
  • Should there be new API endpoints for Meta-Archives?
    • Yes for creating/managing them, no for everything else. (The current archive APIs should be enhanced to accept Meta-Archive IDs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    [BIG SHOT] featureaw heck that's a lotta work chiefuser surveyIssues matching common user requests.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions