[Ban AI] Frontend: Do not show Code Explanation feature when `duo_features_enabled` is `false`
See parent Epic &13403. When duo_features_enabled
is false
, then the AI Feature - Code Explanation should not be displayed.
Definition of done
Do not show Code Explanation feature in the UI if the user will not be able to use the feature (when duo_features_enabled
is false
).
Why
A feature that displays but cannot be utilized can be confusing to the user. Hiding the feature is a less confusing experience for end users rather than explaining why they cannot use certain AI features.
What is not in scope for this particular issue
All other AI Features to be configured will be handled individually on a needs basis where seen fit. See the following document for notes on which other features might be modified or check out the parent epic on all other related feature issues.