wiki:InfoSnippetPlugin

Version 3 (modified by figaro, 3 years ago) (diff)

Cosmetic updates

Copy ticket information to clipboard

Description

This plugin assembles ticket information like ticket number, summary and URL all together at one place in the ticket view. The user can then use a button to copy this information as text into the system clipboard.

The plugin is rather simple. It uses JavaScript to create a "Ticket Info" box (aka. snippet) below the ticket properties. The snippet would contain project ID, ticket number, title and URL. With JavaScript the information snippet is copied to the clipboard.

screenshot

Motivation

Many people used to refer to tickets in e-mails. One may want to include the ticket number the ticket summary (aka. title) and the ticket URL - kind of a ticket snippet. Of course, basically the process is simply a copy&paste via clipboard, because all these information fragment are prominently present in the Trac ticket page. However, one has to do copy&paste multiple times. We want more convenience with this copy&paste of ticket information. It might not count for just one ticket, but if one frequently has to do it for dozens of ticket, then it becomes tedious.

Bugs/Feature Requests

Existing bugs and feature requests for InfoSnippetPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out InfoSnippetPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

After installation enable the plugin in the ini-file:

[components]
InfoSnippet.* = enabled

No configuration options need top be applied.

Recent Changes

18039 by clemens on 2021-03-03 19:25:09
better spacing for COPY button on wiki pages (avoid collision with "last modified")
17988 by clemens on 2021-02-07 22:26:36
tuned debug log
17987 by clemens on 2021-02-07 22:21:53

Version 0.3

  • now supporting also wiki pages
  • better internal Java-Script structure with sub-functions CreateNav() and CreateBox()
(more)

Author/Contributors

Author: clemens
Maintainer: clemens
Contributors:

Attachments (3)

Download all attachments as: .zip