HomePhabricator

Introduce "Curtain" views, panels, and extensions

Description

Introduce "Curtain" views, panels, and extensions

Summary:
This opens up the new action column to have specialized rendering and behavior. Briefly:

  • Converted applications (right now, only Paste) render a CurtainView to build the column content.
  • This view uses new extensions to build panels (projects, subscribers, tokens).
  • The panel extension code and rendering can be changed without breaking old stuff.

Minor changes:

  • Token awards now load their tokens, for consistency/simplicity.
  • Removed the rest of the "fork of" / "forked from" UI in Paste -- I essentially removed these features a while ago, and no one has complained.

Test Plan:
UI is a bit rough, but works, and it's going to get changed now anyway:

Screen Shot 2016-03-06 at 8.32.45 AM.png (1×1 px, 220 KB)

Screen Shot 2016-03-06 at 8.33.05 AM.png (1×718 px, 137 KB)

Reviewers: chad

Reviewed By: chad

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

Details

Provenance
epriestleyAuthored on Mar 5 2016, 10:45 PM
epriestleyPushed on Mar 6 2016, 5:27 PM
Reviewer
chad
Differential Revision
D15414: Introduce "Curtain" views, panels, and extensions
Parents
rPaaab1011e5a4: Give AphrontTagView a `getViewer()`, deprecate `getUser()`
Branches
Unknown
Tags
Unknown
Build Status
Buildable 11024
Build 13628: Run Core Tests