#18382 closed task (blessed) (fixed)
Convert admin menu dropdowns to flyouts
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | UI | Version: | 3.2.1 |
| Severity: | normal | Keywords: | ux-feedback |
| Cc: | scribu, xoodrew@…, fuzzboxer@…, tom@…, chip@…, info@…, olleicua@… |
Description
For better menu management and user experience, let's take a page from the compact menu's book and use flyout menus.
Patch is a first pass, and needs cleanup. Some gradients are not consistent, colors/design are not final. 3.2 animations (which are now used in both menus) could use some cleanup. Yay.
Attachments (11)
Change History (77)
koopersmith — 22 months ago
comment:2
markjaquith — 21 months ago
- Keywords needs-refresh added
Let's freshen up and clean up this, and get it in. Consider the UI to be placeholder. We can iterate.
comment:3
DrewAPicture — 21 months ago
- Cc xoodrew@… added
comment:4
koopersmith — 21 months ago
In [18621]:
comment:5
follow-up:
↓ 15
koopersmith — 21 months ago
- Keywords has-patch needs-refresh removed
- Status changed from new to accepted
Feedback welcome. Please keep in mind that the UI and animations still need tweaking.
comment:6
follow-up:
↓ 9
DrewAPicture — 21 months ago
I like this a lot. My nits were with UI and or animation so I'll keep my mouth shut. Nice work.
comment:7
DrewAPicture — 21 months ago
One thing that occurs to me is that it would be nice to carry over the flyout effect to the "hello [user]" menu too. That may be another ticket and another time, though.
comment:8
SergeyBiryukov — 21 months ago
Love the idea of getting to almost any admin page with a single click.
Are RTL patches welcome now too, or will it be taken care of later in the cycle?
comment:9
in reply to:
↑ 6
koopersmith — 21 months ago
Replying to DrewAPicture:
I like this a lot. My nits were with UI and or animation so I'll keep my mouth shut. Nice work.
Thanks! My comment was not meant to deter people from sharing suggestions, just to inform them that the UI and animations are ripe for improvement. Suggest away!
comment:10
DrewAPicture — 21 months ago
Well, one thing that throws me a little is something I'm not sure has a solution. For instance, if you're using the collapsed-menu flyouts, they have the section header with the gray background--which sets the flyout off the background better than straight white with a shadow. But the problem is that with the default menu flyouts, section headers are completely moot, because they're already there. You need a way to accomplish the same effect without duplicating the flyout headers.
I also detected a bit of a delay between flyouts that was noticeable but so slight as to not make much of a difference.
comment:11
follow-up:
↓ 14
koopersmith — 21 months ago
Replying to SergeyBiryukov:
Are RTL patches welcome now too, or will it be taken care of later in the cycle?
RTL patches are more than welcome. :)
There will be additional changes, but keeping RTL in sync is a good thing as far as I'm concerned.
DrewAPicture — 21 months ago
This is what I'm comparing (note the white flyout on white background):
comment:12
aaroncampbell — 21 months ago
comment:13
DrewAPicture — 21 months ago
Related #18198
comment:14
in reply to:
↑ 11
SergeyBiryukov — 21 months ago
Replying to koopersmith:
RTL patches are more than welcome. :)
18382.rtl.patch contains RTL fixes for current flyouts implementation.
SergeyBiryukov — 21 months ago
comment:15
in reply to:
↑ 5
mmuro — 21 months ago
- Cc fuzzboxer@… added
Replying to koopersmith:
Feedback welcome. Please keep in mind that the UI and animations still need tweaking.
Personally, I think this change is taking a step back in usability. The cons far outweigh the pros here. Fitts' law comes to mind.
Most of my complaints can be summed up here, but the gist is that I think hovers will make the admin less usable and less friendly.
comment:16
follow-up:
↓ 20
azaozz — 21 months ago
Seeing two glitches:
- when the menu is folded the active submenu doesn't show,
- adding and removing the 'folded' css class to the body tag doesn't toggle the menu completely. The active submenu remains visible despite the 'folded' class.
comment:17
ocean90 — 21 months ago
when the menu is folded the active submenu doesn't show.
Duplicate: #18580
comment:18
duck_ — 21 months ago
when the menu is folded the active submenu doesn't show
See 18382.fix-glitch.diff. Firefox doesn't seem to like have two mouseout/mouseover events caused by always calling fold. If my comment does not reflect the intention of always calling fold then ignore the patch :)
downstairsdev — 21 months ago
comment:19
downstairsdev — 21 months ago
I'm wondering if there should be more contrast between the flyout and what's below it. Perhaps adding a light gray background to the flyout or fading #wpbody when you're hovering over #admin menu would make sense.
Just an experiment. Attached a patch for fading #wpbody.
comment:20
in reply to:
↑ 16
;
follow-up:
↓ 22
WraithKenny — 21 months ago
Replying to azaozz:
- when the menu is folded the active submenu doesn't show,
This glitch is only present when the page is loaded folded. Opening and collapsing the menu clears it up also. Something on how the js is initialized, but I can't find it.
comment:21
WraithKenny — 21 months ago
duck_'s patch works and seems to make sense :)
comment:22
in reply to:
↑ 20
azaozz — 21 months ago
Replying to WraithKenny:
The way the fold/unfold (used to) work is only in css depending on the class 'folded' on the body. This is broken now. Also when no js, the submenus are completely hidden with no way to reach them.
@duck_'s patch works but I don't see the point in having two handlers that do exactly the same thing in the first place. The fly-out 'headers' can be shown/hidden with css depending on the menu being folded or not. In short, this needs more work :)
Apparently I got accustomed to flyouts. If we could review/commit 18382.rtl.patch, it would make patching RTL tickets a bit easier :) Currently flyouts are displayed outside of the screen there.
comment:24
DrewAPicture — 21 months ago
XPost from #18198 (Responsive Admin)
This may be a candidate for another ticket another time, but how will the (new flyouts) menu be treated when the dashboard is resized with this new responsive admin? Will the hover still exist but just be moot in terms of touch screens? Will the menus expand down automatically at a certain screen width? Or maybe a tap to open animation without a page refresh? My motivation for asking is this: If the purpose of the flyouts was to make any menu accessible via one-click access, how will you match that for devices that don't inherently support hover events?
Something to think about.
comment:25
holizz — 21 months ago
- Cc tom@… added
andrewryno — 21 months ago
comment:26
andrewryno — 21 months ago
Uploaded screenshot of responsive admin issues with the new flyouts (as well as the regular submenu). See #18198 for responsive admin.
comment:27
duck_ — 20 months ago
Flyouts and the blue/classic theme currently don't mix. See 18382.classic.diff for first half of a patch -- missing the two blocks for .expanded ... :hover colours which would need to be decided on.
comment:28
scribu — 20 months ago
I believe this introduced a bug when the menu is collapsed:
If you're on wp-admin/edit.php, you can't access Posts -> Add New or any other submenu of Posts.
comment:29
scribu — 20 months ago
If you expand the menu and then collapse it again, it will work, but only until the next page load.
comment:30
koopersmith — 20 months ago
In [18754]:
comment:31
koopersmith — 20 months ago
In [18761]:
comment:32
scribu — 20 months ago
Opened a separate ticket for the bug I mentioned before: #18763
comment:33
olleicua — 20 months ago
I tried running patch -p0 < 18382.diff on a fresh install of v3.2.1. The patch ran fine but the resulting admin page has no flyouts. Am I doing something wrong??
comment:34
dd32 — 20 months ago
I tried running patch -p0 < 18382.diff on a fresh install of v3.2.1.
You'll find that there's more than just that patch in the current flyouts, You're far better off just installing a test install of trunk (3.3) to test the features out.
SergeyBiryukov — 20 months ago
Refreshed 18382.rtl.patch in view of [18754].
comment:36
koopersmith — 20 months ago
In [18881]:
comment:37
azaozz — 20 months ago
In [18901]:
comment:38
jane — 20 months ago
Weird overlaps from the timing changes need to be adjusted, style will be updated during beta one.
comment:39
follow-up:
↓ 40
ocean90 — 20 months ago
http://cl.ly/Anfr This happens if you change the height of the browser window so that you can only see the settings menu. Make it active and then hover it. Happens in Chrome.
comment:40
in reply to:
↑ 39
koopersmith — 20 months ago
Replying to ocean90:
http://cl.ly/Anfr This happens if you change the height of the browser window so that you can only see the settings menu. Make it active and then hover it. Happens in Chrome.
This was broken in [18901]. Portions of that changeset will need to be reverted.
comment:41
follow-up:
↓ 43
koopersmith — 20 months ago
comment:42
azaozz — 20 months ago
In [18940]:
comment:43
in reply to:
↑ 41
;
follow-up:
↓ 44
azaozz — 20 months ago
Replying to ocean90:
[18940] should fix this.
Replying to koopersmith:
Once the visual styling for the flyouts is finalized we can make the "fat arrow" image match the menu color and have the background transparent. Also these images would be better in a sprite.
comment:44
in reply to:
↑ 43
ocean90 — 20 months ago
comment:45
koopersmith — 20 months ago
In [18942]:
comment:46
koopersmith — 20 months ago
In [18944]:
comment:47
koopersmith — 20 months ago
In [18946]:
comment:48
koopersmith — 20 months ago
In [18947]:
comment:49
follow-up:
↓ 55
Dunhamzzz — 20 months ago
Here is a lengthy discussion on why this "feature" is a pretty terrible idea:
http://wordpress.org/support/topic/admin-menu-doesnt-expandcollapse-in-33-beta-1-why
comment:50
chipbennett — 20 months ago
- Cc chip@… added
comment:51
follow-up:
↓ 52
RVoodoo — 20 months ago
The flyouts are unusable on IE7. Transparent backgrounds, bad layering
comment:52
in reply to:
↑ 51
;
follow-up:
↓ 53
aaroncampbell — 20 months ago
Replying to RVoodoo:
The flyouts are unusable on IE7.
Yeah, I was supposed to open another ticket for that, but my day got crazy. Do you think you could put that same info in a new ticket and link to it from here?
comment:53
in reply to:
↑ 52
RVoodoo — 20 months ago
Replying to aaroncampbell:
Replying to RVoodoo:
The flyouts are unusable on IE7.
Yeah, I was supposed to open another ticket for that, but my day got crazy. Do you think you could put that same info in a new ticket and link to it from here?
Sure thing boss, can be found here:
http://core.trac.wordpress.org/ticket/18924
comment:54
azaozz — 20 months ago
In [18958]:
comment:55
in reply to:
↑ 49
scribu — 20 months ago
- Keywords ux-feedback added
Replying to Dunhamzzz:
Here is a lengthy discussion on why this "feature" is a pretty terrible idea:
http://wordpress.org/support/topic/admin-menu-doesnt-expandcollapse-in-33-beta-1-why
The ticket description doesn't actually give any concrete reasons for this change.
I don't care either way, but it would be nice to have a clear reasoning written, which we can point users to.
koop? jane?
comment:56
ramiy — 20 months ago
Related: #18906 - Admin fly-out menu are not working in RTL (hebrew and arabic).
comment:57
toscho — 20 months ago
- Cc info@… added
comment:58
ocean90 — 19 months ago
18382.colors-classic.patch will fix the admin menu with blue theme.
comment:59
koopersmith — 19 months ago
In [18983]:
comment:60
koopersmith — 19 months ago
- Resolution set to fixed
- Status changed from accepted to closed
Closing as fixed. If you encounter any bugs, please open a new ticket.
comment:62
koopersmith — 19 months ago
In [19199]:
comment:63
koopersmith — 19 months ago
In [19277]:
comment:64
koopersmith — 18 months ago
In [19433]:
comment:65
koopersmith — 18 months ago
In [19439]:
comment:66
ianatkins — 18 months ago
Sorry for late comment, but why does the flyout rely on a Javascript toggle class.
The experience is much richer by using the css :hover class to show the sub menus.
Try moving your mouse over several menus, you'll sometimes catch them overlapping
or being sluggish. Try the same with Javascript disabled, which is using just the CSS :hover, and
the result is much nicer.




Screenshot: How it will look.