Skip to content

Cleaned up code_suggestions_alert and feature flag

What does this MR do and why?

Resolves #418283 (closed).

Cleans up code_suggestions_alert and feature flag as the alert is no longer needed.

This also cleans up code added in !121988 (merged) which is no longer needed.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Setup to simulate SaaS and restart GDK
  2. Enable feature flag with Feature.enable :code_suggestions_alert in rails console
  3. Make sure Enable Code Suggestions is turned off in /-/profile/preferences
  4. Clear code_suggestions_alert_dismissed cookie from browser
  5. Visit any group or project pages that the current user has access to
  6. Expect not to see alert anymore

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 #418283 (closed)

Edited by Ross Byrne

Merge request reports