Closed metas-ts closed 5 years ago
from IT for https://github.com/metasfresh/metasfresh/issues/4556:
Show Product note as tooltip in order line:
I think it makes sense but will be tricky to implement, as tooltip is a widget which only gets active after clicking the product name. I'll try to think of something.
@siemiatj maybe you can thread the tooltip-composite-field like a field or table column of it's own right. Apart from needing to be near it's "main" field (in this case M_Product), it'S pretty independent afaiu.
Is this a bug or feature request?
FR
What is the current behavior?
What is the expected or desired behavior?
Widget with additional included fields
this is the JSON layout info that the API provides today:
in the frontend, this look like this (more or less, note that in the screeshot, AD_User_ID is null):
if e.g. the field
AD_User_ID
shall not be awidget
, buttooltip
. how should the json look in that case.. idea: introduse a property (or is it called variable?) called type which can be widget or overlay. in case of widget, everything stays the same. in case of overlay ...there is an additional property
icon
... icon-values can betext
,help
and more...they refer to small images..e.g. there is atooltip-help.png
file somewhere in the webui-frontend. so the API might return some JSON like:which could look like this:
"Single-Field" widget
The example above is about the case of a lookup widget that contains "internal" widget. There is also the case of a "normal field"
Right without any tooltip (right now) the JSON for the M_Warehouse_ID looks like this:
with the same two tooltips that we have above, the JSON would look like this: