Skip to content

AI Explain Code: when getting large selections explained the UI becomes unusable

Summary

When I attempt to get a large select explained (e.g. all of https://staging.gitlab.com/source-code-management-test-group/source-code-management-test-project/-/blob/main/ee/lib/sidebars/groups/menus/security_compliance_menu.rb) The pop-up AI feature becomes so large that I can't see the top or bottom and I also can't scroll:

Screen_Recording_2023-04-14_at_18.46.40

Example Project

https://staging.gitlab.com/source-code-management-test-group/source-code-management-test-project/-/blob/main/ee/lib/sidebars/groups/menus/security_compliance_menu.rb

What is the current bug behavior?

What is the expected correct behavior?

Relevant logs and/or screenshots

Using Chrome In Staging

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

Edited by Torsten Linz