Page MenuHomePhabricator

Move Diffusion browse rendering to DocumentEngine, breaking almost all features
ClosedPublic

Authored by epriestley on Apr 5 2018, 6:40 PM.
Tags
None
Referenced Files
F15451187: D19302.diff
Fri, Mar 28, 8:40 PM
F15450219: D19302.id46190.diff
Fri, Mar 28, 2:36 PM
F15448181: D19302.diff
Fri, Mar 28, 3:22 AM
F15447065: D19302.id.diff
Thu, Mar 27, 9:40 PM
F15441940: D19302.diff
Wed, Mar 26, 8:41 PM
F15430311: D19302.diff
Mon, Mar 24, 7:00 AM
F15402730: D19302.diff
Tue, Mar 18, 12:00 AM
F15333141: D19302.id46190.diff
Sat, Mar 8, 12:19 AM
Subscribers

Details

Summary

Ref T13105. This breaks about 9,000 features but moves Diffusion to DocumentEngine for rendering. See T13105 for a more complete list of all the broken stuff.

But you can't bake a software without breaking all the features every time you make a change, right?

Test Plan

Viewed various files in Diffusion, used DocumentEngine features like highlighting and rendering engine selection.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

When people realize what will be capable they won't worry about about the 9,000 features

If I understand correctly this commit moves that old "Browse in Diffusion" to use the DocumentRenderEngine, so it will use the source code with syntax highlighting that you added last week. I guess we lose blame (for now) as one of those 9000 applications, but gain the ability for different file types to select alternative renders.. sweet!.. "breaking eggs and making omelettes and all that!"

This revision is now accepted and ready to land.Apr 6 2018, 7:52 AM
src/applications/diffusion/controller/DiffusionBrowseController.php
187

Nit: I think you don't need this else

This revision was automatically updated to reflect the committed changes.