Tie AI UI settings visibility to feature flag
What does this MR do and why?
resolves #432282 (closed)
Tie AI UI settings visibility to feature flag
To support migration to AI Add-On it is requried to hide all AI related settings at the time when Add On is enabled. To do that, AI UI components will be dependent on the same feature flag as Add-on
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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
Visit
Search Code s
check that code suggestion settings is either present with ::Feature.enabled?(:purchase_code_suggestions)
or not with ::Feature.disabled?(:purchase_code_suggestions)