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
Unknown Object (File)
Sat, Dec 7, 9:24 PM
Unknown Object (File)
Fri, Dec 6, 4:48 PM
Unknown Object (File)
Thu, Nov 28, 9:22 AM
Unknown Object (File)
Oct 15 2024, 10:40 PM
Unknown Object (File)
Oct 15 2024, 5:08 AM
Unknown Object (File)
Sep 26 2024, 3:00 PM
Unknown Object (File)
Sep 11 2024, 4:33 PM
Unknown Object (File)
Sep 8 2024, 1:48 PM
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.