Skip to content
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

Make Woo Activity / Inbox available site-wide #1412

Open
manospsyx opened this issue Dec 28, 2023 · 0 comments
Open

Make Woo Activity / Inbox available site-wide #1412

manospsyx opened this issue Dec 28, 2023 · 0 comments

Comments

@manospsyx
Copy link

The Woo Admin Header bar is currently only available on "WooCommerce" pages / areas only, which is sub-optimal for a few reasons:

  • it takes up a lot of space in comparison to the utility it provides
  • it limits the visibility/access to the Inbox to specific areas only

The goal of this task is to make the Inbox available site-wide in the WP Admin bar:

Image

To do this, we could:

  • Register the Woo Header Bar in all WP Admin screens -- not just "Woo" screens.
  • Add a new Activity icon in the WP Admin top bar -- and on click, trigger the Woo Header Bar "Activity" button.
  • Tweak some CSS to "hide" the white Woo Header Bar:
.woocommerce-layout__header-wrapper {

    min-height: 0 !important;
    height: 0;

   & > h1, woocommerce-layout__activity-panel-tabs  {
        height: 0;
        overflow: hidden;
    }
}


#wpbody {
    margin-top: 0;
}

Ideally, this should not affect the function of other nudges/prompts that rely on the Woo Header Bar -- e.g. feedback tips/prompts -- and if it does, any issues could be ironed out with CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant