Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | When expanding the details on the /timeline in the Compact or Simple view, change the "..." into "←" and keep it visible, so that the expanded details can be toggled back off. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | timeline-enhance-2025 |
| Files: | files | file ages | folders |
| SHA3-256: |
2d89ae650ea94e0c1e7be9ca2b426785 |
| User & Date: | drh 2025-10-19 17:03:09.661 |
Context
|
2025-10-19
| ||
| 17:57 | Improved tarball filename normalization. check-in: 1d44e89013 user: drh tags: timeline-enhance-2025 | |
| 17:03 | When expanding the details on the /timeline in the Compact or Simple view, change the "..." into "←" and keep it visible, so that the expanded details can be toggled back off. check-in: 2d89ae650e user: drh tags: timeline-enhance-2025 | |
| 10:33 | Document the timeline-default-style setting so that it can be viewed and changed on the /setup_settings page and by the "fossil setting" command. check-in: c9c17a81a9 user: drh tags: timeline-enhance-2025 | |
Changes
Changes to src/graph.js.
| ︙ | ︙ | |||
724 725 726 727 728 729 730 |
if(x) x.style.display=value;
}
function toggleDetail(){
var id = parseInt(this.getAttribute('data-id'))
var x = document.getElementById("detail-"+id);
if( x.style.display=="inline" ){
x.style.display="none";
| | | | 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 |
if(x) x.style.display=value;
}
function toggleDetail(){
var id = parseInt(this.getAttribute('data-id'))
var x = document.getElementById("detail-"+id);
if( x.style.display=="inline" ){
x.style.display="none";
document.getElementById("ellipsis-"+id).textContent = "...";
changeDisplayById("links-"+id,"none");
}else{
x.style.display="inline";
document.getElementById("ellipsis-"+id).textContent = "←";
changeDisplayById("links-"+id,"inline");
}
checkHeight();
}
function scrollToSelected(){
var x = document.getElementsByClassName('timelineSelected');
if(x[0]){
|
| ︙ | ︙ | |||
762 763 764 765 766 767 768 |
}else{
function checkHeight(){}
}
if( tx.scrollToSelect ){
scrollToSelected();
}
| | | | 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 |
}else{
function checkHeight(){}
}
if( tx.scrollToSelect ){
scrollToSelected();
}
/* Set the onclick= attributes for elements of the "Compact" and
** "Simple" views so that clicking turns the details on and off.
*/
var lx = topObj.getElementsByClassName('timelineEllipsis');
var i;
for(i=0; i<lx.length; i++){
if( lx[i].hasAttribute('data-id') ) lx[i].onclick = toggleDetail;
}
lx = topObj.getElementsByClassName('timelineCompactComment');
|
| ︙ | ︙ |