Skip to content

Recursively include submetas of submetas of metas (and so on) #309

@aminomancer

Description

@aminomancer

Right now, we only include metas that block the Bugzy epic. That goes for anything that involves metas, it all draws from the same source, the server-side query that fetches the metas list. Since metas are cached, it doesn't hurt to make this query a bit more robust. We can run it once to get all immediate metas, then run a query to search for submetas of those metas, then again to search for submetas of those submetas, until we get a response with 0 results.

This is already done (up to 1 level) in some views, but I'd like to do it everywhere since we now mark bugs as orange if they don't have a meta. Only, some bugs do have a meta, it's just not a level-1 meta. We want to count a bug as having a meta if it's part of a level 1 meta's tree. So if it blocks a meta that blocks a meta that blocks a meta that blocks the Bugzy epic, that means it has a meta, and it should be categorized under that level-1 meta (the meta at the top of the chain, the one that blocks the Bugzy epic).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions