Page MenuHomePhabricator

Add a Phurl Typeahead
ClosedPublic

Authored by chad on Feb 11 2017, 10:02 PM.
Tags
None
Referenced Files
F13082049: D17339.diff
Wed, Apr 24, 9:58 PM
Unknown Object (File)
Tue, Apr 23, 9:06 PM
Unknown Object (File)
Tue, Apr 23, 9:06 PM
Unknown Object (File)
Tue, Apr 23, 9:05 PM
Unknown Object (File)
Tue, Apr 23, 9:05 PM
Unknown Object (File)
Sun, Apr 21, 3:57 PM
Unknown Object (File)
Fri, Apr 19, 6:14 PM
Unknown Object (File)
Wed, Apr 17, 2:07 PM
Subscribers

Details

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

If you name a URL "Apple" but give it the alias "zebra" (so you reference it with ((zebra))) I think you should be able to find it by typing zebra. Currently, I believe it won't. You should be able to do this like this:

  • Make setName() (which is what it matches when typed) be "{$name}\n{$alias}".
  • Make setDisplayName() (which is what is shown to the user) be just the name.
This revision is now accepted and ready to land.Feb 11 2017, 10:29 PM
This revision was automatically updated to reflect the committed changes.