Page MenuHomePhabricator

Add "wide" remarkup image support for Documents
ClosedPublic

Authored by chad on May 3 2016, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 3, 8:49 PM
Unknown Object (File)
Thu, Feb 27, 7:16 PM
Unknown Object (File)
Sun, Feb 16, 6:46 AM
Unknown Object (File)
Feb 4 2025, 8:03 AM
Unknown Object (File)
Jan 25 2025, 2:06 PM
Unknown Object (File)
Jan 17 2025, 9:06 PM
Unknown Object (File)
Jan 4 2025, 5:53 PM
Unknown Object (File)
Dec 30 2024, 3:24 AM
Subscribers

Details

Summary

Seems to work ok, if you give size=wide to an image file, we blow it out a bit in DocumentPro mode.

Test Plan

Test in Phame and Maniphest.

Screen Shot 2016-05-03 at 1.54.17 PM.png (2×2 px, 1 MB)

Screen Shot 2016-05-03 at 1.54.27 PM.png (2×2 px, 1 MB)

Diff Detail

Repository
rP Phabricator
Branch
wide-remarkup-embed (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12029
Build 15141: Run Core Tests
Build 15140: arc lint + arc unit

Event Timeline

chad retitled this revision from to Add "wide" remarkup image support for Documents.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.May 3 2016, 8:56 PM
chad edited edge metadata.
chad added inline comments.
webroot/rsrc/css/phui/phui-document.css
106

just... be on the lookout?

webroot/rsrc/css/phui/phui-document.css
106

haha yeah this might get suspicious

Only thing I can really think of offhand is huge tables.

lemme do more testing then. I think tables overflow scroll though

Yeah, I'd expect them to be OK.

Maybe a table with a {wide} image inside it? Not sure what users would really expect that to do, though.

This revision was automatically updated to reflect the committed changes.