Add Invite team members to side nav as experiment

What does this MR do and why?

  • Adds experiment that adds an Invite team members link to side nav on Group details page and Project details page, when there are <2 members.

Screenshots or screen recordings

invite link in the side nav on project or group details page for the candidate experience

normal collapsed hover on collapsed
Screen_Shot_2021-11-09_at_8.50.22_AM Screen_Shot_2021-11-09_at_8.50.42_AM Screen_Shot_2021-11-09_at_8.51.01_AM


How to set up and validate locally

  1. In rails console(invoke from command line via bundle exec rails c) enable the experiment fully
  2. Create a new group or project and do not add any new members.
  3. Wait for page to refresh after creating.
  4. Click the invite team members link from the sidebar.

Disable the feature flag via Feature.disable(:invite_members_in_side_nav) to validate the control experience(before this MR/no link)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #224692

Edited by Doug Stull