wiki:GridModifyPlugin

Version 19 (modified by rjollos, 22 months ago) (diff)

Added related plugin.

Grid Modify Plugin

Description

For any ticket field this plugin modifies the query and report views of tickets to include a widget for editing those values. This works for all field types except for textareas.

Changes to any of the widgets will immediately fire off an AJAX request to update the ticket so there is no need to press any save or submit button. A small icon will show the progress of each ajax request (in progress, succeeded, failed) once it is fired off.

The status of the updates is logged to Firebug's console if you have that installed.

This plugin uses Genshi and therefore only works with Trac .11 (and up?).

See also: TracReportInplaceEditPlugin, BatchModifyPlugin

Configuration

Note that the feature is only enabled for users who have been granted the TICKET_GRID_MODIFY or TICKET_ADMIN permission.

You can limit the fields to which gridmodify applies by specifying them in trac.ini.

[components]
gridmod.* = enabled

[gridmodify]
fields=status,priority,milestone,scope,blockedby,estimatedhours
  • Note: 'fields' does not allow to have blank spaces between every argument. The previous argument to a blank space will be the last editable field in grid mode.

Bugs/Feature Requests

Existing bugs and feature requests for GridModifyPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

The current trunk is tested only with Trac 0.12. If it fails with 0.11 the old version is available in branches/0.11, but you are also welcome to create a ticket for any 0.11 problems with the trunk version.

Example

  • Quickly work through many tickets in a given report or query assigning priorities to each one. This is useful in a team meeting for instance.

Screenshots

Click on the image to see the full size version:

Dropdown boxes on the custom ticket query page:

Recent Changes

[12235] by rjollos on 2012-10-22 13:21:11

Refs #10519:

  • Added changelog entry for #10519/[12234]
  • Minor code refactoring and reorganization.
[12234] by rjollos on 2012-10-22 03:14:04
Fixes #10519: Ticket property changes were not being included in the email body.
[12228] by rjollos on 2012-10-20 03:43:12
Refs #6514:

  • Follow-on to [8322]. Refactored to use the more abstract send and send_error methods of the Request class.
  • The exception from the Ajax callback is now logged.
  • Replaced $ with jQuery in the global namespace, to avoid conflicts.


Author/Contributors

Author: abbywinterscom
Maintainer: bjornharrtell
Contributors: Zach Miller, Björn Harrtell

Attachments (2)

Download all attachments as: .zip