Page MenuHomePhabricator

Hovercard - add project images
ClosedPublic

Authored by btrahan on Mar 10 2014, 8:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 12, 5:33 AM
Unknown Object (File)
Mon, Sep 9, 6:34 PM
Unknown Object (File)
Mon, Sep 2, 10:43 PM
Unknown Object (File)
Wed, Aug 28, 11:47 AM
Unknown Object (File)
Sun, Aug 25, 8:26 AM
Unknown Object (File)
Thu, Aug 15, 7:23 AM
Unknown Object (File)
Aug 5 2024, 9:23 PM
Unknown Object (File)
Aug 2 2024, 1:06 PM

Details

Summary

adds project images. Also fiddles with HTML + CSS just a bit so we have a "picture" column and a "details" column if a picture exists.

This keeps the details all in a nice column even if there are many details that end up being taller than the picture UI.

Fixes T3991.

Test Plan

looked at a task (no pic), project (pic w/ no details), and user (pic w/ many details) hovercard and all looked good on Chrome and Safari

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan updated this revision to Unknown Object (????).Mar 10 2014, 8:40 PM

fix spacing

epriestley edited edge metadata.
epriestley added inline comments.
src/view/widget/hovercard/PhabricatorHovercardView.php
119

We should modernize this to:

array($x, $y)

...instead of:

$x->appendHTML($y)
This revision is now accepted and ready to land.Mar 11 2014, 12:11 AM
epriestley updated this revision to Diff 20107.

Closed by commit rP8e4131523812 (authored by @btrahan, committed by @epriestley).

...so did you mean to take this over and land this? I don't mind (obvipants) just asking because its a new workflow for us and could be indicative of some bugz.

Oops! I patched it into my sandbox and then stuck something on top of it. I made a similar mistake recently too, I'll see if we can add a warning about this.