1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 22:31:03 +01:00
phorge-phorge/src
epriestley 7c83076fb6 (stable) Fix an issue where any diff which could possibly be rendered as Jupyter decided to render as Jupyter
Summary:
See PHI1468. Engine selection for diffs is currently too aggressive in trying to find a shared engine and will fall back a shared engine with a very low score, causing all ".json" files to render as Jupyter files.

Only pick an engine as a difference engine by default if it's the highest-scoring engine for the new file.

Test Plan: Viewed ".json" files and ".ipynb" files in a revision. Before, both rendered as Jupyter. Now, the former rendered as JSON and the latter rendered as Jupyter.

Differential Revision: https://secure.phabricator.com/D20850
2019-10-01 18:53:12 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Make HTTP/403 say "Yikes!" 2019-09-30 09:27:39 -07:00
applications (stable) Fix an issue where any diff which could possibly be rendered as Jupyter decided to render as Jupyter 2019-10-01 18:53:12 -07:00
docs Add an "{anchor #xyz}" rule to Remarkup 2019-09-24 11:04:19 -07:00
extensions
infrastructure (stable) Promote 2019 Week 39 2019-09-30 11:08:34 -07:00
view (stable) Don't offer personal saved queries in global "Search Scope" settings dropdown 2019-09-13 12:33:52 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Perform basic block interdiffs when diffing abstract blocks, and interdiff markdown in Jupyter notebooks 2019-09-30 10:43:15 -07:00