1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications
epriestley 5a11f08ba4 Use bar colors to show revision status in revision lists
Summary:
Ref T3772. The original version of D5451 had a very colorful version of this which felt a bit arbitrary, and we moved away from it after discussion, particularly [[ https://secure.phabricator.com/D5451#comment-8 | here (chad) ]] and [[ https://secure.phabricator.com/D5451#comment-14 | here (me) ]] and [[ https://secure.phabricator.com/D5451#comment-19 | here (chad again) ]].

The core of my objection was that status and priority to the viewer aren't the same: a "needs revision" revision that you authored is high priority (you need to revise it), but a "needs revision" revision that someone else authored is low priority (you're waiting on them to revise it). If we color by status, revisions in both high priority and low priority states will be colored red. We can instead color by viewer priority (blocking others = red, needs attention = orange, waiting on others = blue; or something), but that would be redundant (we already group by it, so you'd get big chunks of stuff with the same color and color would have no utility), confusing (in ungrouped views, the colors would not be self-explanatory) and weirdly inconsistent (different users would see objects having different colors).

I still think all this holds, but I also thought that "viewer priority" was enormously more important than "state", since I use the former frequently and the latter very rarely. From T3772, it sounds like some users use "state" a lot more than I do (i.e., they want to find "accepted" revisions within a "viewer priority" group like "Action Required"). This is a possible approach to that.

I think another issue was the heavy use of the color in the original; this restores a more conservative version of it which doesn't have as much weight. In particular:

  - Revisions in the "Needs Review" state retain the default color, rather than orange.
  - Revisions in the "Closed" state have the disabled effect.

Test Plan: See screenshot.

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T3772

Differential Revision: https://secure.phabricator.com/D6839
2013-08-29 09:16:51 -07:00
..
arcanist/conduit Move Conduit methods inside applications 2012-12-21 12:21:59 -08:00
audit Update Form Layouts 2013-08-26 11:53:11 -07:00
auth Update Form Layouts 2013-08-26 11:53:11 -07:00
base Remove dust pattern for common bg color. 2013-08-19 18:15:52 -07:00
cache Provide 'bin/cache', for managing caches 2013-05-20 10:16:35 -07:00
calendar Update Form Layouts 2013-08-26 11:53:11 -07:00
chatlog Update Form Layouts 2013-08-26 11:53:11 -07:00
conduit Update forms to use PHUIFormBoxView 2013-08-26 15:45:58 -07:00
config Update Form Layouts 2013-08-26 11:53:11 -07:00
conpherence Update Form Layouts 2013-08-26 11:53:11 -07:00
countdown Update Form Layouts 2013-08-26 11:53:11 -07:00
daemon Remove dust from page construction 2013-08-19 18:09:35 -07:00
differential Use bar colors to show revision status in revision lists 2013-08-29 09:16:51 -07:00
diffusion Hack-patch for missing highlights in Audit 2013-08-28 16:32:40 -07:00
directory/controller Remove dust from page construction 2013-08-19 18:09:35 -07:00
diviner Move child loading into DivinerAtomQuery and collect/organize more data on class Atoms 2013-08-28 09:57:20 -07:00
doorkeeper Add followers to Asana diff tasks silently 2013-08-19 08:52:53 -07:00
draft/storage Add draft support to ApplicationTransactions 2012-12-21 05:57:14 -08:00
drydock Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00
fact Convert AphrontTableView to safe HTML 2013-02-09 15:11:38 -08:00
feed Fix Phriction feed stories text rendering 2013-08-27 09:34:13 -07:00
files Update Form Layouts 2013-08-26 11:53:11 -07:00
flag Update Form Layouts 2013-08-26 11:53:11 -07:00
harbormaster Add HarbormasterRunnerWorker, for running CI tests 2012-12-17 13:43:26 -08:00
help/controller Some help pht 2013-05-21 15:29:21 -07:00
herald add committer as supported field for herald rules 2013-08-29 06:07:53 -07:00
legalpad Update Form Layouts 2013-08-26 11:53:11 -07:00
lipsum Files Generating 2013-05-06 10:30:38 -07:00
macro Fix Macro Edit form 2013-08-27 09:05:40 -07:00
mailinglists Update Form Layouts 2013-08-26 11:53:11 -07:00
maniphest Update Form Layouts 2013-08-26 11:53:11 -07:00
meta Remove dust from page construction 2013-08-19 18:09:35 -07:00
metamta Move PhabricatorUser to new phid stuff 2013-07-26 14:05:19 -07:00
notification Fix unacceptably light-hearted string in serious business mode 2013-08-22 15:01:22 -07:00
oauthserver Initialize used variable 2013-07-09 21:55:27 -07:00
owners Update Form Layouts 2013-08-26 11:53:11 -07:00
paste Update Form Layouts 2013-08-26 11:53:11 -07:00
people Update forms to use PHUIFormBoxView 2013-08-26 15:45:58 -07:00
phame Update forms to use PHUIFormBoxView 2013-08-26 15:45:58 -07:00
phid Fix text-mode rendering of object and Asana link views 2013-08-07 13:29:09 -07:00
phlux Update Form Layouts 2013-08-26 11:53:11 -07:00
pholio Update Form Layouts 2013-08-26 11:53:11 -07:00
phortune Update Form Layouts 2013-08-26 11:53:11 -07:00
phpast Update XHPast forms 2013-08-27 09:43:45 -07:00
phrequent Update Form Layouts 2013-08-26 11:53:11 -07:00
phriction Update PHUIDocument to use new header gradients 2013-08-28 10:29:02 -07:00
policy Move PhabricatorUser to new phid stuff 2013-07-26 14:05:19 -07:00
ponder Update Form Layouts 2013-08-26 11:53:11 -07:00
project Update Form Layouts 2013-08-26 11:53:11 -07:00
releeph Restore fields to Releeph from prior to CustomField patch 2013-08-28 13:06:29 -07:00
remarkup/conduit Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
repository Update forms to use PHUIFormBoxView 2013-08-26 15:45:58 -07:00
search Update Form Layouts 2013-08-26 11:53:11 -07:00
settings Update Form Layouts 2013-08-26 11:53:11 -07:00
slowvote Update Form Layouts 2013-08-26 11:53:11 -07:00
subscriptions Make PhabricatorActionListView logged-out user savvy 2013-07-12 11:39:47 -07:00
system Add a user-accessible hook for dumping debug code into an install 2013-03-04 13:45:51 -08:00
tokens Remove dust from page construction 2013-08-19 18:09:35 -07:00
transactions Update Form Layouts 2013-08-26 11:53:11 -07:00
typeahead Use ApplicationPHIDs to power object name typehaead results 2013-07-29 12:04:17 -07:00
uiexample Update Form Layouts 2013-08-26 11:53:11 -07:00
xhprof Remove dust from page construction 2013-08-19 18:09:35 -07:00