Page MenuHomePhabricator

Modernize "macro" typeahead datasource
ClosedPublic

Authored by epriestley on Jul 10 2014, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 12:00 AM
Unknown Object (File)
Fri, Dec 20, 6:14 PM
Unknown Object (File)
Fri, Dec 20, 11:27 AM
Unknown Object (File)
Sun, Dec 15, 9:01 PM
Unknown Object (File)
Fri, Dec 13, 4:10 PM
Unknown Object (File)
Fri, Dec 13, 10:39 AM
Unknown Object (File)
Sat, Dec 7, 5:54 AM
Unknown Object (File)
Thu, Dec 5, 3:21 AM
Subscribers

Details

Summary

Ref T4420. Make this modern.

Test Plan
  • Used typeahead in remarkup comment area to select macro "derpdog".

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Modernize "macro" typeahead datasource.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
  • Forgot to save file removing this from common typehead.
btrahan edited edge metadata.

I think I'm learning about the nitty gritty of how this icon stuff works over these diffs.

src/applications/macro/typeahead/PhabricatorMacroDatasource.php
30

oh, I guess if you want the color you have to specify it here too?

This revision is now accepted and ready to land.Jul 10 2014, 10:34 PM

The icon stuff is dumb right now, my end-of-this-sequence plan is to make Results go look up the PHIDType and use the icon/color on that, if one isn't provided. That will delete 90% of the code and just leave a couple of special cases (mostly projects). For now, I'm just moving the code into modular datasources without touching it too much.

epriestley updated this revision to Diff 23726.

Closed by commit rPa2caea13d65f (authored by @epriestley).