Fossil

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

28 check-ins for the month beginning 2019-05-01 by user florian

Following month ↑
2019-05-31
16:36
Demonstration of the copybtn.js module beyond tooltips: add a copy button near the full-length hash of check-ins on the /info page, to copy only the hash prefix when clicked. ... (check-in: 46f91da1 user: florian tags: copybtn.js-demonstration)
15:34
Auto-init HTML-defined buttons during the "DOMContentLoaded" event, so no more Javascript code required, apart from loading the copybtn.js module. ... (check-in: 148b0135 user: florian tags: tooltip-copyhash)
15:01
Revamp the comments, and refactor the code in preparation for an auto-init functionality for HTML-defined buttons. ... (check-in: 7fddf96c user: florian tags: tooltip-copyhash)
14:44
Check that the value of the "data-copylength" attribute is a positive number prior to chopping the text. ... (check-in: b9823751 user: florian tags: tooltip-copyhash)
2019-05-30
11:33
Add the "data-copylength" attribute to control the length of the copied text. (Rationale: Allow copying just the shortened hash prefixes from elements displaying the full-length hashes, because the short forms are preferred when building command-lines or URLs, and because the full-length hashes are already much easier to copy.) ... (check-in: 2e17a063 user: florian tags: tooltip-copyhash)
11:04
Revert the manual edits to the makefiles from [f6fcbf292b], and only keep the changes made by the src/makemake.tcl script. ... (check-in: 2002a508 user: florian tags: tooltip-copyhash)
2019-05-29
14:14
Apply the "hash-digits" setting to limit the length of hash prefixes displayed on tooltips. ... (check-in: 90e4f5ae user: florian tags: tooltip-copyhash)
14:02
Move the "Copy Button" functionality to a separate Javascript module, to be loaded and used independently from the timeline graph module. ... (check-in: f6fcbf29 user: florian tags: tooltip-copyhash)
12:55
More consistent naming of variables in the newly added Javascript part. ... (check-in: c887a1bb user: florian tags: tooltip-copyhash)
12:47
Give a visual feedback when the copy icon is clicked. ... (check-in: 3783706f user: florian tags: tooltip-copyhash)
12:39
Introduce the "copy-button" CSS class with the SVG icon as the background image, to simplify the Javascript part. ... (check-in: b0795ff6 user: florian tags: tooltip-copyhash)
2019-05-28
12:32
Cherry-pick [ac199e7a8a]: Explicitly query the client mouse coordinates, to fix the positioning of tooltips for nodes in IE. ... (check-in: 3b5e74c4 user: florian tags: tooltip-copyhash)
12:16
Explicitly query the client mouse coordinates, to fix the positioning of tooltips for nodes in IE. ... (Closed-Leaf check-in: ac199e7a user: florian tags: tooltip-experiments)
08:35
Tune the SVG image data URI for IE: remove the (invalid) encoding tag, and URL-encode the smaller than and greater than signs. ... (check-in: c0333891 user: florian tags: tooltip-copyhash)
08:11
Move the code to setup the "Copy Hash" icon to a separate function, and link the icon to the target element through a "data-copytarget" attribute, so that "Copy Hash" icons could be added in other places than just tooltips. ... (check-in: 54f0ae78 user: florian tags: tooltip-copyhash)
2019-05-27
09:19
Add a "Copy Hash" icon to the tooltip, to copy the hash or branch name of the underlying element to the clipboard. See the wiki page linked to this branch for more information. ... (check-in: 371943c9 user: florian tags: tooltip-copyhash)
06:58
Ensure the close timer is started for tooltips belonging to nodes instead of rails, and prevent an out-of-bounds array access for double-clicks outside of rails. ... (check-in: d57c1a79 user: florian tags: tooltip-experiments)
2019-05-21
09:40
Fix a bug introduced with [e0198213f3]: using "style.visibility" is essential to calculate the dimensions in the hidden state. ... (check-in: 3850b32c user: florian tags: tooltip-experiments)
09:12
Also add a configuration option to set the closeTimeout for tooltips. ... (check-in: e45429d7 user: florian tags: tooltip-experiments)
08:27
Resolve the fork. ... (check-in: fde231b2 user: florian tags: tooltip-experiments)
08:20
Deduplicate more code. ... (check-in: 7fbad143 user: florian tags: tooltip-experiments)
07:26
Deduplicate code, and consistently use "style.display" instead of "style.visibility" to show and hide the tooltip. ... (check-in: e0198213 user: florian tags: tooltip-experiments)
07:09
Auto-close the tooltip after a timeout, if the mouse pointer is no longer over the associated element. The auto-close timeout is elapsed (and the tooltip closed instantly) if the mouse pointer is over another element, paused (and reset) as long as the mouse pointer is over the tooltip, and cancelled (and the tooltip kept open) if the mouse pointer is moved back over the same element. ... (check-in: 3d5903ce user: florian tags: tooltip-experiments)
2019-05-20
09:45
Fix coding typos from the previous commit. ... (check-in: b4f1eb90 user: florian tags: tooltip-experiments)
08:32
Experimental change to have the tooltip appear automatically after a "dwell timeout", in addition to mouse clicks. See the wiki page linked to this branch for more information. ... (check-in: bba53370 user: florian tags: tooltip-experiments)
08:21
Classic styling for the tooltip (grey shadow, also works with dark backgrounds) and the hyperlink (blue and underlined, to indicate it can be clicked). ... (check-in: cdb85ba9 user: florian tags: tooltip-experiments)
08:19
Hide the tooltip if the mouse is outside the current timeline table, and outside the tooltip itself. ... (check-in: bd803b06 user: florian tags: tooltip-experiments)
08:14
Make the "click to show tooltip" action more "discoverable" with a changing mouse cursor, similar to the timeline nodes. This example uses the "pointer" cursor, but the "help" cursor may also be an option. ... (check-in: 8b8eaad8 user: florian tags: tooltip-experiments)
Previous month ↓