--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [debian-timeline] Please display event dates in tooltips
- From: Filipus Klutiero <chealer@gmail.com>
- Date: Tue, 05 Nov 2013 22:32:12 -0500
- Message-id: <5279B83C.7030502@gmail.com>
Package: debian-timeline
Version: 25
Severity: wishlist
The position of events in the timeline gives a good idea of when they happened. However, labels are quite long, making it hard to say precisely which day an event occured, even though that information is in the data.
I am not clear on why this information doesn't show, as upstream SIMILE's example shows dates fine in tooltips: http://www.simile-widgets.org/timeline/
The event data has the same format as ours. upstream uses the uncompressed version of SIMILE, where the relevant code clearly appears in sources.js, but I also found the compressed form in our timeline-bundle.js:
fillTime:function(a,b){if(this._instant){if(this.isImprecise()){a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._start)));a.appendChild(a.ownerDocument.createElement("br"));a.
appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._end)))}else{a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._start)))}}else{if(this.isImprecise()){a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._start)+" ~ "+b.labelPrecise(this._latestStart)));a.appendChild(a.ownerDocument.createElement("br"));a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._earliestEnd)+" ~ "+b.labelPrecise(this._end)))}else{a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._start)));a.appendChild(a.ownerDocument.createElement("br"));a.appendChild(a.ownerDocument.createTextNode(b.labelPrecise(this._end)))}}}
If this is a configuration issue, it wasn't blindingly obvious.
--- System information. ---
Architecture: i386
Kernel: Linux 3.10-3-amd64
Debian Release: jessie/sid
990 testing http.us.debian.org
500 unstable http.us.debian.org
1 experimental debian.mirror.iweb.ca
--- Package information. ---
Depends (Version) | Installed
====================================-+-===========
libjs-simile-timeline | 2.3.0+dfsg-0.1
Package's Recommends field is empty.
Package's Suggests field is empty.
--
Filipus Klutiero
http://www.philippecloutier.com
--- End Message ---