Page MenuHomePhabricator

Use PHUIDocumentProView in Phame
ClosedPublic

Authored by chad on Nov 5 2015, 8:09 PM.
Tags
None
Referenced Files
F13137561: D14415.diff
Thu, May 2, 7:42 PM
Unknown Object (File)
Mon, Apr 29, 4:28 PM
Unknown Object (File)
Thu, Apr 25, 12:07 AM
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)
Mar 24 2024, 10:12 PM
Unknown Object (File)
Mar 24 2024, 10:04 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
Branch
phame-pro
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8637
Build 10000: Run Core Tests
Build 9999: arc lint + arc unit

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.