Skip to content

Change DuoChat z-index value to put it behind the feedback modal

Jannik Lehmann requested to merge jnnkl-duo-chat-z-index-sheet into master

What does this MR do and why?

This MR solves an Issue where to DuoChat would overlap the feedback component. The z-index on the DuoChat component was adjusted to be $zindex-modal-backdrop - 1 to be above everything, but a modal-backdrop. This solution was inspired by the way the performance bar solves the same Issue.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

before after
2024-02-21_18-00-51 2024-02-21_18-00-24

How to set up and validate locally

  1. Setup Duo Chat: https://docs.gitlab.com/ee/development/ai_features/duo_chat.html#set-up-gitlab-duo-chat
  2. Open up Duo Chat
  3. Ask question
  4. Click on Give feedback to improve this answer
Edited by Jannik Lehmann

Merge request reports