Tooltip Suggestion

@ganas thanks! Feel free to put in a contribution :slight_smile:

1 Like

@rmehta I’ll give it a try I’ll start working on it soon

The description field is nice, but I think a tooltip option in the frappe framework is nice. For example when creating custom doc types with many fields, it could get cumbersome to see a description under every field. Perhaps hovering or clicking the tooltip to show help if needed may make the interface less overwhelming. I am not sure how this would work in the mobile/app though.

@jpp There are best practices guidelines for implementing tool-tips in browser for desktop and mobiles, even guides for implementing them with in mobile apps. I have been going through them to figure out the best practice that goes well with Frappe framework interface. Keep in mind that tooltip with in bootstrap is responsive so it adapt to the screen size . here are some of the best practises for tooltip:

  • Open via click, not hover
    -Tooltip should be fully visible when opened
  • Keep your info-tips short and sweet
    and lots of other guidelines
1 Like

My thoughts exactly!
I was waiting for someone to mention the mobile keyword. One of the things that I love about ERPNext is that the interface looks awesome and homogeneous in mobile browsers! +1 like from me for your last post ^ .

I’m almost done implementing this feature even though I’m not developer whatsoever but the cleanness of Frappe team coding made it easy to follow. I am seeing if there is is any suggestions before contribute it

Here how it looks on my desktop
https://s4.postimg.org/hux43kzzx/Desktop.jpg
and here how it looks on my phone
https://s4.postimg.org/4gqfuyzwd/Mobile.jpg

and here you can specify the help information and the link for the help manual. its available for all fields and custom fields
https://s3.postimg.org/v49fzihcj/edit.jpg

basically when, you click on the label, if it has help information it will show up otherwise nothing happen. and if there is tooltip showing it hides as soon as you click or touch anywhere else.

Let me know what you think

5 Likes

Looks really neat, I like it. Thank you.

1 Like

@ganas looks nice. You want to send a pull request?

@anand what do you think?

1 Like

@rmehta I sent a pull request :slight_smile:

1 Like

@ganas @rmehta I think we should merge tooltip and description into one and hide descriptions completely.

The cursor when hovered over label should be a question mark.

Mobile browsers account for hover state by making them clickable. And, most users will start using mobile browser for data entry only after some experience with ERPNext, so I don’t think there’s any need for providing a visual affordance like a ‘?’ symbol near the label. We can show the question symbol when the focus is on the input.

2 Likes

Thanks for you inputs. Yeah your suggestion make complete sense.

  • Desktop: show “?” icon when hover or input field focus.
  • Mobile: show “?” when input field get focus.

I’ll look into that

2 Likes

Is there any update on this? I would love this feature.

@jpp Thanks for reminding me (I’ve memory of golden fish lol) any way I edited as anand suggested and put a pull request so it’s up to the team If they wanna add it to the framework
here the pul request
https://github.com/frappe/frappe/pull/2030

3 Likes

@ganas: This is a very valuable contribution. Very helpful and beautiful done.
I was dissapointed to read this in the corresonding github issue:

from @rmehta in guthub: @aboganas: Sorry we missed this. My personal take is that too much information is not good for the user. The UX needs to be clean enough so that we don’t need additional tooltips.
Should I close this?

I agree that a UI should be clean, but not that too much information is not good for the user! The more inforation the better. Erpnext is an excellent product, but lacks severely in documentation, and tooltips for every field can help tremendously.

As this software is already written and it looks good, why not implementing it? The filling in of the tooltips with relevant help texts, can be a task in which the community could help.

2 Likes

@ganas @rmehta how could one make a financial contribution to get this to happen?

It would be such a help to have information at hand for new users. It would make implementing at new businesses so much easier, I imagine resulting in widening its adoption.

Make a pull request?

OK, I understand from your answer, that currently there is no system in place for suggestions to be properly evaluated (its actual benefit to the whole ecosystem) by Frappe, to be developed under paid sponsorship.

The above, 100% or otherwise (not in exchange for advertising), with the intent of it then becoming 100% available for all for free.

Perhaps even including, as required in the quoted cost, its maintenance for the next 2 or 3 years (to keep it compatible with future versions of ERPNext), if that makes sense.

With this option not being available in-house, other non-developer users (like me) are then left with the option to go to a private developer and its possible repercussions (loss of opportunity to benefit everybody, etc.).

Hi @gtapias:

Maybe you can pay to that private developer to make the pull request on frappe public repository?
This way everyone can benefits of your contribution too.

Now we are talking :wink:

PM’ing you…

:joy: :joy: :joy: Sorry, I’m not your private developer :joy:
I mean “some private developer”!