Skip to content

Support quick actions through new note

euko requested to merge 391282-fix-autocompletion-and-preview-path into master

What does this MR do and why?

This MR updates various WorkItem related Vue components to use the correct markdown preview path and autocompletion path when creating and editing comments/notes. Resolves #391282 (closed).

How to set up and validate locally

Create a new work item (task/objective/key result) and try the slash command / when adding/editing a new comment.

How to create a new Objective

To use Objective/Key Result type, enable the following FF:

Feature.enable(:okrs_mvc)

Navigate to the Issues list and create a new Objective:

image

Autocompleted commands should depend on the type of the work item displayed.

Objective, for instance, does NOT support the start/due date widget and the autocompleted commands for it should not show /due. Key Result, on the other hand, supports the start/due date widget and should list /due command.

Objective Key Result
image image

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 euko

Merge request reports

Loading