1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/files
epriestley a9a5991f01 Update project profile image composer for new IconSet code
Summary:
Fixes T6856. Fixes T10164.

  - Make the profile image composer code use the underlying icon name instead of the top-level icon key, so it works instead of 404'ing.
  - Change the button to show a preview of the profile icon instead of the text "Use Icon and Color".
  - When creating a new non-milestone project, automatically set the profile image to the icon + color image.

Test Plan:
  - Created several new projects, saw appropriate default icons.
  - Edited projects, saw icon previews.
  - Clicked icon buttons to set icons.
  - Poked around other applications which use builtins (Pholio, user profiles) to look for anything I broke, but everything seemed fine.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T6856, T10164

Differential Revision: https://secure.phabricator.com/D15050
2016-01-18 15:09:21 -08:00
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Remove newFromMenu() from SideNav 2016-01-14 05:33:34 -08:00
applicationpanel Merge branch 'master' into redesign-2015 2015-05-22 12:57:32 -07:00
builtin Update project profile image composer for new IconSet code 2016-01-18 15:09:21 -08:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit Add support for temporary files to file.allocate 2015-09-04 10:34:32 -07:00
config phtize all the things 2015-05-22 21:16:39 +10:00
controller Update project profile image composer for new IconSet code 2016-01-18 15:09:21 -08:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
engine Swap S3 to first-party client 2016-01-10 07:55:27 -08:00
exception Give users an explicit error if they try to upload a too-large diff to Differential 2016-01-08 18:53:33 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
iconset Allow installs to customize project icons 2016-01-08 14:01:53 -08:00
lipsum Improve bin/lipsum UX 2015-12-24 09:06:35 -08:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management Swap S3 to first-party client 2016-01-10 07:55:27 -08:00
markup Don't drop "phabricator-remarkup-embed-image" class from Remarkup images with width or height 2016-01-09 15:40:45 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query More NUX states 2015-12-21 13:13:44 -08:00
storage Update project profile image composer for new IconSet code 2016-01-18 15:09:21 -08:00
transform Increase the maximum size eligible for image transforms configurable from 4MB->16MB 2015-11-25 06:42:44 -08:00
view phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorImageTransformer.php Extend from Phobject 2015-06-15 18:02:27 +10:00