From 5a0d5a5570bdffc4278f5c4caa286daa3a1229b6 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 10 Oct 2024 18:11:44 +0200 Subject: [PATCH] [wip] feat: use drafts via frontend [skip ci] Signed-off-by: Maksim Sukharev --- .../NewMessage/NewMessagePollEditor.vue | 73 ++++++++++++++++++- src/components/PollViewer/PollViewer.vue | 64 ++++++++++------ 2 files changed, 111 insertions(+), 26 deletions(-) diff --git a/src/components/NewMessage/NewMessagePollEditor.vue b/src/components/NewMessage/NewMessagePollEditor.vue index 84cd6445459..8834b0acbca 100644 --- a/src/components/NewMessage/NewMessagePollEditor.vue +++ b/src/components/NewMessage/NewMessagePollEditor.vue @@ -8,6 +8,18 @@ :close-on-click-outside="!isFilled" v-on="$listeners" @update:open="emit('close')"> + +
+ +
+

{{ t('spreed', 'Question') }} @@ -58,6 +70,9 @@ {{ t('spreed', 'Dismiss') }} + + {{ t('spreed', 'Save as draft') }} + {{ t('spreed', 'Create poll') }} @@ -66,19 +81,23 @@