ng-admin
ng-admin copied to clipboard
Add Tooltip/Popover for field configuration
Hi,
It would be great if you could add a tooltip / popover option for field configuration in the upcoming version.
Something like this:
I think it should have the question mark symbol next to the field like in the image above.
Neat idea. In the meantime, don't forget that you can use field templates to customize the fields at will.
I think that overriding every field with a template is too much work. Please provide an update on the status of this issue development. Thank you.
There is no update on the status of this issue development, because this is an open-source project where contributors add features when they actually need it, and on their free time. You're welcome to give a hand, too.
I thought I wanted this UI, so I wrote a directive override to achieve it. (details below)
On reflection, I think that this UI isn't great, even though it looks pretty on first glance. It's fiddly to use on a desktop client; very difficult to use on mobile clients and impossible to use on a screen reader. I think that the UI proposed on #1150 is much more user-friendly, even if it perhaps isn't quite as pretty.
Here's the code I added to create these "?" icons on the current version of ng-admin
: http://embed.plnkr.co/xQdRTUphBC3854a4VD1k/ (click "edit" on a user to see the "Father's last name only" hint)
Perhaps should we just add a hint
option instead, which would display a light text just below the field? Something like:
(Screenshot taken from https://github.com/callemall/material-ui/issues/2474)
@jpetitcolas -- yes, that's pretty much how the #1150 UI looks