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- Tested on 0.11.4 as well
- Requires Google Gears and stores the saved queries on the local computer only
- Manual installation required
- Only works with the Query module
- Requires the Reports module to be disabled so that the "View Tickets" tab points to the query module
Installation
- Add the included javascript files to a web-accessible directory (e.g. /var/www/trac_include)
- Edit the
query.cssite.html template(%PYTHON%/share/trac/templates/query.cs)(<environment>/templates/site.html) and add <script> tags for the two files<head> ... <script type="text/javascript" src="/trac_include/gears_init.js"></script> <script type="text/javascript" src="/trac_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 11/25/08 18:26:10
Initial import
[4872] by markhamc on 11/25/08 18:09:28
New hack SavedQueriesScript, created by markhamc
Author/Contributors
Author: markhamc
Contributors:
Attachments
- screenshot1.png (136.3 kB) - added by markhamc on 11/25/08 18:27:01.
- screenshot2.png (121.4 kB) - added by markhamc on 11/25/08 18:30:26.
- menu.png (6.1 kB) - added by markhamc on 11/25/08 18:32:27.


