Title: Focus and admin notices, Macnchrome
Author: Ryan Boren
Published: January 29, 2015
Last modified: December 19, 2023

---

 [  ](https://profiles.wordpress.org/ryan/) [Ryan Boren](https://profiles.wordpress.org/ryan/)
8:05 am _on_ January 29, 2015      

# Focus and admin notices, Macnchrome

Admin notices result in empty space near the top of the screen when Focus is activated.
Some notices, such as the upgrade network notice, do not fade away when Focused.
Focus must reserve space for the notices so that they can be winked back in when
unfocused. I’ve long wanted dismissable admin notices. Accommodating Focus seems
like a good motivation to finally make notices dismissable. After saving a draft,
being stuck with a padded headerHeader The header of your site is typically the 
first thing people will experience. The masthead or header art located across the
top of your page is part of the look and feel of your website. It can influence 
a visitor’s opinion about your content and you/ your organization’s brand. It may
also look different on different screen sizes. while Focused is annoying. Being 
able to click to dismiss notices would workaround this (rewriting the url to get
rid of the message query arg would also be nice) .

[⌊The network upgrade notice remains visible when Focused. The admin notice is hidden,
but space is left for it.⌉⌊The network upgrade notice remains visible when Focused.
The admin notice is hidden, but space is left for it.⌉[

The network upgrade notice remains visible when Focused. The admin notice is hidden,
but space is left for it.

Here’s what that page looks like unfocused. The “Page draft updated” notice pops
up every time you save and there is no way to get rid of it without reloading or
leaving and reentering your edit session.

[⌊Screen while unfocused. The Post draft updated notice is the cause of the empty
space while focused.⌉⌊Screen while unfocused. The Post draft updated notice is the
cause of the empty space while focused.⌉[

Screen while unfocused. The Post draft updated notice is the cause of the empty 
space while focused.

Here’s an example on dotcom, which often has persistent admin notices. I wish these
were dismissable, even if only for the current page load.

  [](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/screen-shot-2014-12-26-at-1-54-42-pm/#main)
Padding at the top when focused   [](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/screen-shot-2014-12-26-at-12-14-36-pm1/#main)
Caused by two persistent notices

### Share this:

 * [  Threads ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=bluesky)
 * [  X ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=x)
 * [  Facebook ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Ftest%2F2015%2F01%2F29%2Ffocus-and-admin-notices-macnchrome%2F%23respond&locale=en_US)

### Like this:

Like Loading…

 1. ![](https://secure.gravatar.com/avatar/9548b9d111425d5ffc518f40c446753d69a6e2574daaed57b458fd8ce835dad5?
    s=32&d=identicon&r=g)
 2.  [Michael Arestad](https://profiles.wordpress.org/michael-arestad/)  5:24 pm _on_
    February 4, 2015
 3. Personally, I think all of those notices should be dismissible. Every. Single. 
    One.
 4. There are other ways to handle notices. We could take the approach updates uses
    with an icon + number in the admin bar, but for all notices. It could either open
    a notices tray/modal/whatever on click or direct the user to a notices page. Yes,
    there are important notices, but they’re probably not important enough to be on
    the post editor getting in the way of writing.
 5. ![](https://secure.gravatar.com/avatar/756c2e0e82712f382e451c45008d32f73ebb14f01c1d8447bd44b7dcf67e61dd?
    s=32&d=identicon&r=g)
 6.  [Ryan Boren](https://profiles.wordpress.org/ryan/)  5:25 pm _on_ February 4, 2015
 7. Related. [#23367: Remove message parameters from admin URl’s in the browser address bar](https://core.trac.wordpress.org/ticket/23367)

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/test/2015/01/29/focus-and-admin-notices-macnchrome/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Ftest%2F2015%2F01%2F29%2Ffocus-and-admin-notices-macnchrome%2F&locale=en_US)
to post a comment.

# Post navigation

[← Image Flow – Edit Inserted Full Size Image](https://make.wordpress.org/test/2015/01/28/image-flow-edit-inserted-full-size-image/)

[Focus and elastic bounce back, Macnchrome →](https://make.wordpress.org/test/2015/01/29/focus-and-elastic-bounce-back-macnchrome/)