Add ai_catalog_third_party_flows feature flag handling to DAP
What does this MR do and why?
Add ai_catalog_third_party_flows feature flag handling to DAP
References
We recently merged the separation of FFs in the Explore > AI Catalog. This MR adds the feature flag to Project > Automate and adds similar checks whether to show or hide the flows nav item.
Screenshots or screen recordings
Title | Screenshots |
---|---|
Both FFs disabled. Testing the URL | ![]() |
Both FFs disabled, Nav Items | ![]() |
Only ai_catalog_third_party_flows on |
![]() |
Only ai_catalog_flows on |
![]() |
Both on | ![]() |
How to set up and validate locally
- Enable the feature flag
global_ai_catalog
- Enable only
ai_catalog_flows
and check out Project > Automate. Flows should be visible. - Enable only
ai_catalog_third_party_flows
and check out Project > Automate. Flows should be visible. - Enable both and check out Project > Automate. Flows should be visible.
- Disable both and check out Project > Automate. Flows should not be visible. When trying to enter the URL, it should redirect away.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #568020
Edited by Vanessa Otto