Fossil

Timeline
Login

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

17 check-ins tagged with "tooltip-copyhash"

2019-06-03
08:51
Cherry-pick [2196555351]: Use the longer hash prefix for the click-to-copy. ... (Closed-Leaf check-in: 21f38e85b3 user: florian tags: tooltip-copyhash)
08:48
Minimize impact of the SVG icon on line height. ... (check-in: 787650c36a user: florian tags: tooltip-copyhash)
2019-06-02
12:32
Trim leading and trailing white space from the text to be copied to clipboard (do this in Javascript, so no need to care about the extra white space when generating HTML elements). ... (check-in: 6a54cf2939 user: florian tags: tooltip-copyhash)
2019-05-31
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: 148b01359c 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: 7fddf96cd6 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: b9823751c9 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: 2e17a063a2 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: 2002a50893 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: 90e4f5ae9f 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: f6fcbf292b user: florian tags: tooltip-copyhash)
12:55
More consistent naming of variables in the newly added Javascript part. ... (check-in: c887a1bb00 user: florian tags: tooltip-copyhash)
12:47
Give a visual feedback when the copy icon is clicked. ... (check-in: 3783706f67 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: b0795ff620 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: 3b5e74c4ca user: florian tags: tooltip-copyhash)
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: c033389140 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: 54f0ae7813 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: 371943c936 user: florian tags: tooltip-copyhash)