ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
22 stars 17 forks source link

Watching and inbox rules improvements #398

Closed martastain closed 1 month ago

martastain commented 1 month ago

Watching/unwatching a task

When watching a task:

When unwatching a task:

Note

Setting/unsetting a watcher should invalidate client cache as now the new state is only visible after page reload

Status changes

Status changes are no loner considered important in the inbox, regardless user watching the entity or not

get_inbox query

get_user_inbox query now takes in account whether the user has access to the project. If they're unassigned from the project, related items will disappear from the inbox (that also improves the performance).