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