Skip to:
Content

BuddyPress.org

Opened 4 weeks ago

Closed 3 weeks ago

#8116 closed enhancement (fixed)

BP Blocks category

Reported by: imath Owned by: imath
Milestone: 5.0.0 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch commit
Cc:

Description

With the BP REST API to be included in BuddyPress 5.0.0, this will help BuddyPress plugin developer to build new BuddyPress blocks. I suggest to create a new "BuddyPress" category to encourage them to "tidy" their blocks in this category of the Blocks selector.

If no blocks are added to this category, it doesn't appear into the Blocks selector, otherwise here's how it would look like:

https://cldup.com/3KwRgJUsCf.png

I think it's a good way to avoid duplicate code in multiple plugins if we share it already in 5.0.0. BuddyPress Block developers will only need to use this category into the category argument when registering their blocks (see documentation about it)

Attachments (1)

8116.patch (1.5 KB) - added by imath 4 weeks ago.

Download all attachments as: .zip

Change History (4)

@imath
4 weeks ago

#1 @espellcaste
4 weeks ago

Agree 100%!

#2 @imath
3 weeks ago

  • Keywords commit added

Thanks a lot for your feedback @espellcaste 😍 Let's have it in !

#3 @imath
3 weeks ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 12418:

Add a BuddyPress Blocks category to the Block Editor

This blocks category does not come with BuddyPress blocks. It is there to let BuddyPress developers use it to tidy their BuddyPress blocks into the different Block selectors of the Block Editor.

Fixes #8116

Note: See TracTickets for help on using tickets.