Skip to content

Fix job page copy source branch button

Lee Tickett requested to merge 342862-fix-job-page-sidebar-copy-content into master

What does this MR do and why?

The button was copying the source ref instead of branch. We have taken the opportunity to completely refactor the component using gl-sprintf (and a similar refactor of the tests to ensure all code paths are verified).

We have also taken the opportunity to add a keyboard shortcut (b) to trigger copy to clipboard for the source ref/branch.

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 #342862 (closed)

Edited by Lee Tickett

Merge request reports