Opened 13 years ago
Last modified 5 years ago
#3281 new enhancement
make Keywords field optional
Reported by: | wkornew | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | ticket system | Version: | 0.9.5 |
Severity: | normal | Keywords: | tracobject conditional fields |
Cc: | wkornewald, ilias@…, leho@… | Branch: | |
Release Notes: | |||
API Changes: |
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 (2)
Change History (24)
comment:1 by , 13 years ago
Milestone: | 0.9.6 |
---|---|
Severity: | major → normal |
by , 13 years ago
Attachment: | ticket-api.keywords.diff added |
---|
by , 13 years ago
Attachment: | optional-keywords.patch added |
---|
cleaned up. includes documentation for show_keywords. patch against trunk
comment:3 by , 13 years ago
Cc: | added |
---|
comment:4 by , 13 years ago
Cc: | added; removed |
---|
So, will nothing happen with this? Will it be fixed with the workflow branch?
comment:5 by , 13 years ago
The SimpleTicket plugin already fixes this. You can hide whatever fields you want.
follow-up: 7 comment:6 by , 13 years ago
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?
comment:7 by , 13 years ago
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.
comment:8 by , 13 years ago
No, I meant that you must give people a new permission (SIMPLE_TICKET or something like that).
comment:9 by , 13 years ago
Cc: | 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.
comment:10 by , 13 years ago
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.
comment:11 by , 13 years ago
Keywords: | tracobject conditional fields added |
---|---|
Milestone: | → 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.
comment:13 by , 12 years ago
adding my request for this change, we don't need the Keywords field and would like to be able to make it disappear. Thanks
comment:14 by , 10 years ago
Two years passed and keyword is still there.
I found this through Google and can only support all the guys wanting it to be removed. For their very reasons (unused, drains up user attention.)
comment:15 by , 10 years ago
Keywords is the only default way to structure information in your own way. They should be present. There could be an option to turn them off, though.
comment:17 by , 10 years ago
We remove this in our ticket template file. Seems like an acceptable solution to me.
comment:18 by , 10 years ago
Why not implement post_process_request on an request filter installed by a plugin of yours? That way, you could remove the field from the template prior to that it gets served to the client, without the need to have yet another configuration option.
comment:20 by , 9 years ago
Milestone: | triaging → next-major-0.1X |
---|---|
Owner: | removed |
comment:21 by , 8 years ago
This keyword field annoys. Kindly remove this keyword from the main template or make it optional.If needed we can add it as a custom field.
comment:22 by , 5 years ago
Cc: | added |
---|
please patch ticket/api.py