Description of problem:
Today if only you make a mistake you get red mark on custom property field with explanation how to use it correctly.
This explanation should be always available using question mark (inclusing specific example if possilbe)
This is not a network-specific issue - all custom properties in oVirt use the same widget (KeyValueModel/KeyValueWidget) and suffer from the same problem, so it would be best to solve this in these classes in a generic way. Care must be taken to make sure it doesn't break layout anywhere.
The informational message will have to be set on a per-usage basis and can be added by individual maintainers (perhaps use the default regex one if it's not overridden).
the explanation/description should be part of the custom property config
(In reply to Itamar Heim from comment #2)
> the explanation/description should be part of the custom property config
Unless I'm missing something, that means they won't be localized.
Are we okay with that?
(In reply to Oved Ourfali from comment #3)
> (In reply to Itamar Heim from comment #2)
> > the explanation/description should be part of the custom property config
> Unless I'm missing something, that means they won't be localized.
> Are we okay with that?
IIUC, today if you are filling an invalid custom-property value, "you get red mark on custom property field *with explanation how to use it correctly*".
I believe that this "explanation" is not localized today, which is not ideal, however I don't mind adding that exact same non-localized explanation elsewhere (i.e. in a tool-tip displayed when hovering on a newly-added help icon).
If/once we will take care of localizing DB-based values / configuration values / ..., we will obviously take care of all locations within the GUI in which this "explanation" appears.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.