Skip to content

AI Actions dropdown error

Elwyn Benson requested to merge 408756-ai-actions-dropdown-error into master

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
image image

How to set up and validate locally

  1. Upgrade to Ultimate GitLab license

  2. Enable necessary feature flags

    Feature.enable(:openai_experimentation)
    Feature.enable(:summarize_comments)
    Feature.enable(:summarize_notes)
  3. 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.

Related to #408756 (closed)

Edited by Elwyn Benson

Merge request reports