Skip to content

Replaced the Feedback Issue link with the UserFeedback component

Denys Mishunov requested to merge 412647-user-feedback into master

What does this MR do and why?

This MR replaces the Feedback Issue link with the UserFeedback component

The change provides a consistent interface to gather user feedback in all AI chat interactions and implementations. The snowplow tracking Event Action for the GitLab chat, introduced in this MR is ask_gitlab_chat.

This change also unifies the User Feedback gathering UI into one single component making it easy to update the UI and functionality of the user feedback gathering process

Screenshots or screen recordings

Before After
Screenshot_2023-05-26_at_12.05.32 Screenshot_2023-05-26_at_12.17.28

How to set up and validate locally

  1. Follow the instructions to enable the AI features in your local GDK
  2. Follow the instructions on setting up the GitLab chat locally
  3. Enable the :super_sidebar_nav feature flag (Feature.enable(:anthropic_experimentation) in your rails console
  4. Enable the new super sidebar in your settings via the web interface: Screenshot_2023-05-26_at_11.20.04
  5. Open the GitLab chat in Help -> Ask GitLab Chat
  6. Ask a question and check the response. The User Feedback component should be rendered instead of a link to the feedback issue

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 #412647

Edited by Denys Mishunov

Merge request reports