HomePhabricator

Modernize "repositories" typeahead datasource

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

Provenance
epriestleyAuthored on
epriestleyPushed on Jul 10 2014, 11:18 PM
Reviewer
btrahan
Differential Revision
D9874: Modernize "repositories" typeahead datasource
Parents
rPe281c5ee9045: Security - disable conduit act as user by default
Branches
Unknown
Tags
Unknown
Tasks
T4420: Modernize typeahead datasources

Event Timeline