text change for simpler "New Task" and url input type

This commit is contained in:
Julien Calixte
2023-12-02 21:48:55 +01:00
parent ced597d575
commit 80b0b82e74
4 changed files with 6 additions and 6 deletions

View File

@@ -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')
})
})

View File

@@ -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" />

View File

@@ -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>

View File

@@ -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>