Page MenuHomePhabricator

[Redesign] Use status icons in Maniphest task list
ClosedPublic

Authored by chad on Jun 30 2015, 8:27 PM.
Tags
None
Referenced Files
F18779210: D13490.id.diff
Sat, Oct 11, 12:51 PM
F18751199: D13490.id32640.diff
Sat, Oct 4, 10:02 AM
F18625407: D13490.diff
Sep 15 2025, 10:45 PM
F18601560: D13490.diff
Sep 13 2025, 12:49 PM
F18601105: D13490.diff
Sep 13 2025, 11:31 AM
F18576792: D13490.id.diff
Sep 10 2025, 4:41 PM
F18567990: D13490.id32641.diff
Sep 9 2025, 9:47 PM
F18567988: D13490.id32640.diff
Sep 9 2025, 9:46 PM
Subscribers

Details

Summary

Ref T8099, Fixes T8339. This lets us pull in the status icon and display in lists and object headers.

Test Plan

Look at a list of open and closed tasks, see icons match state (duplicate, spite, defaults).

Diff Detail

Repository
rP Phabricator
Branch
mani-icons
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7068
Build 7189: [Placeholder Plan] Wait for 30 Seconds
Build 7188: arc lint + arc unit

Event Timeline

chad retitled this revision from to [Redesign] Use status icons in Maniphest task list.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
btrahan edited edge metadata.
btrahan added inline comments.
src/applications/maniphest/view/ManiphestTaskListView.php
81

You can end up with the "grey" class twice, but that's probably okay. Otherwise, you could re-factor to something like this

$color = idx($color_map, $task->getPriority(), 'grey');
if ($task->isClosed()) {
  $item->setDisabled(true);
  $color = 'grey';
}
$icon .= ' '.$color;
This revision is now accepted and ready to land.Jun 30 2015, 8:34 PM
This revision was automatically updated to reflect the committed changes.
chad marked an inline comment as done.