User mapping - Add tab counts for placeholders child tabs
requested to merge 471932-use-mapping-fe-add-tab-counts-for-awaiting-reassignment-reassigned-tabs into master
What does this MR do and why?
- Add tab counts for "Awaiting reassignment" / "Reassigned" tabs that are sent from backend via helpers + state.
- Add logic to update the tab count when "Keep as placeholder" action is selected.
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
Before | After |
---|---|
How to set up and validate locally
- Create a few dummy
Import::SourceUser
records:- Checkout the branch
seed-placeholder-users-task
. - Run this rake task
bin/rake gitlab:seed:placeholder_users\[22,50\]
, replacing22
with any group_id. (Note:50
is the number of users created)
- Checkout the branch
- Go to Group > Members and select the Placeholders tab. For example,
http://127.0.0.1:3000/groups/gitlab-org/-/group_members?tab=placeholders
.
Related to #471932 (closed)