Change pending badge and text on members page for awaiting members
What does this MR do and why?
- Changes the
Pending owner approval
text onawaiting
users in theInvited
tab toPending owner action
- Adds helpful subtext for users who can manage members on the top-level group(namespace)
See spec on https://gitlab.com/gitlab-org/gitlab/-/issues/361373
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
- Simulate SaaS and restart GDK
- Update Application Setting
bin/rails c ApplicationSetting.first.update(check_namespace_plan: true)
- Disable the feature flag
Feature.disable(:free_user_cap)
- Create a new group.
- Add at least 6 members by username.
- Open
rails console
viabundle exec rails c
and change last member's state toawaiting
member = Member.last member.update_column(:state, 1)
- Enable the feature flag
Feature.enable(:free_user_cap)
- Refresh the group members page you are on.
- Notice the changed text and the badge name on the invited tab for your 6th member.
- Repeat similar process for projects that have groups.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #361373
Edited by Doug Stull