Add url query when work item modal is open
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
- In rails console enable the feature flag
Feature.enable(:work_items)
- Visit any issue page such as
http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/1
- Create a task item in the description
- To the left of the task item checkbox, click on the "Convert to work item" icon and create a task type work item
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Coung Ngo