Opened 20 months ago
Closed 19 months ago
#8588 closed enhancement (fixed)
Suggestion: use the "site-health" look & feel for BP Admin tabs
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 10.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch commit |
Cc: |
Description
This look & feel seems to be the way tabs should be styled in WordPress Admin. For instance, Privacy settings are now using it.
I believe we should us this new appearance for our settings and tools BP Admin tabs. Here's a preview of how BP Settings pages could look like:
Here's a preview of how BP Tools pages could look like:
The attached patch is also including a backcompat function to make sure plugins adding custom tabs are also styled this way. Here's a preview of the BP Rewrites plugin URLs settings tab.
It includes a doing it wrong to inform plugin authors they should use another way to generate their custom tabs.
What do you think of this suggestion?
Attachments (5)
Change History (15)
#2
@
20 months ago
Hi @oztaser
Thanks a lot for your addictions to the patch. I'll test it asap. I'm not sure about the size/place of the logo. I believe we should make it smaller, on the same line than the main title (<h1>BuddyPress Settings||Tools</h1>
) and instead of using an SVG, we can enjoy the available dashicon for us (using our bright red #d84800
font color). There's actually a .bp-badge
class available in common.css
that we don't use anymore, we could recycle it there using a span, eg:
<h1><span class="bp-badge"></span> <?php echo esc_html( $title ); ?></h1>
What do you think?
#3
@
20 months ago
8588.3.patch is 8588.2.patch + my latest comment applied. Here's a screenshot:
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
19 months ago
#6
@
19 months ago
- Owner set to imath
- Resolution set to fixed
- Status changed from new to closed
In 13137:
#7
@
19 months ago
Hi @imath,
I've tested screens after your commit and I think I found a something need to mention.
As you know we've added some styling to tables. After adding this style, an empty box appeared on the pages page if registration is disabled. I think we need to add this table to the page if registration allowed.
#8
@
19 months ago
- Keywords needs-patch added; has-patch dev-feedback removed
- Resolution fixed deleted
- Status changed from closed to reopened
Thanks for your tests @oztaser I guess I was a bit too eager to have this in. We also need to fix an issue with Multisite configs. I'll include your patch to the one I'm working on.
Hi @imath,
Thanks for bring this idea. I love this ui and I liked the idea of have it in BuddyPress.
I've tested your patch and played a little bit with it. I have some suggestions about ui:
.buddypress-content
like.health-content
has.P.S: I haven't test my patch with BP Rewrites or an another plugin which has custom tabs but I believe there should be no problem.