Loading
Rename feature flag workplan_decision_log to decision_log
What does this MR do and why?
Renames the feature flag workplan_decision_log to decision_log across the entire codebase (backend and frontend).
The Decision Log is an independent widget with its own backend logic and APIs that are not coupled to the Work Plan or the aiPlanningEnabled flag. The old name workplan_decision_log implied a dependency that does not exist, causing confusion for contributors. Renaming to decision_log accurately reflects the feature's standalone nature.
Changes:
- Renamed
config/feature_flags/wip/workplan_decision_log.yml→config/feature_flags/wip/decision_log.yml(updatedname:anddescription:fields) - Updated
push_frontend_feature_flagcalls inee/app/controllers/ee/groups/work_items_controller.rbandee/app/controllers/ee/projects/work_items_controller.rb - Updated
glFeatures.workplanDecisionLog→glFeatures.decisionLoginwork_item_ai_widget.vue - Updated comment reference in
stub_resolvers.js - Updated spec file
work_item_ai_widget_spec.jsto use the new flag name
References
- Issue: #627707 (closed)
- Original discussion: !250010 (comment 3749550850)
Screenshots or screen recordings
N/A — no UI changes, purely a feature flag rename refactor.
How to set up and validate locally
- Enable the renamed flag in rails console:
Feature.enable(:decision_log) - Visit a work item page and verify the Decision Log widget appears.
- Confirm the old flag name
workplan_decision_logno longer exists.
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.
Edited by Vanessa Otto