AI Actions dropdown error
What does this MR do and why?
Fix frontend crash where a graphQl ID was being created with undefined
. The noteableData value being passed after this component was refactored was the raw el.dataset
object, and not the JSON.parsed
noteableData
, resulting in an undefined ID.
Screenshots or screen recordings
before | after |
---|---|
![]() |
![]() |
How to set up and validate locally
-
Upgrade to Ultimate GitLab license
-
Enable necessary feature flags
Feature.enable(:openai_experimentation) Feature.enable(:summarize_comments) Feature.enable(:summarize_notes)
-
Open any issue and scroll to notes. Error should not be thrown in browser console. AI Actions dropdown should be visible + functional
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 #408756 (closed)
Edited by Elwyn Benson