Edgewall Software

Opened 13 years ago

Closed 12 months ago

#7792 closed defect (duplicate)

online log messages in timeline should be shortened using displayed chars limit

Reported by: techtonik <techtonik@…> Owned by:
Priority: normal Milestone:
Component: timeline Version: 0.11.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Oneliners in timeline view are shortened to 75 symbols string of raw HTML. If this HTML contains links (and probably other markup) then the displayed message in browser will be shorter by the amount of symbols markup tags take.

Is it possible to create shorten_line() alternatives called shorten_wiki_line() for unprocessed wiki markup and shorten_html_line() for html to adjust string length to specified amount of visible characters?

Below is a patch for render_timeline_event() function to take advantage of the bugfix if it becomes available.

If there was a function to strip all markup from the message then it could be used in cycle to determine how many tokens should wiki/html string include to fit.

Attachments (1)

timeline.shorten.pass.to.onliner.diff (947 bytes ) - added by techtonik <techtonik@…> 13 years ago.

Download all attachments as: .zip

Change History (3)

by techtonik <techtonik@…>, 13 years ago

comment:1 by Christian Boos, 13 years ago

Milestone: 0.13

See #2064.

Not closing as duplicate, as a reminder to do something like you suggested for the timeline events.

comment:2 by Ryan J Ollos, 12 months ago

Milestone: next-major-releases
Resolution: duplicate
Status: newclosed

Closing as a duplicate #2064.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.