Would it be possible to add the ability to have admin auto hid again after clicking any link that loads a new page?

Comments

realityloop’s picture

Status: Active » Needs review
StatusFileSize
new813 bytes

Especially useful when doing presentations on netbooks.

Patch attached.

realityloop’s picture

StatusFileSize
new813 bytes

Fixed small issue, I'd like to make this optional, but I can't see where the module currently adds classes to the body, can anyone assist?

Odd Hill’s picture

I've had this request as well from several users. There's not really much logic in the fact that the menu stays open after you've made your choice

sime’s picture

As long as it's optional it makes sense.

realityloop’s picture

StatusFileSize
new4.79 KB

Now optional

espirates’s picture

Will this be added to Admin eventually ? It's a great feature to add. The patch is too confusing for those who don't read code :))

realityloop’s picture

@espirates If you can test the patch and mark RTBC then it's likely to get added a lot quicker.

sime’s picture

Status: Needs review » Needs work

Works as advertised.

It's a bit jerky though, as it can be seen on the page load and then hides (on document ready I guess). With this functionality I'd expect it not to display at all. An alternative might be to hide it with the same effect as if you hit the X button.

realityloop’s picture

StatusFileSize
new4.79 KB

Is this better?

realityloop’s picture

Status: Needs work » Needs review

status change

realityloop’s picture

StatusFileSize
new5 KB

Better patch (allows for ltr)

realityloop’s picture

StatusFileSize
new5.06 KB

Ok.. lets try that one more time. This is far improved, thanks to sime for marking needs work.

sime’s picture

Status: Needs review » Reviewed & tested by the community

Works and no jolting

yhahn’s picture

Assigned: Unassigned » yhahn

Thanks for all the hard work everyone, I'll be hitting the admin issue queue soon (after a few others : ) but I plan on reviewing this patch and getting this functionality in one way or another.

espirates’s picture

I got it working, works perfectly very nice.

sime’s picture

Thinking this through, a suggestion would be a "thumb tack" button, just below the X. So you can pin/unpin the admin pane without visiting its administration screen.

realityloop’s picture

I don't personally like the thumb tack idea, but your welcome to diy :)

yhahn’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, and sorry for the delay: http://drupal.org/cvs?commit=400862

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.