Skip to content

Open task in new window when doing ctrl/cmd+click

Coung Ngo requested to merge 368632-fix-cmd-click-task into master

What does this MR do and why?

This MR allows the user to open a task (in the issue description and linked issues widget) in a new window by doing ctrl/cmd + click.

The child items widget already works like this (see #368632 (comment 1050299024))

Resolves #368632 (closed)

Changelog: fixed

Screenshots or screen recordings

before (trying to cmd+click) after
Screen_Recording_2022-08-23_at_11.53.24_am Screen_Recording_2022-08-23_at_11.54.29_am

How to set up and validate locally

  1. In rails console enable the feature flags
    Feature.enable(:work_items)
    Feature.enable(:work_items_create_from_markdown)
  2. Create a task in the issue description then add it to the linked issues widget
  3. Test doing cmd+click on the tasks

MR acceptance checklist

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

Related to #368632 (closed)

Edited by Coung Ngo

Merge request reports