Page MenuHomePhabricator

Move token rendering into Datasources
ClosedPublic

Authored by epriestley on Apr 18 2015, 3:57 PM.
Tags
None
Referenced Files
F13296624: D12457.diff
Thu, Jun 6, 5:28 PM
F13295759: D12457.id.diff
Thu, Jun 6, 7:33 AM
F13283145: D12457.diff
Sun, Jun 2, 12:52 PM
F13268964: D12457.diff
Wed, May 29, 5:36 AM
F13263867: D12457.id.diff
Mon, May 27, 12:58 PM
F13254508: D12457.diff
Sat, May 25, 3:28 AM
F13212030: D12457.diff
Fri, May 17, 6:19 AM
F13197052: D12457.diff
Sun, May 12, 11:47 PM
Subscribers

Details

Summary

Ref T4100. I want to reduce the amount of code duplication that function datasources currently need to wrap some parameter datasource.

For example, ProjectMembersDatasource should really just be a little bit of logic on top of ProjectsDatasource, which should do most of the heavy lifting.

Moving rendering into datasources brings us a step closer to being able to do this.

Test Plan
  • Rendered normal, function, and invalid tokens.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Move token rendering into Datasources.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 20 2015, 4:27 PM
This revision was automatically updated to reflect the committed changes.