1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-29 00:40:57 +01:00
phorge-phorge/webroot/rsrc/css/application
epriestley 9ab22e21b3 Allow installs to customize project icons
Summary:
Ref T10010. Ref T5819. General alignment of the stars:

  - There were some hacks in Conduit around stripping `fa-...` off icons when reading and writing that I wanted to get rid of.
  - We probably have room for a subtitle in the new heavy nav, and using the icon name is a good starting point (and maybe good enough on its own?)
  - The project list was real bad looking with redundant tag/names, now it is very slightly less bad looking with non-redundant types?
  - Some installs will want to call Milestones something else, and this gets us a big part of the way there.
  - This may slightly help to reinforce "tag" vs "policy" vs "group" stuff?

---

I'm letting installs have enough rope to shoot themselves in the foot (e.g., define 100 icons). It isn't the end of the world if they reuse icons, and is clearly their fault.

I think the cases where 100 icons will break down are:

  - Icon selector dialog may get very unwieldy.
  - Query UI will be pretty iffy/huge with 100 icons.

We could improve these fairly easily if an install comes up with a reasonable use case for having 100 icons.

---

The UI on the icon itself in the list views is a little iffy -- mostly, it's too saturated/bold.

I'd ideally like to try either:

  - rendering a "shade" version (i.e. lighter, less-saturated color); or
  - rendering a "shade" tag with just the icon in it.

However, there didn't seem to be a way to do the first one right now (`fa-example sh-blue` doesn't work) and the second one had weird margins/padding, so I left it like this for now. I figure we can clean it up once we build the thick nav, since that will probably also want an identical element.

(I don't want to render a full tag with the icon + name since I think that's confusing -- it looks like a project/object tag, but is not.)

Test Plan:
{F1049905}

{F1049906}

Reviewers: chad

Reviewed By: chad

Subscribers: 20after4, Luke081515.2

Maniphest Tasks: T5819, T10010

Differential Revision: https://secure.phabricator.com/D14918
2016-01-08 14:01:53 -08:00
..
almanac Allow Almanac service types to define default properties 2014-12-17 11:10:50 -08:00
auth Touch up auth external account ui 2015-07-18 08:51:25 -07:00
base Remove pro-white-background, re-style PHUIDocumentViewPro 2015-11-28 07:20:55 -08:00
chatlog [Redesign] Larger Font PostProcessor 2015-06-26 09:33:03 -07:00
conduit Show how to call Conduit API methods from clients 2015-05-08 12:19:52 -07:00
config Shuffle various parts of the config edit UI around 2015-09-03 12:15:30 -07:00
conpherence Update Conpherence layout for logged out view 2015-08-29 08:29:53 -07:00
contentsource Move #888 and #999 to $lightgreytext 2013-09-02 08:12:18 -07:00
countdown Make countdown embed width more forgiving 2015-07-27 21:02:16 -07:00
daemon Execute Maniphest batch edits in the background with a web UI progress bar 2015-06-23 13:36:16 -07:00
dashboard [Redesign] Convert Dashboard Panels to ObjectBox 2015-05-17 07:05:14 -07:00
diff [Redesign] Larger Font PostProcessor 2015-06-26 09:33:03 -07:00
differential Fix mobile previous revision inline comments 2015-08-16 17:53:02 -07:00
diffusion Fix font size, highlight color in Diffusion 2015-10-16 07:14:26 -07:00
feed [Redesign] Update Feed 2015-05-28 11:47:06 -07:00
files Move all CSS "z-index" rules to "z-index.css", fix Differential z-index problem 2012-12-30 09:30:21 -08:00
flag Move PhabricatorObjectItem to PHUIObjectItem, add 'plain' setting for lists. 2013-09-09 14:14:34 -07:00
harbormaster Give Harbormaster build steps a "View" page 2015-10-26 12:38:32 -07:00
herald Modularize Herald "flag" action, plus update transcripts 2015-08-03 14:33:21 -07:00
maniphest [Redesign] Larger Font PostProcessor 2015-06-26 09:33:03 -07:00
objectselector [Redesign] Update Object Selector UI 2015-07-02 14:39:43 -07:00
owners Move #666 to $greytext in UIColor 2013-09-02 08:08:54 -07:00
paste Add PasteArchiveController 2015-12-09 11:56:14 -08:00
people T6856 Make Project Images that match Typeahead choices 2015-01-11 09:40:53 -08:00
phame Add Next and Previous UI to PhamePostView 2015-12-31 13:09:59 -08:00
pholio Update Pholio to use pink instead of indigo 2014-10-21 10:06:10 -07:00
phortune Make it easier to add payment methods for subscription autopay 2015-03-02 13:01:08 -08:00
phrequent UIColor Blues and common color integration 2013-09-02 08:10:47 -07:00
phriction [Redesign] Update Phriction UI 2015-05-28 14:04:54 -07:00
policy Clean up Multirow Manager UI 2014-11-17 14:06:05 -08:00
ponder Minor Ponder Comment tweaks 2015-09-03 10:53:16 -07:00
releeph Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00
search Revert "Allow search results to be snippeted, roughly" 2015-09-10 20:57:26 -07:00
slowvote Mobile Slowvote 2015-08-16 17:50:46 -07:00
tokens Make tokens more accessible to assitive technologies 2014-05-05 10:54:34 -07:00
uiexample Clean up FontAwesome / Timeline CSS 2014-04-22 18:29:14 -07:00