Opened 3 years ago

Last modified 2 years ago

#11498 accepted enhancement

Provide hints in render_ticket_action_control

Reported by: ethan.jucovy@… Owned by: ejucovy
Priority: normal Component: WorkflowNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release:


WorkflowNotificationPlugin currently does nothing in render_ticket_action_control, since it doesn't itself provide any workflow actions.

However, it should return None, None, hints instead of None, None, None as it currently does.

The hints would inform the user about the email(s) that will be triggered. I'm thinking subject and recipients would be most appropriate, e.g.:

[Next status will be closed. The resolution will be set to _.] An email titled "Your ticket has been closed" will be sent to joe. An email titled "The ticket you are watching has been closed" will be sent to bob and nancy.

Not sure if we would be able to do this with 100% accuracy in case of .condition properties.

Nice-to-have: hover over a hint sentence to preview the full email that will be sent.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by ethan.jucovy@…

Whoops - forgot to update this ticket when I implemented this feature.

There's a bug in the hints (they aren't condition-aware) reported in #11924.

And i have to make a new release containing this feature -- the last release, 0.5, was before this change was made.

comment:2 Changed 2 years ago by ejucovy

  • Status changed from new to accepted

Add Comment

Modify Ticket

as accepted The owner will remain ejucovy.

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

Note: See TracTickets for help on using tickets.