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.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
We should have a CSS solution here, keeping the single line display. If at all, multiline display should be optional.