Edgewall Software

Ticket #3281 (new enhancement)

Opened 3 years ago

Last modified 16 months ago

make Keywords field optional

Reported by: wkornew Owned by: jonas
Priority: normal Milestone: 1.0
Component: ticket system Version: 0.9.5
Severity: normal Keywords: tracobject conditional fields
Cc: wkornewald, ilias@…

Description

It is very annoying that the Keywords field takes up screen space even if it's not needed. I know that it has been requested by many people, but I'm sure that there are even more people who don't use it, at all. Please make it optional.

Why is it not possible to make the Keywords field one of those [TracTicketsCustomFields]?

Attachments

ticket-api.keywords.diff (0.8 KB) - added by wkornew 3 years ago.
please patch ticket/api.py
optional-keywords.patch (0.8 KB) - added by wkornew 3 years ago.
cleaned up. includes documentation for show_keywords. patch against trunk

Change History

  Changed 3 years ago by eblot

  • severity changed from major to normal
  • milestone 0.9.6 deleted

Changed 3 years ago by wkornew

please patch ticket/api.py

  Changed 3 years ago by wkornew

BTW, the patch is for V0.9.5. ;)

Changed 3 years ago by wkornew

cleaned up. includes documentation for show_keywords. patch against trunk

  Changed 3 years ago by wkornew

  • cc wkornew added

  Changed 2 years ago by wkornewald <wkornewald>

  • cc wkornewald added; wkornew removed

So, will nothing happen with this? Will it be fixed with the workflow branch?

  Changed 2 years ago by Noah Kantrowitz <coderanger@…>

The SimpleTicket plugin already fixes this. You can hide whatever fields you want.

follow-up: ↓ 7   Changed 2 years ago by Waldemar Kornewald <wkornewald>

Actually, I wanted a less hacky solution (SimpleTicket? requires having a new permission policy, etc.). Keywords could be implemented with custom fields or is there special code for them somewhere?

in reply to: ↑ 6   Changed 2 years ago by Noah Kantrowitz <coderanger@…>

Replying to Waldemar Kornewald <wkornewald>:

Actually, I wanted a less hacky solution (SimpleTicket requires having a new permission policy, etc.). Keywords could be implemented with custom fields or is there special code for them somewhere?

SimpleTicket does not require anything related to the security branch, it runs on plain ol' 0.10.x.

  Changed 2 years ago by Waldemar Kornewald <wkornewald>

No, I meant that you must give people a new permission (SIMPLE_TICKET or something like that).

  Changed 2 years ago by ilias@…

  • cc ilias@… added

you can verify this issue from the tracx plugin (on top of 0.11dev), which goes a step further to provide different ticket-fields for different ticket-types.

Once implemented, this should cover your needs.

sidenot: stable versions get only 'bugfixes'. So, your patch (functionality) provided for 0.9.5 will most possibly not be applied (= 'wontfix').

To team: this issue should be generalized ('make ticket fields optional', for 0.11dev) or alternatively closed as 'wontfix', as it affects an old release.

  Changed 2 years ago by Waldemar Kornewald <wkornewald>

Just to clarify. This has the problem that TRAC_ADMIN and TICKET_ADMIN still have access to the keywords field. I can provide a new patch (for 0.10 or 0.11), of course, but the real solution would probably be to remove the field completely. It's not needed everywhere, anyway. This should probably be implemented with a generic "tag" plugin which also allows for showing tag clouds. At least, this field isn't used by everyone and Trac should only provide the greatest common denominator. The rest should be done with modules or custom fields. IMHO, of course.

  Changed 22 months ago by cboos

  • keywords tracobject conditional fields added
  • milestone set to 1.0

Thinking about #2464 and its generalization to conditional custom fields, I wonder if that could not be extended to regular fields as well (and anyway, the difference is blurred in the GenericTrac proposal).

In this view, the precondition for the Keyword: field could simply be false, so that it'll never apply.

In a similar way, the th:SimpleTicketPlugin effects could be obtained by having tests for the permissions in the precondition.

  Changed 22 months ago by cboos

#5078 was another request for the same feature.

  Changed 16 months ago by asloan12@…

adding my request for this change, we don't need the Keywords field and would like to be able to make it disappear. Thanks

Add/Change #3281 (make Keywords field optional)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.