Page MenuHomePhabricator

Use PHUIDocumentProView in Phame
ClosedPublic

Authored by chad on Nov 5 2015, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 8:24 AM
Unknown Object (File)
Sun, Apr 7, 2:25 PM
Unknown Object (File)
Sat, Apr 6, 12:35 AM
Unknown Object (File)
Sun, Mar 24, 10:12 PM
Unknown Object (File)
Sun, Mar 24, 10:04 PM
Unknown Object (File)
Sun, Mar 24, 9:59 PM
Unknown Object (File)
Sun, Mar 24, 9:16 PM
Unknown Object (File)
Sun, Mar 24, 8:19 PM
Subscribers

Details

Summary

Updates "View Post" to use PHUIDocumentViewPro, updates calls to newPage and other minor modernizations. Edit Page updated to show proper document display as well. Ref T9545

Test Plan

Write a blog post, edit it.

pasted_file (1×1 px, 396 KB)

pasted_file (1×1 px, 351 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Use PHUIDocumentProView in Phame.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

One very minor inline.

src/applications/phame/controller/post/PhamePostEditController.php
197–200

Prefer setCrumbs($crumbs) over passing $crumbs as part of the body -- if there are actions in the crumbs, setCrumbs() will automatically put them in the mobile menu.

src/applications/phame/controller/post/PhamePostViewController.php
82–84

Crumbs here too.

This revision is now accepted and ready to land.Nov 5 2015, 8:12 PM
chad marked 2 inline comments as done.
chad edited edge metadata.
  • crumbs
This revision was automatically updated to reflect the committed changes.