mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 01:32:42 +01:00
c46be2a70b
Summary: Ref T13120. See PHI571. Fixes T5024. This adds a "View as Query" action to workboard columns, which builds a query in Maniphest that has the current query constraints plus an additional constraint to select only tasks in the specified column. This is a normal query and can be turned into a dashboard panel, added to a menu, edited, saved as a link, etc. Much of the complexity here is that finding tasks in a given column isn't entirely straightforward because of how board layout works: when you create a task, it isn't immediately placed in columns. It's only actually added to the "Backlog" column on any boards when someone looks at the board. To get the right behavior, we must do "board layout" for any queried columns before we can constrain results. This isn't enormously efficient, but should be OK for reasonable boards. Test Plan: - Used "View as Query" for normal columns and milestome columns, got appropriate queries in Maniphest. - Applied filters to the board (e.g., "Priorities: wishlist"), then used "View As Query" and had my custom filters respected. - Queried some large boards/columns with more than a thousand tasks, got results back within a second or so. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13120, T5024 Differential Revision: https://secure.phabricator.com/D19366 |
||
---|---|---|
.. | ||
PhabricatorProjectArchiveController.php | ||
PhabricatorProjectBoardBackgroundController.php | ||
PhabricatorProjectBoardController.php | ||
PhabricatorProjectBoardDisableController.php | ||
PhabricatorProjectBoardImportController.php | ||
PhabricatorProjectBoardManageController.php | ||
PhabricatorProjectBoardReorderController.php | ||
PhabricatorProjectBoardViewController.php | ||
PhabricatorProjectColumnDetailController.php | ||
PhabricatorProjectColumnEditController.php | ||
PhabricatorProjectColumnHideController.php | ||
PhabricatorProjectController.php | ||
PhabricatorProjectCoverController.php | ||
PhabricatorProjectDefaultController.php | ||
PhabricatorProjectEditController.php | ||
PhabricatorProjectEditPictureController.php | ||
PhabricatorProjectListController.php | ||
PhabricatorProjectLockController.php | ||
PhabricatorProjectManageController.php | ||
PhabricatorProjectMembersAddController.php | ||
PhabricatorProjectMembersRemoveController.php | ||
PhabricatorProjectMembersViewController.php | ||
PhabricatorProjectMenuItemController.php | ||
PhabricatorProjectMoveController.php | ||
PhabricatorProjectProfileController.php | ||
PhabricatorProjectSilenceController.php | ||
PhabricatorProjectSubprojectsController.php | ||
PhabricatorProjectSubprojectWarningController.php | ||
PhabricatorProjectUpdateController.php | ||
PhabricatorProjectViewController.php | ||
PhabricatorProjectWatchController.php |