Skip to content

Add import source users pagination info to GroupMembersHelper

George Koltsov requested to merge georgekoltsov/paginated-placeholders-data into master

What does this MR do and why?

This MR adds placeholder user counts to GroupMembersHelper in order to use this information to show 'Placeholder' tabs on the group Members page. It adds the following info:

{
  placeholder: {
     total_items: placeholder_users.count, # total number of placeholder users for this namespace
     awaiting_reassignment_items: placeholder_users.pending_assignment.count, # number of placeholder users waiting for reassignment
     reassigned_items: placeholder_users.completed.count # number of placeholder users that were reassigned to real users 
  }
}

Mentions #468437 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by George Koltsov

Merge request reports