1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00
phorge-phorge/src/applications
epriestley 35d03d36c7 Improve display behavior of commit messages in Diffusion
Summary:
See T372. Always render commit messages on one display line, so the table
doesn't jump around as they AJAX in on browse views.

The goal here is to have the cell choose a size naturally and for its content to
render with "overflow: hidden" if the natural size isn't large enough to contain
the content. "white-space: pre" or "white-space: nowrap" would prevent wrapping
but potentially make the table exceed the display width when a better behavior
is to hide some of the commit message.

Also use utf8-aware shortening, now that we have a function for it.

Casting a wide net in case anyone has a better way to do the CSS here. It's kind
of nasty that we have to use so many DOM nodes.

Test Plan:
  - Resized window while viewing browse and history views in Safari, Chrome and
Firefox. Table exhibited described behavior.
  - Verified summaries render sensibly and are properly truncated to 100
characters.

Reviewed By: aran
Reviewers: aran, jungejason, tuomaspelkonen, tomo, mroch, cpojer
CC: aran, epriestley
Differential Revision: 750
2011-07-31 12:05:06 -07:00
..
auth Fix conservative CSRF token cycling limit 2011-07-14 08:09:40 -07:00
base Use DatabaseConfigurationProvider to get DB info 2011-06-13 14:59:28 -07:00
conduit Provide a paste.create Conduit method 2011-07-29 19:00:04 -07:00
countdown Make "Countdown" aware of time locales 2011-06-26 11:53:34 -07:00
daemon Add a garbage collector daemon 2011-07-05 13:49:11 -07:00
differential Be more explicit in rendering context links in Differential 2011-07-29 17:23:36 -07:00
diffusion Improve display behavior of commit messages in Diffusion 2011-07-31 12:05:06 -07:00
directory Use Javelin workflow on directory item deletion 2011-05-28 11:57:31 -07:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
feed Publish Phriction edits to feed 2011-07-12 16:36:17 -07:00
files Streamline Files interfaces 2011-07-29 17:56:49 -07:00
help/controller Provide basic structure for keyboard shortcuts 2011-06-07 11:23:19 -07:00
herald Fix Herald to accept new JSON encoding of sparse arrays 2011-07-07 15:27:12 -07:00
maniphest Modified create workflow to support rapid templated task creation, made Task Edit repopulate user input array fields on error 2011-07-27 11:56:55 -05:00
markup Add a document preview to Phriction 2011-07-16 18:48:27 -07:00
metamta Explicitly test for reply-to support before using the public reply-to address 2011-07-08 23:27:49 -07:00
owners Removing reordering code that wasn't needed 2011-04-20 17:07:46 -07:00
paste Fix header display bug on forked pastes. 2011-07-21 11:22:56 -04:00
people Restore "author" link to diffusion 2011-07-26 12:02:50 -07:00
phid Slightly simplify SearchAttach controller 2011-07-25 09:57:53 -07:00
phriction Add a 'description' field to Phriction 2011-07-23 21:11:42 -07:00
project Allow administrative editing of project resources 2011-07-21 16:46:28 -07:00
repository Improve display behavior of commit messages in Diffusion 2011-07-31 12:05:06 -07:00
search Slightly simplify SearchAttach controller 2011-07-25 09:57:53 -07:00
slowvote Add an ID column to slowvote's list view. 2011-07-17 14:20:55 -07:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Allow Maniphest filtering by "upforgrabs" explicitly 2011-06-29 13:59:45 -07:00
uiexample Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00