Skip to content

Replace v-html with gl-sprintf in spent_only_pane.vue (#241935)

What does this MR do and why?

Replaces v-html in app/assets/javascripts/sidebar/components/time_tracking/spent_only_pane.vue with gl-sprintf component which does exactly the same thing that sprintf helper function does, but in a component-friendly way.

Closes #241935 (closed).

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Open an issue that has tracked time or track the time yourself

Tracked time should be displayed with no issues and Spent: should appear bold.

MR acceptance checklist

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

Merge request reports