Modify

Opened 9 years ago

Closed 9 years ago

#2696 closed enhancement (invalid)

Allow Custom fields to depend on components

Reported by: Pedro Algarvio, aka, s0undt3ch Owned by: Odd Simon Simonsen
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I've implemented the javascript logic for when creating or changing tickets, still needs changes on the admin part so that the user can choose from which components the custom field should be enabled. Current implementation get's the components from custom_field.components:

[ticket-custom]
trac_version = select
trac_version.components = Trac Workflow|Trac Plugin
trac_version.label = Trac Version
trac_version.options = |0.10.x|0.11.x
trac_version.order = 0
trac_version.text = "Trac Version"

Attachments (2)

components.2.diff (45.6 KB) - added by Pedro Algarvio, aka, s0undt3ch 9 years ago.
components.diff (45.6 KB) - added by Pedro Algarvio, aka, s0undt3ch 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by Pedro Algarvio, aka, s0undt3ch

This could be implemented on this plugin or create another "brother" plugin from the current state of this one.

comment:2 Changed 9 years ago by Pedro Algarvio, aka, s0undt3ch

Summary: Make Custom fields depend on componentsAllow Custom fields to depend on components

Admin part is also included in the above patch.

Changed 9 years ago by Pedro Algarvio, aka, s0undt3ch

Attachment: components.2.diff added

Changed 9 years ago by Pedro Algarvio, aka, s0undt3ch

Attachment: components.diff added

comment:3 Changed 9 years ago by Pedro Algarvio, aka, s0undt3ch

Resolution: invalid
Status: newclosed

Closing as invalid since it does not fit the plugin' scope.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Odd Simon Simonsen.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.