Moved the legal warning into a slot
What does this MR do and why?
Moved the legal warning in the AiGenieChat component into a slot. This is to have flexibility for different groups to treat it as a possible entry for legal information specific to those groups. At the moment we have two legal notifications:
"Responses generated by AI" | The information not allowing copy/pasting code into GitLab codebase (default) |
---|---|
In the course of the unification of the AiGenieChat component, we should allow different groups to supply legal information relevant to their group.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Enable the following feature flags:
explain_code_snippet
-
explain_code_chat
⚠ this is the flag that works separately from all others and only controls the chat openai_experimentation
ai_experimentation_api
- Add an OpenAI API key by following the steps in !116364 (merged)
- Simulate the GDK to simulate SaaS and ensure the group you want to test has an Ultimate license
- Enable
Experimental features
andThird-party AI services
- Open a file containing Source Code (Note, this file should not be from the GitLab codebase).
- Highlight some of the Source Code.
- Click on the
(?)
button in the gutter to the left of the source code.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #410114
Edited by Denys Mishunov