wiki:SavedQueriesScript

Version 3 (modified by markhamc, 6 years ago) (diff)

--

Saved queries using Google Gears

Description

Adds the ability to save queries using javascript and Google Gears on a user's computer. Adds a drop-down menu of saved queries to the "View Tickets" button on the toolbar.

Caveats

  • Only tested with the default theme on 0.10
  • Requires Google Gears and stores the saved queries on the local computer only

Installation

  1. Add the included javascript files to a web-accessible directory (e.g. %PYTHON%/share/trac/htdocs/js)
  2. Edit the query.cs template (%PYTHON%/share/trac/templates/query.cs) and add <script> tags for the two files
    <head>
    ...
    <script type="text/javascript" src="include/gears_init.js"></script>
    <script type="text/javascript" src="include/savedqueries.js"></script>
    </head>
    <body>
    ...
    

Bugs/Feature Requests

Existing bugs and feature requests for SavedQueriesScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

Screenshots

Recent Changes

[4873] by markhamc on 2008-11-25 18:26:10
Initial import
[4872] by markhamc on 2008-11-25 18:09:28
New hack SavedQueriesScript, created by markhamc

Author/Contributors

Author: markhamc
Contributors:

Attachments (3)

Download all attachments as: .zip