ayon-backend icon indicating copy to clipboard operation
ayon-backend copied to clipboard

Activity Feed: Filter activities by search query

Open Innders opened this issue 1 year ago • 4 comments

Story

I want to search for a specific message or only show messages from a specific author.

Problems

  • How can different fields be searched like user and createdAt

Proposal

  • New graphql argument query
  • Query language like github. is:comment author:luke mention:felix after:12-06-24

We will need to have query filtering like this in many places, tasks, inbox, events. It might be worth getting it write the first time.

Innders avatar Jun 12 '24 14:06 Innders

In activities, cursor is actually the timestamp, so you can filter it simply using "before": image

As for the users: i assume it would filter activities with that user set as "origin"? do you need more than one user here? (list activities from multiple users at once) or is a single-selection sufficient?

martastain avatar Jun 17 '24 08:06 martastain

As for the users: i assume it would filter activities with that user set as "origin"? do you need more than one user here? (list activities from multiple users at once) or is a single-selection sufficient?

I would think just one user is enough but in the future I can imagine that searching could be multiple users and excluding users.

Innders avatar Jun 17 '24 09:06 Innders

Is this still relevant @Innders ? (it looks like somthing you have already solved for the nex filtering)

dee-ynput avatar Oct 29 '24 23:10 dee-ynput

Still somewhat relevant, my filtering bar only works if all the data is loaded and cannot search for "new" data.

Innders avatar Oct 30 '24 06:10 Innders