Follow-up from "Replace Bootstrap Button & LoadingButton w/ GitLab UI GlButton in vulnerability_action_buttons.vue"
##229297 (closed) & #229217 (closed) replaced the Bootstrap buttons on vulnerability_action_buttons.vue (pipeline security tab quick actions associated with each finding) with the GlButton component.
The following feedback should be addressed:
We should really abstract these to a
i18n
object
Additional Context
This task is about moving the inline string definition into an object. As an example, the expected change is something like:
<script>
export default {
i18n: {
myString: s__('mystring')
}
}
</script>
<template>
<gl-button
aria-label:="i18n.myString"
</template>
Edited by Savas Vedova