wiki:CcSelectorPlugin

Version 9 (modified by vnaum, 5 years ago) (diff)

Developer list is fetched from DB

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.

Developer list is fetched from DB. Users who logged in at least once (see session table in trac db) and have 'TICKET_VIEW' permission are listed. If you better like "old" variant (hardcoded list in javascript file) for some reason - you should stick with [r4001 older release].

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 both Trac 0.10 and 0.11 (since rev3531).

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