Skip to content

Add url query when work item modal is open

Coung Ngo requested to merge 346158-add-work-item-modal-url-query into master

What does this MR do and why?

Add url query work_item_id so when visiting the issue show page with this url query, the work item modal automatically opens with the work item details. (Acceptance criteria item 6 in #346158 (closed))

Behind feature flag work_items defaulted off.

Screenshots or screen recordings

Screen_Recording_2022-03-30_at_3.44.23_pm

How to set up and validate locally

  1. In rails console enable the feature flag
    Feature.enable(:work_items)
  2. Visit any issue page such as http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/1
  3. Create a task item in the description
  4. To the left of the task item checkbox, click on the "Convert to work item" icon and create a task type work item
  5. Test the MR by clicking on the work item link

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Coung Ngo

Merge request reports

Loading