Add a user overage modal
-
Review changes -
-
Download -
Patches
-
Plain diff
What does this MR do and why?
Introduce a feature flag overage_members_modal
and show a modal confirmation window when adding new members to a group.
The modal will be shown if the group has a subscription and adding a new member to it will cause overage.
This is a first part of implementing this modal, currently we show the overage modal on every addition if the FF is turned on. There is be a backend follow-up MR to add a proper check.
Step | Status |
---|---|
Introduce a FF and a modal on FE |
![]() |
Add logic to when we show overage modal and calculate the amount of users for overage | !78287 (merged) workflowin dev |
Related to #348486 (closed)
Screenshots or screen recordings
Screen_Recording_2022-02-15_at_19.34.14
How to set up and validate locally
-
If the feature flag is not enabled user won't see an overage modal
-
Enable the overage modal
Feature.enable(:overage_members_modal)
-
Visit any group page, then Group Information -> Members
http://localhost:3000/groups/<your-group>/-/group_members
. -
Click the
Invite members
button -
Add a user and click
Invite
. -
Check the modal.
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.
Merge request reports
- version 32604d5756
- version 31cc3d901b
- version 304e317faf
- version 291cd05065
- version 28b9386e3c
- version 27f40d232c
- version 26974229ec
- version 25dac710a8
- version 245063a5fe
- version 23cbda5e46
- version 2269b0fe3b
- version 2192c35415
- version 203258336e
- version 193de0656c
- version 18545f0f95
- version 1775bd860e
- version 16d0d8ec73
- version 1592febd20
- version 14699d7355
- version 133755d4f3
- version 12969ab5e9
- version 1110e22ffe
- version 10bf77d6b7
- version 9790276db
- version 8670d3cd1
- version 760683c38
- version 614813f55
- version 5945583fe
- version 48a744e21
- version 3142923e0
- version 24636ee47
- version 1b815eab9
- master (base)
- latest version85ad800d6 commits,
- version 32604d57566 commits,
- version 31cc3d901b6 commits,
- version 304e317faf6 commits,
- version 291cd050656 commits,
- version 28b9386e3c5 commits,
- version 27f40d232c4 commits,
- version 26974229ec3 commits,
- version 25dac710a83 commits,
- version 245063a5fe2 commits,
- version 23cbda5e462 commits,
- version 2269b0fe3b1 commit,
- version 2192c354151 commit,
- version 203258336e1 commit,
- version 193de0656c1 commit,
- version 18545f0f951 commit,
- version 1775bd860e1 commit,
- version 16d0d8ec731 commit,
- version 1592febd201 commit,
- version 14699d73551 commit,
- version 133755d4f31 commit,
- version 12969ab5e91 commit,
- version 1110e22ffe1 commit,
- version 10bf77d6b71 commit,
- version 9790276db1 commit,
- version 8670d3cd11 commit,
- version 760683c381 commit,
- version 614813f551 commit,
- version 5945583fe1 commit,
- version 48a744e211 commit,
- version 3142923e01 commit,
- version 24636ee471 commit,
- version 1b815eab91 commit,
- Side-by-side
- Inline
There are no changes yet
No changes between version 8 and version 8