Page MenuHomePhabricator

Hovercard - add project images
ClosedPublic

Authored by btrahan on Mar 10 2014, 8:38 PM.
Tags
None
Referenced Files
F14001817: D8483.diff
Fri, Oct 25, 12:17 PM
F13980494: D8483.id20107.diff
Sat, Oct 19, 11:03 AM
Unknown Object (File)
Sep 25 2024, 6:15 AM
Unknown Object (File)
Sep 25 2024, 6:07 AM
Unknown Object (File)
Sep 20 2024, 3:32 PM
Unknown Object (File)
Sep 19 2024, 9:50 AM
Unknown Object (File)
Sep 19 2024, 9:47 AM
Unknown Object (File)
Sep 19 2024, 9:41 AM

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
Branch
T3991
Lint
Lint Passed
Unit
Tests Passed

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.