Page MenuHomePhabricator

Add storage and read logic for workboard card cover photos
ClosedPublic

Authored by epriestley on Feb 6 2016, 9:46 PM.
Tags
None
Referenced Files
F13084650: D15201.diff
Wed, Apr 24, 11:14 PM
Unknown Object (File)
Sun, Apr 21, 6:17 AM
Unknown Object (File)
Mon, Apr 8, 10:44 PM
Unknown Object (File)
Sat, Apr 6, 3:06 AM
Unknown Object (File)
Fri, Apr 5, 3:16 PM
Unknown Object (File)
Sun, Mar 31, 11:18 AM
Unknown Object (File)
Feb 21 2024, 9:09 PM
Unknown Object (File)
Feb 14 2024, 12:00 AM
Subscribers
None

Details

Summary

No way to set photos yet, but if you magic them in they work.

Primarily, this consolidates rendering logic so the move + edit + view controllers all run the same code to do tags / cover photos.

Test Plan

Screen Shot 2016-02-06 at 1.35.40 PM.png (1×2 px, 515 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add storage and read logic for workboard card cover photos.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
chad added inline comments.
src/applications/files/transform/PhabricatorFileThumbnailTransform.php
77

new self?

This revision is now accepted and ready to land.Feb 6 2016, 9:52 PM

There's a lint rule that corrects X to self when X is the current class. Most of the time I think it's good on the balance. I'm not totally sold on new self() which is a little weird, but it's consistent with self::CLASS_CONST and that one is usually preferred, I think.

This revision was automatically updated to reflect the committed changes.