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
F14015662: D15201.diff
Sun, Nov 3, 11:30 PM
F14010829: D15201.id36697.diff
Thu, Oct 31, 12:44 PM
F13994447: D15201.id36698.diff
Wed, Oct 23, 6:14 AM
F13992757: D15201.id36697.diff
Tue, Oct 22, 6:36 PM
F13973393: D15201.id.diff
Oct 18 2024, 12:44 AM
F13971222: D15201.diff
Oct 17 2024, 12:22 PM
Unknown Object (File)
Oct 1 2024, 4:46 PM
Unknown Object (File)
Aug 30 2024, 10:26 PM
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.