Skip to content

[feature] Add sub field filtering for quests #692

@cmp5987

Description

@cmp5987

We want to expand the filtering allowed on the quest page. We want to add the beacon filter bar to the quest page. We want the counts of tasks associated with a quest to change when filters are applied. This would mean that rather than just filtering out a quest if it matches a filter, we also want to return the quest and then the number of tasks for that quest which match

Describe the solution you'd like

  • update the graphql query for filters to allow you to provide filters to tasks

Rough example:
query GetQuests($where: QuestWhereInput){
quests{
edges{
node{
tasks(where:$where){
Id
}}}}}

Describe alternatives you've considered
We could write a 2nd query to get tasks for each quests returned and await for the response of both to display results.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions