Page MenuHomePhabricator

Modernize "macro" typeahead datasource
ClosedPublic

Authored by epriestley on Jul 10 2014, 8:43 PM.
Tags
None
Referenced Files
F14060952: D9875.diff
Mon, Nov 18, 4:26 AM
F14046458: D9875.diff
Wed, Nov 13, 9:23 PM
F14036991: D9875.id23713.diff
Sun, Nov 10, 1:18 PM
F14033664: D9875.diff
Sat, Nov 9, 7:04 PM
F14020822: D9875.diff
Wed, Nov 6, 2:58 AM
F14018121: D9875.id23726.diff
Tue, Nov 5, 5:03 AM
F14014410: D9875.id23726.diff
Sun, Nov 3, 3:00 AM
F13996055: D9875.diff
Wed, Oct 23, 5:44 PM
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).