When a Paste has a useful alternative rendering in Files, provide a hint
commit3c1f393c812fe299b916d20523c1ad1164f011a5
authorepriestley <git@epriestley.com>
Fri, 1 May 2020 13:00:37 +0000 (1 06:00 -0700)
committerepriestley <git@epriestley.com>
Fri, 1 May 2020 16:09:42 +0000 (1 09:09 -0700)
tree64e70ae095b836f1d2796676cde90fceac494e44
parent65a2b5e2193434169444ef929314e94e24aa9f37
When a Paste has a useful alternative rendering in Files, provide a hint

Summary: Ref T13528. When a file in Paste (like a Jupyter notebook) has a good/useful document engine, provide a link to Files.

Test Plan: {F7409881}

Maniphest Tasks: T13528

Differential Revision: https://secure.phabricator.com/D21196
src/applications/console/core/DarkConsoleCore.php
src/applications/files/document/PhabricatorDocumentEngine.php
src/applications/files/document/PhabricatorJupyterDocumentEngine.php
src/applications/files/document/render/PhabricatorDocumentRenderingEngine.php
src/applications/paste/controller/PhabricatorPasteViewController.php