プロジェクト

全般

プロフィール

Vote #74017

完了

Add hinting to custom fields

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
155
issue_org_id:
14275
author_id:
6103
assigned_to_id:
332
comments:
9
status_id:
5
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I have developed a plugin called "redmine_custom_field_hints" which seems that it may lend itself to the core as a nice feature.

While there is the option to specify a default value for custom options, there is no way to provide a static "hint" which disappears when the user focuses the input and reappears if the input is empty when blurred.

This module only applies to issue custom fields; however, it can easily be expanded to all other custom field types. It will only work with "string", "text", and "date" input types.

This feature "push" was requested by "cforce":https://github.com/bpat1434/redmine_custom_field_hints/issues/1

Plugin Repository: https://github.com/bpat1434/redmine_custom_field_hints


journals

+1 for core feature
--------------------------------------------------------------------------------
Please take this feature into accoutn for next release, its a low hangig fruit and very usefull. Online helps/hints makes every system much more usable..
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The attached patch adds a feature very similar to the plugin. Instead of

to show the custom field's description as a placeholder. Instead of "Hint Text" column added by the plugin, it uses the custom field's description as a placeholder text.

!{width: 340px; border: 1px solid grey;}.placeholder.png!

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Split the patch into two parts:

* attachment:0001-Use-a-variable-to-reference-a-CustomField-object.patch: code cleanup
* attachment:0002-Show-a-custom-field-description-as-a-placeholder.patch: implements the feature
--------------------------------------------------------------------------------
Setting the target version to 5.0.0.
--------------------------------------------------------------------------------
Committed the patches.

Now the description of a custom field is shown as a placeholder.

!{width: 340px; border: 1px solid grey;}.placeholder.png!
--------------------------------------------------------------------------------


related_issues

relates,Closed,15699,Description for custom fields

Admin Redmine さんが約4年前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン5.0.0_155 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0