Skip to content
Snippets Groups Projects

Work Items - Tasks First Time Experience

Merged Deepika Guliani requested to merge 366687-work-items-tasks-first-time-experience into master
All threads resolved!
2 files
+ 10
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -10,6 +10,9 @@ export default {
learnTasksButtonText: s__('WorkItem|Learn about tasks'),
workItemsText: s__('WorkItem|work items'),
tasksInformationTitle: s__('WorkItem|Introducing tasks'),
tasksInformationBody: s__(
'WorkItem|A task provides the ability to break down your work into smaller pieces tied to an issue. Tasks are the first items using our new %{workItemsLink} objects. Additional work item types will be coming soon.',
),
},
components: {
GlAlert,
@@ -33,11 +36,6 @@ export default {
showWorkItemInformation() {
return this.workItemAccessCounter === 1;
},
informationBody() {
return s__(
'WorkItem|A task provides the ability to break down your work into smaller pieces tied to an issue. Tasks are the first items using our new %{workItemsLink} objects. Additional work item types will be coming soon.',
);
},
},
mounted() {
this.workItemAccessCounter += 1;
@@ -66,7 +64,7 @@ export default {
data-testid="work-item-information"
@dismiss="dismissAlert"
>
<gl-sprintf :message="informationBody">
<gl-sprintf :message="$options.i18n.tasksInformationBody">
<template #workItemsLink>
<gl-link :href="workItemsLinkPath">{{ $options.i18n.workItemsText }}</gl-link>
</template>
Loading