-
Notifications
You must be signed in to change notification settings - Fork 40
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
[UX][D8] Make position of #description (help text) configurable via the API #1403
Comments
It would be hard to evaluate whether this is a good change to make, considering the thousands of different use cases of descriptive text with fields of different types. And since having the help text below the field is a long-standing drupal standard, we should probably not change it on a whim. Perhaps we should consider alternate ways to resolve this issue, such as a new setting for whether the help text is is above or below the the field inputs, a contrib module that makes the change across the entire site for those who want it, or better visual indication that the help text is tied to the field above it. |
Fair enough, though for me it is a bit more than a whim. It is a significant UX irritation. @sutibun what do you think? |
Generally speaking, this is a UX fail.
Here's a quick example from #1282 (think the search settings page?) What does "active search modules" mean? Do you think a user would easily grasp the meaning behind this title? Not likely. This will cause confusion. I know because it confused me when I first encountered this not too long ago. Yes, in Bd. (Theory: if it confuses even me, it's likely normal users won't stand a chance) Let's start from the beginning again. So, a user will first read a confusing title, then still not knowing what's what will then encounter two checkboxes and then finally hit the descriptive text that provides the context and understanding. Isn't that the wrong order? Shouldn't the user first understand what is going before encountering any UI element? Of course! Presenting UI elements before the user orients him/herself is a recipe for confusion. This wouldn't be such a big trouble if for the most part, Drupal was easy to understand. But it's not. More often that not, users will find lots of quirky things that need an explanation. So, this is why it's best to move the help text near the label so you'll get the following process
I am in the fortunate (unfortunate?) position where I am not an advanced Drupal user so I am still tripping over Drupal/Bd and experiencing these pitfalls. I think if you know Drupal/Bd well, this doesn't seem like a big deal but I'd argue it is.
"a long-standing drupal standard" That isn't a good argument. "Standard" makes it sound nice and authoritative... something not to challenge. But that is far from the truth. Standard just means it's what been done for ages BUT Drupal isn't exactly the most friendly CMS so more reason to change how it was done. Having said that though, ultimately the best solution is to design Bd so it's more user friendlier and intuitive so we won't have to rely on help text. The moment you HAVE to explain a design element, that's a sign you still have more work to do. To me help text is a crutch. But since it'll take time to refine Bd, moving the help text closer is a step in the right direction. A short term gap. My two cents. |
What this means is she has adapted to Bd's quirkiness. Or really, just puts up with it. Although it might seem small but this tiny friction contributes to the feeling that Bd is just hard to work with. Little by little these things add up to overall frustration. |
The underlying issue here is that different "level" of users expect different things...
So the question is: "Do we target newcomers or old-timers?" and as a side-question: "Can we find a way that sorts this issue for both?" I do not have the answer for these questions. Perhaps as a veteran I get a bit selfish and tent to ignore the needs of people trying to learn Drupal/Backdrop in favor of getting things faster and having a cleaner UI. Here's what this situation got me thinking though... in some video games there is a "Show tooltips" or "Enable tutorial" checkbox/mode. Can we have a "sticky" ❓ help icon that gets the help text out of the way (completely - all of it!)? Thoughts? |
...how about help icons next to each element that shows the help text as a tooltip on hover (click on mobile, touch devices)? |
@Graham-72 having markdown links point to domain+path without the leading |
Just as a reference, there is https://www.drupal.org/project/beautytips that works by revealing a help text balloon/tooltip upon field focus: (personally don't like this solution because it does not give any visual indication that a help text is actually available). |
Here's a few more articles/screenshots of similar things to what I proposed: https://ux.stackexchange.com/questions/53950/helptext-area-vs-help-tool-tip-icons-on-click http://howto.caspio.com/datapages/datapage-components/field-configuration-options/rollover-hints/ https://www.drupal.org/sandbox/guillaumev/2074309 CiviCRM example of a form with help icons/tooltip: |
Thanks for all those references @klonos - plenty to think about. Perhaps we should also look at what Wordpress offers its users. I don't know whether this is typical but how about this example taken from a narrow right-hand column: |
You see, I understand that this provides the instructions for people that have not used this before, but once I have done it once and I am familiar with how to do it, then this rather lengthy text is in my way and simply adds clutter. I would like to get it out of my way. Now, if all this was to be "hidden away" under a ❓ or ℹ️ icon next to the field label and only shown once someone actually clicked there, it'd be perfect. This design as is assumes that everyone would need this info available all the time. That is not true though. Think MS Office and the paperclip: most everyone though it has cute and helpful at first, but when you had it coming again and again telling you the same tips over and over while doing the same task, it got annoying. |
Yes, perhaps it is a poor example of useful text (too much of it) but at least it is above the field. |
Precisely why I'm not particularly font of inline help text. If we have a general standardized way of placement (either above or below elements) throughout the entire UI, although it might be ok with small portions of text, it gets really messy with big help text ...especially in small screens. If you have strong feelings about getting the help text as close to the label of the fields, I believe that we can explore two different ways implementation-wise... either have the help text in a pop-up tooltip that pops close to the field or have it so that the help text is inline with the rest of the document (as opposed to having it in a separate pop-up dialogue) and so that clicking the help icon toggles the help text visibility (possibly with some animation a la fieldset or similar). Either way and anyway, I think that we should aim to simplify the UI by hiding help text and denoting its existence by icons that toggle visibility. |
...never mind this particular comment of mine. After careful consideration, I think that it is best to have the help text between the label and the actual input elements in general (which is what this issue was filed for). Especially if one considers as an example use case a set of many checkboxes or radios. Having the help text after the input elements in such cases actually places it far from the eye of the user (and most likely out of the view port in smaller screens) which constitutes a major UI fail. I'll file a separate issue for my proposal to hide help text behind a help icon. |
...the overlay has been with us for quite a long time and can be considered a long-standing drupal standard UI-wise. I'm not sure you'll find a lot of people to say that it was a good thing though 😉 |
@docwilmot ...seems we were thinking the same thing at the same time. |
...double ditto 😄 |
Thanks guys. You have made me happy!
I will add ot to my personal to-do list for 2016 - unless someone else gets there first. |
@klonos Nice. You widened the discussion with alternatives. Monkey was focusing too much on help text and only help text.
Monkey, the champion of the new user ^_^ Anyway, the help text doesn't bother me even after I know how to use a page. But maybe others are different. If it's a big issue, how about the following:
|
I think that this implementation here would greatly improve the UX, but unfortunately not when on mobile. Please see the screenshot I've posted in #1414 (comment) that shows that the clutter and need for long scrolling is there even after moving the help text between the label and the input. I strongly believe that after implementing this thing here, we should also implement #1414 and have it switch to that by default when we hit a mobile breakpoint. |
Didn't think about mobile. Good digging. Hmm... will have to agree then. So, how about we have this on the config page:
|
Yes please! |
I am in support of moving it to just below the label for all fields, for consistency. |
@stpaultim I've edited the title. It's configurable via the API (with a new |
@stpaultim I think your comment about image field's default vs custom help text is a separate issue. It would require some other solution than what is proposed here, which deals with |
I've marked this WFM. Does someone want to be the advocate for this issue, so we can add it to the milestone. https://docs.backdropcms.org/documentation/adding-milestones-to-issues
Or do a code review and mark it RTBC. Any issue that is WFM and RTBC can be added to the milestone.
|
I was away from my desk for a few days. I'll advocate, but looks like it'll have to be for 1.30 at this point. @stpaultim |
This looks really good @herbdool! I reviewed it and only found a few very minor things. Review in the PR: backdrop/backdrop#4798 (review) Although fieldsets include descriptions, I had to confirm that |
@quicksketch ready for another review. |
Looks good to me! |
Wow, opened for nearly 10 years. Thank you everyone for adding to the discussion along the way. I've merged backdrop/backdrop#4798 into 1.x for 1.30.0. Lots of thanks to go around on this one. Of course @herbdool for bringing it to code and filing the PR, great work as always. Thank you @klonos, @stpaultim, and @olafgrabienski for testing (and earlier feedback). And thank you to our brainstormers @Graham-72, @jenlampton, @sutibun, @oadaeh, @klonos (again) and @docwilmot. |
This has been addressed in D8 core: #314385 Make position of #description configurable via the API, which makes this part of #378
D8 change record: https://www.drupal.org/node/2324025
Comment by a user in the D8 issue:
Contrib modules that help with this
Original report
I would like to see a field's description/help text appear above the field rather than after, as would surely be the case with forms in everyday life (i.e. non-Drupal/Backdrop).
I have just read Drupal 7 - Move field's help text (description) between the label and input element(s). Do we have a Backdrop view or decision on this?
See #1351 for one example.
Advocate: @herbdool
The text was updated successfully, but these errors were encountered: