text change for simpler "New Task" and url input type
This commit is contained in:
@@ -7,6 +7,6 @@ describe('New Task Form', () => {
|
||||
it('displays New Task Form title', () => {
|
||||
const wrapper = mount(NewTaskVue, withPlugins())
|
||||
|
||||
expect(wrapper.text()).toContain('Create a task')
|
||||
expect(wrapper.text()).toContain('New task')
|
||||
})
|
||||
})
|
||||
|
||||
@@ -85,7 +85,7 @@ const isValid = computed(() => title.value && steps.value.length > 0)
|
||||
<template>
|
||||
<div class="task-form columns is-centered">
|
||||
<div class="column is-half">
|
||||
<h1 class="title">Create a task</h1>
|
||||
<h1 class="title">New task</h1>
|
||||
<h2 class="subtitle">
|
||||
<estimation-time-arrival :estimation="totalEstimation" />
|
||||
</h2>
|
||||
@@ -97,9 +97,9 @@ const isValid = computed(() => title.value && steps.value.length > 0)
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label" for="link">User story link</label>
|
||||
<label class="label" for="link">Task link</label>
|
||||
<div class="control">
|
||||
<input class="input" type="text" id="link" v-model="link" />
|
||||
<input class="input" type="url" id="link" v-model="link" />
|
||||
</div>
|
||||
</div>
|
||||
<step-input v-model="steps" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import NewTaskForm from '@/modules/task/components/NewTaskForm.vue';
|
||||
import NewTaskForm from '@/modules/task/components/NewTaskForm.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
@@ -76,7 +76,7 @@ const { canShareTask, taskCopied, shareTask } = useCopyRecord(task)
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="button is-link"
|
||||
>user story link</a
|
||||
>Task link</a
|
||||
>
|
||||
<div class="content" :id="`task-${id}`">
|
||||
<h1 class="title">{{ task.title }}</h1>
|
||||
|
||||
Reference in New Issue
Block a user