ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
18 stars 14 forks source link

Activity Feed: Filter activities by search query #240

Open Innders opened 3 weeks ago

Innders commented 3 weeks ago

Story

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

Problems

Proposal

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.

martastain commented 2 weeks ago

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?

Innders commented 2 weeks ago

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.