Skip to content

Enhance merge request widget extension subtext handling

Jannik Lehmann requested to merge jnnkl-mr-widget-extension-link-object into master
  1. Enhance Merge request widget extension to support strings and objects that represent a link + prepended Text as subText inputs.
  2. Refactor Code Quality MR Widget to pass in subtext as an object instead of a sprintf string

solves: #354495 (closed)

no visual changes
Screenshot_2022-05-05_at_16.40.05

How to reproduce

Example on how to see this in Action:

  1. run Feature.enable(:refactor_mr_widgets_extensions)
  2. clone https://gitlab.com/jannik_lehmann/code-quality-test into your gdk
  3. open MR in cloned repo including for example this changes jannik_lehmann/code-quality-test!1 (diffs)
  4. see codequality MR widget in action
Edited by Jannik Lehmann

Merge request reports

Loading