Page MenuHomePhabricator

Add a Phurl Typeahead
ClosedPublic

Authored by chad on Feb 11 2017, 10:02 PM.
Tags
None
Referenced Files
F17924543: D17339.id41698.diff
Wed, Jul 30, 10:09 AM
Unknown Object (File)
Jun 17 2025, 8:21 AM
Unknown Object (File)
Jun 16 2025, 5:59 PM
Unknown Object (File)
May 9 2025, 8:12 AM
Unknown Object (File)
May 8 2025, 6:22 PM
Unknown Object (File)
May 6 2025, 5:27 AM
Unknown Object (File)
Apr 30 2025, 4:37 PM
Unknown Object (File)
Apr 27 2025, 11:21 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.