#SCB2981 (In progress) Add hints for attributes.

Hussayn Dabbous <[email protected]> Wed, 22 Jul 2009 16:36:00 +0200 (CEST)
Newsgroups gmane.comp.java.scarab.issues
Message-ID <[email protected]>
*SCB2981 [Enhancement] - Add hints for attributes.*

-------------------------------------------------------------------------------
*Reasons for the changes*
-------------------------------------------------------------------------------
  - added myself as assignedTo as this looks like work in progress ;-)


-------------------------------------------------------------------------------
*Attribute changes*
-------------------------------------------------------------------------------
  - Status:  Unconfirmed --> In progress  


*Comment Hussayn Dabbous*

Ah! I understand, what you mean.

Well, the solution is more complicated as you describe. At least if you want to keep maximum flexibility. And here is why (my opinion only!):

Although always placing the Description into a Tooltip might seem to be a good approach, i am not convinced that this is actually the correct approach here. It depends on what the Attribute description is good for. In our context it makes sense to show the attribute decription as tooltip in some places. In other places it makes more sense to directly display the hint within the attribute label. And finally there may be circumstances, where we just want to keep things as they are, namely keep the attribute description invisible since it is only relevant for the administration.

The "cleanest" approach would probably be to add more Table columns to SCARAB_ATTRIBUTE for Tooltip, inline_display, etc... But IMHO this is very static and inflexible and the whole issue should be handled on a higher level (with lower impact into the basic structures). 

My favorite approach is to add tagging-semantic here which could be elaborated as follows:

{{{
<here comes the description as before>
[hint]<the hint text appears right below the attribute label>[/hint]
[tooltip]<the tooltip text appears on mouse hover>[/tooltip]
[...]...[/...]
}}}

where we can add tags as needed without much effort. Then we only need to add the adequate modifications on the GUI layer where we need the additional tags.

That sounds to me as a very flexible solution with close to no implementation efforts.
I think that implementing such a tagging system would be a matter of 2 hours (ok, maybe 4 hours in the Scarab environment ;) and it would give us many possibilities to enhance the GUI without modifying the basics.

What do you think ?

-------------------------------------------------------------------------------
Activity generated by Hussayn Dabbous ([email protected]) at 07/22/2009 16:27

[Scarab]: http://www.solitone.org/scarab/issues/id/SCB2981

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=458&dsMessageId=2374455

To unsubscribe from this discussion, e-mail: [[email protected]].