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
Unknown Object (File)
Tue, Apr 16, 3:56 AM
Unknown Object (File)
Wed, Apr 10, 2:17 AM
Unknown Object (File)
Fri, Mar 29, 11:48 PM
Unknown Object (File)
Thu, Mar 21, 8:33 AM
Unknown Object (File)
Mar 10 2024, 8:16 AM
Unknown Object (File)
Feb 8 2024, 8:02 PM
Unknown Object (File)
Feb 3 2024, 5:32 AM
Unknown Object (File)
Jan 29 2024, 5:11 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.