Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tooltip/Popover for field configuration #791

Open
shahar3012 opened this issue Nov 14, 2015 · 6 comments
Open

Add Tooltip/Popover for field configuration #791

shahar3012 opened this issue Nov 14, 2015 · 6 comments

Comments

@shahar3012
Copy link

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.

See:
Bootstrap Tooltips
Bootstrap Popovers

@fzaninotto
Copy link
Member

Neat idea. In the meantime, don't forget that you can use field templates to customize the fields at will.

@shahar3012
Copy link
Author

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.

@fzaninotto
Copy link
Member

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.

@RichardBradley
Copy link
Contributor

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)

@jpetitcolas
Copy link
Contributor

Perhaps should we just add a hint option instead, which would display a light text just below the field? Something like:

image

(Screenshot taken from mui/material-ui#2474)

@RichardBradley
Copy link
Contributor

@jpetitcolas -- yes, that's pretty much how the #1150 UI looks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants