@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bucket Asana parent tasks by "assignee_status"

Summary: Ref T2852. When the parent task is actionable (needs revision, accepted) give it an "Upcoming" status; otherwise give it a "Later" status.

Test Plan: Sync'd "Needs Revision" and "Needs Review" tasks and saw them both bucket correctly

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T2852

Differential Revision: https://secure.phabricator.com/D6551

+6
+6
src/applications/doorkeeper/worker/DoorkeeperFeedWorkerAsana.php
··· 306 306 'POST', 307 307 array( 308 308 'workspace' => $workspace_id, 309 + // NOTE: We initially create parent tasks in the "Later" state but 310 + // don't update it afterward, even if the corresponding object 311 + // becomes actionable. The expectation is that users will prioritize 312 + // tasks in responses to notifications of state changes, and that 313 + // we should not overwrite their choices. 314 + 'assignee_status' => 'later', 309 315 ) + $main_data); 310 316 $parent_ref = $this->newRefFromResult( 311 317 DoorkeeperBridgeAsana::OBJTYPE_TASK,