Homec4science

Crop screenshot thumbs in Maniphest

Authored by epriestley <git@epriestley.com> on Jun 1 2011, 04:42.

Description

Crop screenshot thumbs in Maniphest

Summary:
If you name an attached file something like
"derpderpderpderpderdperdperpereprederpderplolololololo.png", the display
overflows. Crop and shorten it so that it looks decent. Show the full name as
the image title.

Test Plan:
Named a file "derpderpderpderpderdperdperpereprederpderplolololololo.png" and
got a sensible display out of it.

Reviewed By: tuomaspelkonen
Reviewers: tuomaspelkonen, jungejason, aran
CC: aran, tuomaspelkonen
Differential Revision: 389

Details

Committed
epriestley <git@epriestley.com>Jun 2 2011, 00:38
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8e2d5e0422ba: Changelog notice about epriestley/ -> facebook/ move.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHbfe73f585fb0: Crop screenshot thumbs in Maniphest (authored by epriestley <git@epriestley.com>).Jun 2 2011, 00:38