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
F15457689: D13490.id32640.diff
Sun, Mar 30, 5:48 PM
F15436218: D13490.id32641.diff
Tue, Mar 25, 12:43 PM
F15346460: D13490.id32640.diff
Mon, Mar 10, 1:59 PM
F15341044: D13490.diff
Sun, Mar 9, 6:19 PM
Unknown Object (File)
Sun, Mar 2, 5:12 AM
Unknown Object (File)
Feb 21 2025, 8:23 AM
Unknown Object (File)
Feb 20 2025, 10:36 AM
Unknown Object (File)
Feb 20 2025, 2:35 AM
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.