Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
From the list by Gábor Hojtsy at #610234: Overlay implementation - breaking it out into its own issue now:
close button is at top, so it might be hard to close the overlay when in a tall admin page (unless you know you can use ESC); usability testing also found the close button is not evident to at least one users (possibly not conclusive), see http://drupal.org/node/517688#comment-1900132
Comment | File | Size | Author |
---|---|---|---|
#34 | SaveAndCloseOverlay.jpg | 49 KB | Noyz |
#30 | cose.png | 13.91 KB | bleen |
#25 | Testing | d7-1.jpg | 20.02 KB | bleen |
#24 | Testing | d7.jpg | 45.82 KB | bleen |
#13 | overlay-fixedclosebuttonseven.patch | 499 bytes | casey |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedO_o what does the description mean...
Every close button is at the top of the page...
Comment #2
casey CreditAttribution: casey commentedThere's no patch to review.
We can close button make position:fixed so it stays visible while scrolling...
Comment #3
aspilicious CreditAttribution: aspilicious commentedOooow now I understand...
You could make a patch for that, set it to review and people can judge it then.
Overlay issues are getting smaller everyday, good job casey!
Comment #4
casey CreditAttribution: casey commentedI included this behavior in #668640: Overlay shouldn't be based on jQuery UI Dialog (It should also be possible for current overlay, but because its based upon jQuery UI dialog it might be tricky).
Comment #5
casey CreditAttribution: casey commentedWas removed from #668640: Overlay shouldn't be based on jQuery UI Dialog. With attached patch the close button will be visible all the time.
Comment #6
tstoecklerAs mentioned in the other issue, this patch makes every theme, which isn't white on the right side, look ugly.
Comment #7
casey CreditAttribution: casey commentedThemes that don't have a white background always look ugly when used inside the overlay; they could however override the style. I don't think that's a valid argument.
Comment #8
tstoecklerWell, I would say, if it's just about adding some CSS, then that's fine, but the Close button is an image with a white background, right?
Comment #9
aspilicious CreditAttribution: aspilicious commentedWe can replace it with only the closing cross and put some background around it wich can be overridden.
Comment #10
David_Rothstein CreditAttribution: David_Rothstein commentedI think we might be getting two issues confused here. #790732: The overlay tabs and close button look like a minor train wreck in themes without a white background combined with @aspilicious's suggestion would allow themes to change the color of the close button in a reasonable way, but the problem is what I wrote below (in the issue where this was originally posted):
So in other words, if in #790732: The overlay tabs and close button look like a minor train wreck in themes without a white background we decided to make the close button dark blue in Garland, that will look fine at the top of the overlay, but if the button follows you down the page as you scroll, the color won't match what's next to it anymore since Garland has different colors at the top of the page vs the bottom.
Comment #11
aspilicious CreditAttribution: aspilicious commentedI know david, so there isn't a "good" solution for this...
Comment #12
amc CreditAttribution: amc commentedRelated: #575904: Admin Overlay: Make close button more jump to the eye which discusses the color of the X icon itself.
Comment #13
casey CreditAttribution: casey commentedWhat about just for the seven theme? Other themes might do the same.
Comment #14
tstoecklerThat's actually a strikingly simple idea, which eliminates the (very valid) concerns raised above. I might be missing something, but I'm pretty sure that's a very good idea!
Comment #15
ksenzeeYep, I like this a lot. Let's run it up the flagpole.
Comment #16
yoroy CreditAttribution: yoroy commentedI don't get it. At the bottom of an admin page in overlay there is usually a submit button that you can click and it will close the overlay. There's a toolbar with more than a handfull of links that can take you somewhere else. There's the ever-present browser back button… So what are we fixing here? Look at the original post: not evident to 1 user… might be hard to close… How important is this button in the overall scheme of things on a page? It sure stands out more with this patch, but should it?
Comment #17
amc CreditAttribution: amc commentedThat's true, although the user may not want to submit the overlay (maybe they opened the wrong one by mistake), and the toolbar and/or shortcut bar(s) may not be enabled. That does leave the back button, but do we want to rely on that?
Comment #18
yoroy CreditAttribution: yoroy commentedBack button is the most used browser button. Many people rely on it for navigation
Comment #19
tstoecklerThe back button doesn't help you though, when you have clicked around in the overlay a bit and have now had enough and simply want to close it.
Also, not all submit buttons in the overlay close it. Actually those are the exception. So there is a very use-case for the close button.
And since it is there, we should make sure it is actually seen, which this patch does.
Comment #20
yoroy CreditAttribution: yoroy commentedStill, this is optimizing for not-so likely scenarios. This patch makes the close button too important. It needs to be findable for sure, but not follow you around everywhere you go.
Comment #21
tstoecklerI fail to see how this is not so likely.
You install Drupal. You post an article. You see the 'Submitted by' text is in a format you don't like. You click Configuration > Regional and language > ... > Date formats and change the date formats. You submit the page. Well, how do I see if the change worked? CLOSE-button!
You install Drupal. You care a bit about performace. So you click Configuration > Development > Performance and change a few settings. You submit the page. Well, how do I see if CSS aggregation works on the front page? CLOSE-button!
I could go on and on...
Comment #22
David_Rothstein CreditAttribution: David_Rothstein commented@tstoeckler: But in those scenarios, you just hit the submit button and therefore you have already returned to the top of the page, where the close button already is. Having the close button follow you down the page therefore isn't really relevant for those cases.
If we need to make the close button more noticeable and visible, let's think about how to do that more generally. But no blink tags, please - and personally I think the button following you down the page is only one step above a blink tag :)
Comment #23
Bojhan CreditAttribution: Bojhan commentedSorry but I have to agree with David here, that the close button is not standing out is a design decision - as it shouldn't distract from doing your job. The usability results are inconclusive, having it move with you down the page to me has no clear win in any likely scenario.
Sure there are scenarios that it might be helpfull but the true majority the behavior will be to save, end at the top of the page and click close. This patch will be very distracting as it is the only moving part on a Drupal administration page - where it totally should not have such importance.
Comment #24
bleen CreditAttribution: bleen commentedwhat about including a simple close link at the bottom of the overlay in addition to the "X"? Nothing fancy:
Comment #25
bleen CreditAttribution: bleen commentedooops .. too wiiiiiiiiiiiiiiiiiiide:
Comment #26
yoroy CreditAttribution: yoroy commentedWhat we're saying is that there isn't really anything to fix here.
Comment #27
Bojhan CreditAttribution: Bojhan commentedI am going to mark this by design, as we chose to go down this route for a specific reason; we wanted it to be at a place that one can remember but not prominent enough for it to be distracting.
Comment #28
David_Rothstein CreditAttribution: David_Rothstein commentedPlease see http://drupal.org/node/517688#comment-1900132 (linked to from the top of this issue). As far as I know, we've seen this pattern in informal Drupal Gardens testing also - people having trouble finding the close button or understanding what it means. I can try to get more details if you want.
So I think there is an issue here, but we need to look for a different solution that isn't necessarily specific to the "I've scrolled down to the bottom of the page" case. That was kind of a tangent that this issue went off in a bit, but isn't necessarily the main problem. I think Jeff Noyes's suggestion involved thinking about putting the word "close" near the "X", for example, but leaving it at the top of the page.
Comment #29
amc CreditAttribution: amc commentedAlright, so let's separate the two problems -- at least explicitly in our discussions, if not in two separate issues:
Now, even though these are two issues, we could conceivably come up with a single solution (or not) which addresses both, so separate patches may not necessarily be called for, but let's at least address both problems distinctly. (And whether they really are problems to be solved.)
The X-in-place (position:fixed) solution addresses point 2 but not point 1. The close link at the bottom addresses point 1 but not point 2 (because being at the very bottom is just as bad as being at the very top when you're in the middle of a form).
Comment #30
bleen CreditAttribution: bleen commentedwhat about this:
solves 1 but not 2 ... but worth thinkin about none-the-less
Comment #31
Anonymous (not verified) CreditAttribution: Anonymous commented+1 #30
Comment #32
Bojhan CreditAttribution: Bojhan commentedWe got no details from David and really fixing it properly should be D8 stuff, I am not sure if its not just a bump rather then an actual problem.
Comment #34
Noyz CreditAttribution: Noyz commentedWe came up with a design for this while seeing users struggle to find their way around Drupal gardens. Of the solutions proposed, #30 comes closest to something that would fix the issues I've seen, but it's still not good enough. The issue Im seeing is that users are clicking Save expecting the overlay to go away. They are not looking in top right area to close. For that reason, we need to do something like #30, plus include a "save and close" button. The solution we were looking to implement is this....
Comment #35
Bojhan CreditAttribution: Bojhan commented@Noyz Thanks for your details, I am still favoring to fix this in Drupal 8. Because of the limited time finding a proper solution for this, the close next to X seems kind of a hack - which is very distracting in long term usage.
The Save & Close is again somewhat of a hack, which would only apply to pages where the user is tempted to go back to the site? I mean is adding terms one of them, or what is the classification here? Also on creation of content, you will have Save, Preview, Delete - consider modules adding Save as Draft, it will become very hard to add another button to save this issue. I just feel there are many insecurities and making a big change like this, it seems silly to take such risks.
It might be interesting to know, when do people find the X? Does that change their behavior?
Comment #36
aspilicious CreditAttribution: aspilicious commented*ignore this*
Comment #37
Noyz CreditAttribution: Noyz commentedWe have no choice but to fix this in Drupal Gardens. It's a serious issue. We'll fix it there, and provide user metrics on the fix.
Comment #38
Bojhan CreditAttribution: Bojhan commented@Noyz totally understandable, would be awesome!
Comment #42
akayani CreditAttribution: akayani commentedA save button up there would be useful too so you don't need to track to the bottom of the page.
Comment #43
Anonymous (not verified) CreditAttribution: Anonymous commentedIt's been two years since last activity on this.
Is this still an actual issue or can it be closed?
Comment #44
jessebeach CreditAttribution: jessebeach commentedCan be closed. The style will probably be changing significantly with current UX styling work: http://groups.drupal.org/node/283223#Overlay