Loading
Integrate edit with decision log
What does this MR do and why?
This MR integrates the edit API with DL.
Since the BE does not support updating resolved by and options , we are keeping them disabled here.
References
- Support updating decisions: #627779 (closed)
- Support updating decision options and resolved_by: #629049 (closed)
Screenshots or screen recordings
How to set up and validate locally
- Open the Rails console and enable the feature flag with
Feature.enable(:decision_log). - Open a work item that has at least one decision in its decision log. Open the decision log panel from the work item.
- Open the actions menu on a decision card. Choose "Edit decision".
- Confirm the decision text field and the "Decided by" field are both disabled.
- Change the "Context" field or the "Why" field. Save the change. Confirm the card updates in place with no page reload.
- Reload the page. Confirm the change was saved on the server.
- Create a new decision with the "New decision" button. Fill in a source link. Save it. Confirm the saved decision shows a working "View source" link.
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 Deepika Guliani