Skip to content

Rework how quick actions get parsed

Brett Walker requested to merge 423548-rework-quick-action-parsing into master

What does this MR do and why?

When parsing for quick actions, we attempt to do it using regular expressions, and avoiding HTML blocks, code blocks, etc. This is complicated, error prone, and can miss edge cases like ignoring comment blocks.

Attempt to use the markdown parser to filter out unnecessary blocks

How to set up and validate locally

  1. Enable the feature flag quick_action_refactor
  2. Bring up an issue and try different combinations of quick actions with a different mix - html comments, block quotes, code blocks, etc.
  3. You can use the Preview to see what quick actions are recognized without having to submit

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 #423548

Edited by Brett Walker

Merge request reports

Loading