Skip to:
Content

BuddyPress.org

Opened 8 months ago

Closed 7 months ago

Last modified 7 months ago

#8369 closed enhancement (fixed)

BP Block for 7.0.0

Reported by: imath Owned by: imath
Milestone: 7.0.0 Priority: normal
Severity: normal Version:
Component: REST API Keywords:
Cc:

Description

For sure we'll have:

A block to embed an activity into a post or a page as this pull request has been merged and we'll fix this issue asap.

Let's try to also have a block to list a selection of members and another one for groups

Change History (9)

This ticket was mentioned in Slack in #buddypress by imath. View the logs.


8 months ago

#2 @imath
8 months ago

Update: we'll also have a BP Members Block! See https://github.com/buddypress/bp-blocks/pull/26 for more details about it.

#3 @imath
7 months ago

Update: we'll also have a BP Groups Block! See https://github.com/buddypress/bp-blocks/pull/28 for more details about it

#4 @imath
7 months ago

In 12746:

BP Blocks: improve existing blocks code organization & use Sass

  • Update Grunt tasks to this new blocks code organization.
  • Update @babel/core and @wordpress/babel-preset-default dev dependencies.
  • Add Group & Member blocks Sass files.
  • Update Group & Member blocks according to the new blocks code organization.
  • Update BP Core block components according to the new blocks code organization.

Props espellcaste, imath

See #8369

#5 @imath
7 months ago

In 12747:

BP Blocks: introduce the first BP Activity Block 🙌

To use this block, you simply need to paste the permalink of a single activity to embed it the block's placeholder. It will include the activity embed into your post or page.

Props espellcaste, imath

See #8369

#6 @imath
7 months ago

In 12748:

BP Blocks: introduce the BP Members Block 👫

Unlike what we are doing in BP Members widgets (filtering a max amount of members according to their popularity, last activity, alphabetically, ...), the BP Members block lets you select as many members as you wish to feature them into your post or page.

Members are selected one by one using the BP Auto-completer React component.

Just like the BP Member block you can choose the Profile photo size (or disable it), whether to show or hide the mention name.

You can also choose to show or hide the user display name and some extra information generated by BuddyPress about the user:

  • Last time the user was active,
  • Latest activity the user posted (if the Activity component is active).

Finally you can choose to display members in a grid of 2 to 4 columns or in a list.

Props espellcaste, imath

See #8369

#7 @imath
7 months ago

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

In 12749:

BP Blocks: introduce the BP Groups Block 🎈🎈🎈

Unlike what we are doing in the BP Groups widgets (filtering a max amount of groups according to their popularity, last activity, alphabetically, ...), the BP Groups block lets you select as many groups as you wish to feature them into your post or page.

Groups are selected one by one using the BP Auto-completer React component.

Just like the BP Group block you can choose the Profile photo size (or disable it).

You can also choose to show or hide the group's name and some extra information about the group:

  • The group's description.
  • Last time the group was active.
  • The amount of group members.

Finally you can choose to display groups in a grid of 2 to 4 columns or in a list.

PS: this commit also fixes a failing test by adding the CSS files generated by the Members & Groups blocks sass files to the ones to disable from the stylelint CSS task.

Props espellcaste, imath

Fixes #8369

#8 @imath
7 months ago

In 12750:

i18n: improve translators comments

  • Add a missing translators comment into the src/bp-blogs/bp-blogs-template.php.
  • Make sure translators comments are the same when the string to translate is.

Antiprops imath

See #8365
See #8369

#9 @imath
7 months ago

In 12751:

Build/Test tools: do not build blocks during travis:grunt task

Remove the exec:blocks_src task from the src one and create a new task to build blocks. This should prevent Travis to fail building blocks when the build has been cached.

To generate the development blocks version, you now need to run grunt commit:blocks. This task is equivalent to running grunt commit && grunt exec:blocks_src.

See #8369

Note: See TracTickets for help on using tickets.