- Status New
- Percent Complete
- Task Type Feature Request
- Category User Interface
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Low
- Reported Version 1.0 alpha1
- Due in Version Undecided
-
Due Date
Undecided
-
Votes
1
- Florian Schmitz (12.08.2015)
- Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd - 12.08.2015
Last edited by peterdd - 12.08.2015
Opened by peterdd - 12.08.2015
Last edited by peterdd - 12.08.2015
FS#2032 - replace hardcoded ... 'ellipsis'
Thomasz wrote: The other thing that I cannot find how to make the text to be visible in the whole column (as with the summary I get the ... at some point of the text).
The root of this is found in scripts/index.php in function tpl_draw_cell():
case 'summary': $value = tpl_tasklink($task, utf8_substr($task['item_summary'], 0, 55)); if (utf8_strlen($task['item_summary']) > 55) { $value .= '...'; } break;
We live in a world now, where the view port ranges from 320 pixel width mobile screens up to 4k+ wide tv screens, the amount of columns is configurable from minimal to all available fields of a task. We currently let the browser automatic decide how wide he renders each column depending on table content and available window size.
Well, that ellipsis problem can be handled at different levels:
- motivate the task creators to use short task summary if possible (e.g. show a hint/tooltip when typing the summary gets over a limit, in our case the hardcoded limit is 55. ). Short task topic/summaries are easier to read/scan for the users.
- replace the hard ellipsis by a pure css solution, that adapts to users browserwindow size/space in in the columns for summary
- drop the ellipsis thing complete, task summary always shown full length, table rows adapt in height automatically.
Possible CSS solution:
- text-overflow now works in all big browsers. For instance see http://stackoverflow.com/questions/2108740/how-do-i-indicate-long-text-into-a-smaller-fixed-column-with-css
- Combined with :hover on the shortened summary the full summary can be shown without the list table starting to flicker/resize.
We should have a CSS solution here, keeping the single line display. If at all, multiline display should be optional.