Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.0
-
None
-
class editor property hint
-
Unknown
-
Pull Request accepted
-
Description
Since the addition of the Vertical Forms Standard, we have been feeling the need to specify hints for class properties that are used in edit forms.
If we want to achieve this right now, we need to manually construct a translations key convention similar to "Space.Class_property.xHint=Hint" (as suggested by http://xwiki.markmail.org/thread/x52y3gfeolqsmfik).
What we should do instead, is to add a new property metadata called 'hint' that would serve 2 purposes:
- Act as class property documentation
- Act as property hint in vertical forms
- Act as form element hint in the object editor when editing a property
In this 'hint' metadata we should be able to enter a static string or an call to the message tool. An example of such a field is: XWIKI-7690
A couple of years ago, we used to have the tooltip metadata, but it was marked as unused 3 years ago and is now hidden by default: XWIKI-3635
While we could just re-enable this tooltip property, semantically it would not be completely compatible, since the original idea of tooltip was to show a tooltip to the user when the mouse hovered an input. This is no longer needed with the Vertical Forms Standard.
Note that the need for property hints is also present in ApplicationWithinMinutes so it is yet another reason to include it in the class editor.
Attachments
Issue Links
- blocks
-
XWIKI-7373 Add Required and Hint meta properties for class fields
- Open
-
XWIKI-6307 Add an explanation next to the fields in user profile
- Closed
- is duplicated by
-
XWIKI-13646 Alignment issue of WYSIWYG editor in the object editor
- Closed
-
XWIKI-13827 Add possibility to add helptexts to every field in the App Within Minutes Application
- Closed
- is related to
-
XWIKI-7538 Support for displaying a field hint in the standard Admin sheet
- Closed
-
XWIKI-3635 Improve the object and class editors
- Closed
-
XWIKI-7716 Use .xform style standard in the User Profile
- Closed
- relates to
-
XWIKI-15028 Class pages exported on newer XWiki versions fail to be imported on older instances
- Closed
-
XWIKI-15416 The field configuration pane shows the "Hint" label without the text input
- Closed
-
XWIKI-6299 Implement a mechanism to be able to display information near configuration fields
- Closed