wiki:CcSelectorPlugin

Version 7 (modified by vnaum, 6 years ago) (diff)

+drop-down box for "assign to" field

cc_selector plugin

Description

This plugin allows "visual" CC field editing.

A pop-up window with bunch of checkboxes is opened, user checks boxes, email addresses are added and removed to CC field. There is a list of pre-defined addresses in cc_selector.js (these addresses will always be available). These addresses should probably be taken from Trac database, but I'm too lazy for this - so, if you want to change this list you must edit cc_selector.js manually.

Of course, you can always edit CC field without all this hassle - all addresses you entered manually will be shown, too - and can be removed with new, shiny checkboxes.

Pretty useless, if you ask me, but my PM team finds this useful.

Javascript is working with Firefox, Mozilla and Internet Explorer 6. Opera / Safari reports are welcome.

It works with Trac 0.10, and it doesn't work with 0.11.

Bugs/Feature Requests

Existing bugs and feature requests for CcSelectorPlugin are here. If you have any issues, create a new ticket.

Want drop-down box for "assign to" field?

If you want drop-down box for "assign to" field - it's already in Trac since 0.9. All you have to do is set restrict_owner option of the [ticket] section in trac.ini to "true".

This page has more info on this.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Example

A pop-up window with bunch of checkboxes is opened, user checks boxes, email addresses are added and removed to CC field. screenshot

Recent Changes

[9445] by hasienda on 2010-11-18 20:23:35
CcSelectorPlugin: Change depreciated jQuery call to newer, compliant style.

Inspiration has been taken from #2705.

[9439] by hasienda on 2010-11-18 14:20:01
CcSelectorPlugin: Add basic i18n setup and message markup, closes #7733.

Initial message extraction has been done and German translations added.
And Happy Birthday to myself after finishing another delicate i18n work.

[9438] by hasienda on 2010-11-18 14:14:19
CcSelectorPlugin: Apply a bundle of small improvements.

For 10+ selections we add a dedicated close button into the popup window
beneath the list. JS code related to browser compatibility has been
obsoleted by rewriting with jQuery functions. Other changes have been
done mostly due to personal preference of certain coding styles.

Author/Contributors

Author: vnaum
Contributors:

Attachments (1)

Download all attachments as: .zip