Opened 20 years ago
Closed 14 years ago
#899 closed enhancement (duplicate)
[PATCH] Allow hints for custom fields in tickets
Reported by: | pkou <pkou at ua.fm> | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | devel |
Severity: | normal | Keywords: | patch |
Cc: | ryano@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Custom fields often require additional explanations for developers. It is possible to resolve this problem by adding popups that will appear when user points mouse over a custom field.
Attached patch provides a solution for this problem:
- In trac.ini, new property field.hint can be used;
- In generated HTML, hints are implemented using HTML title attribute.
Attachments (3)
Change History (16)
by , 20 years ago
Attachment: | patch-customtitle-r1036.diff added |
---|
comment:1 by , 20 years ago
Note that TracTicketsCustom needs to be edited when this ticket is closed.
comment:4 by , 18 years ago
Milestone: | 0.11 → 0.12 |
---|
0.12 I meant (i.e. not necessarily for 0.11, but why not if done part of the workflow changes…)
by , 16 years ago
Attachment: | 899-custom-field-hints-r7495.patch added |
---|
Patch against trunk adding optional hints to custom ticket fields
comment:5 by , 16 years ago
Keywords: | patch added |
---|---|
Milestone: | 0.13 → 0.12 |
Owner: | changed from | to
The patch above adds the .hint
option to custom ticket fields, and if present, adds a title
attribute to the control corresponding to the field. Radio buttons are grouped in a <span>
to set the title for all at once.
by , 16 years ago
Attachment: | 899-custom-field-hints-r7495.2.patch added |
---|
Complete patch including unit tests
comment:7 by , 16 years ago
I like the idea of hints - they are useful. However, I'm very unsure about adding features for custom fields until we have an idea about what the future holds for fields in general (0.13+ seems to have field refactoring on the agenda):
- We would then have hints for custom fields, but not for regular fields.
- 0.12 translates labels for regular fields, but not custom fields.
- Hints (as all help) should be translatable in some way…
comment:8 by , 16 years ago
Milestone: | 0.12 → 0.13 |
---|
Re-scheduling for 0.13, as this could be in the way of i18n.
comment:9 by , 14 years ago
Milestone: | next-major-0.1X → unscheduled |
---|---|
Owner: | removed |
comment:10 by , 14 years ago
#925 may be related, and maybe a solution using javascript at http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin
comment:11 by , 14 years ago
Cc: | added |
---|
follow-up: 13 comment:12 by , 14 years ago
I've created a more general version of this patch (usable for all ticket fields, not just for custom fields). It's tracked here: #9648
comment:13 by , 14 years ago
Milestone: | unscheduled |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Replying to Sebastian Krysmanski <sebastian@…>:
I've created a more general version of this patch (usable for all ticket fields, not just for custom fields). It's tracked here: #9648
This is indeed a much improved version of the patch here. Closing as a duplicate of #9648.
Patch for the changes