Skip to:

Opened 3 years ago

Closed 3 years ago

#8527 closed task (fixed)

Migrate the `BP_Core_Recently_Active_Widget` & `BP_Core_Whos_Online_Widget` Legacy Widget as a Widget Block

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 9.0.0 Priority: normal
Severity: normal Version:
Component: Members Keywords: has-patch


Merge the BP Blocks plugin's 'bp/active-members' & 'bp/online-members' Blocks into Core.

Attachments (1)

8527.patch (31.8 KB) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (2)

3 years ago

#1 @imath
3 years ago

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

In 13007:

Merge the BP Blocks plugin's last 2 Members Block

'bp/online-members' and 'bp/active-members' are very similar Widget Blocks. The specific bp_members_render_members_avatars_block() function has been introduced to put in common most of the rendering logic of these two blocks.

  • Adapt Grunt sass tasks.
  • Add the Block JavaScript source files into src/js/bp-blogs/js/blocks.
  • Add the Block Scss source file into src/bp-blogs/sass.
  • Generate the development files to ease testing.

Fixes #8527

Note: See TracTickets for help on using tickets.