Homec4science

Modernize "repositories" typeahead datasource

Authored by epriestley <git@epriestley.com> on Jul 11 2014, 01:18.

Description

Modernize "repositories" typeahead datasource

Summary:
Ref T4420.

  • Allow tokenizers to accept either a Datasource object (new style) or a URI (old style).
  • Read URI and placeholder text from object, if available.
  • Swap the "repositories" datasource (which seemed like the simplest one) over to the new stuff.
  • Tweak/update the repo tokens a little bit.

Test Plan:

  • Used tokenizer in Herald, Differential (search), Differential (edit), Push Logs.
  • Grepped for other callsites.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4420

Differential Revision: https://secure.phabricator.com/D9874

Details

Committed
epriestley <git@epriestley.com>Jul 11 2014, 01:18
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe281c5ee9045: Security - disable conduit act as user by default
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH34628002fd96: Modernize "repositories" typeahead datasource (authored by epriestley <git@epriestley.com>).Jul 11 2014, 01:18