Skip to content

Fix collaborate banner appearing above alerts

Summary

Top page level alerts are incorrectly appearing below a banner.

Example

image

Steps to reproduce

  1. Navigate to a group with just one member as an owner
  2. Banner will appear above an alert

Example Project

What is the current bug behavior?

Banners should not appear above an alert

What is the expected correct behavior?

Banner should appear after the alert or elsewhere on the page

Relevant logs and/or screenshots

Correct placement (project dashboard) Incorrect placement (group)
Screenshot_2021-12-15_at_17-34-42_Projects___Dashboard Screen_Shot_2021-12-15_at_15.00.58

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Introduced in e3d05350

Move directly underneath the alert Move under the group description
Screen_Shot_2021-12-15_at_17.37.13 Screen_Shot_2021-12-15_at_15.01.59
Edited by Austin Regnery