Page MenuHomePhabricator

Project - add ability to select an icon for typeaheads and such
ClosedPublic

Authored by btrahan on May 23 2014, 12:30 AM.
Tags
None
Referenced Files
F13280981: D9264.diff
Sun, Jun 2, 9:32 AM
F13267573: D9264.diff
Wed, May 29, 3:43 AM
F13258483: D9264.id22001.diff
Sun, May 26, 9:47 AM
F13253199: D9264.diff
Sat, May 25, 2:29 AM
F13249363: D9264.id.diff
Fri, May 24, 8:47 AM
F13231338: D9264.diff
Tue, May 21, 12:23 AM
F13214754: D9264.id22002.diff
Fri, May 17, 12:41 PM
F13186850: D9264.diff
Sat, May 11, 4:09 AM
Subscribers
Tokens
"Pterodactyl" token, awarded by epriestley.

Details

Summary

Fixes T5090. Introduced getIcon into Handle stack which allows you to specify a per handle icon. getIcon falls back ot getTypeIcon.

Test Plan

changed the icon on a project a bunch. verified transactions showed up. verified icon showed up in typeahead. verified icon showed up in tokens that were pre-generated (not typed in). units test passed.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Project - add ability to select an icon for typeaheads and such.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

awwyiss

src/applications/project/controller/PhabricatorProjectEditIconController.php
35

stray phlog

This revision is now accepted and ready to land.May 23 2014, 12:36 AM
src/applications/project/controller/PhabricatorProjectEditMainController.php
100

might be too clever, but what about having this be the actual icon it's set to currently?

src/applications/project/icon/PhabricatorProjectIcon.php
9

probably want one for mailing-list, maybe instead of pholder?

We could add another row -- fa-envelope ("Communication"), fa-truck ("Release"), fa-lock ("Policy") and fa-umbrella ("An Umbrella") maybe?

We could add another row -- fa-envelope ("Communication"), fa-truck ("Release"), fa-lock ("Policy") and fa-umbrella ("An Umbrella") maybe?

I concur, doctor.

btrahan edited edge metadata.
  • remove the phlog
  • add the 4th row
  • be clever and have the icon be the current icon (qrcode / any icon I could find to convey the meaning is pretty piss poor given the "edit picture" action, so I like the clever idea for now.)
btrahan updated this revision to Diff 22016.

Closed by commit rP102befdede3a (authored by @btrahan).