From 4dfcd8e70f54d2ed977d4b8de5fb8bf9469819aa Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Thu, 22 Sep 2022 15:31:13 +0000 Subject: [PATCH] feat: feat-attachments-script-setup (#2358) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2358 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/{icons.ts => components/misc/Icon.ts} | 0 src/components/tasks/partials/attachments.vue | 505 ++++++++---------- src/components/tasks/partials/comments.vue | 9 +- src/helpers/attachments.ts | 5 +- src/main.ts | 2 +- src/models/taskComment.ts | 2 +- src/services/attachment.ts | 9 +- 7 files changed, 249 insertions(+), 283 deletions(-) rename src/{icons.ts => components/misc/Icon.ts} (100%) diff --git a/src/icons.ts b/src/components/misc/Icon.ts similarity index 100% rename from src/icons.ts rename to src/components/misc/Icon.ts diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index d8676d319..21337842f 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -8,19 +8,19 @@ {{ attachmentService.uploadProgress }}% @@ -42,7 +42,7 @@ {{ formatDateSince(a.created) }} - {{ $t('misc.delete') }} @@ -86,7 +86,7 @@
@@ -110,270 +110,231 @@
- - - - - - - + + + + + - - - - - + + + + -