Update prop value to use constants
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Let's move the prop value for the commit-message
into a constant.js and use that constant instead. Second, let's update the respective specs to use that constants.
<upload-blob-modal
:commit-message="__('Upload New File')" // Change to constant
/>
<new-directory-modal
:commit-message="__('Add new directory')" // Change to constant
/>
More Info
The following discussion from !71154 (merged) should be addressed:
-
@jerasmus started a discussion: (+1 comment) suggestion: WDYT of adding this in our constants.js file? We could also re-use it in our specs.
Edited by 🤖 GitLab Bot 🤖