From e62747d62d721c12c52926e3f5341b221eb86284 Mon Sep 17 00:00:00 2001 From: Vadim Date: Tue, 29 Sep 2026 13:20:30 +0300 Subject: [PATCH] wip --- src/components/IssueContent.vue | 14 +++--- src/components/IssueDetails.vue | 5 ++- src/components/IssueDueDate.vue | 59 ++++++++++++++++++++++++++ src/components/IssueTitle.vue | 53 +++++++++++++++++++++++ src/components/LabelText.vue | 21 +++++++++ src/components/ProjectMenu.vue | 13 ++---- src/views/HomeView.vue | 15 ++----- src/views/project/ProjectsListView.vue | 19 +++++---- 8 files changed, 161 insertions(+), 38 deletions(-) create mode 100644 src/components/IssueDueDate.vue create mode 100644 src/components/IssueTitle.vue create mode 100644 src/components/LabelText.vue diff --git a/src/components/IssueContent.vue b/src/components/IssueContent.vue index 0156ae8..8f3667d 100644 --- a/src/components/IssueContent.vue +++ b/src/components/IssueContent.vue @@ -2,17 +2,17 @@ import { ref } from 'vue' interface Props { - value?: string + text?: string } const props = defineProps() -const emit = defineEmits<{ changed: [value: string] }>() +const emit = defineEmits<{ changed: [text: string] }>() const editing = ref(false) -const draft = ref(props.value ?? '') +const draft = ref(props.text ?? '') const startEdit = () => { - draft.value = props.value ?? '' + draft.value = props.text ?? '' editing.value = true } @@ -22,7 +22,7 @@ const save = () => { } const cancel = () => { - draft.value = props.value ?? '' + draft.value = props.text ?? '' editing.value = false } @@ -30,8 +30,8 @@ const cancel = () => {