Page MenuHomePhabricator

Add a Phurl Typeahead
ClosedPublic

Authored by chad on Feb 11 2017, 10:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 11:05 AM
Unknown Object (File)
Thu, Nov 14, 1:57 AM
Unknown Object (File)
Thu, Nov 14, 1:29 AM
Unknown Object (File)
Wed, Nov 13, 11:06 PM
Unknown Object (File)
Mon, Nov 11, 6:15 AM
Unknown Object (File)
Tue, Nov 5, 1:57 PM
Unknown Object (File)
Nov 1 2024, 5:40 AM
Unknown Object (File)
Oct 25 2024, 9:18 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.