From 93aedd6fd77f50af7cc6a128025db2b899b465a6 Mon Sep 17 00:00:00 2001 From: Maxim Filippov Date: Thu, 4 Apr 2019 02:25:16 +0300 Subject: [PATCH] Render poll in timeline --- .../poll_form.vue} | 27 +++++---- .../poll/poll_status/poll_status.vue | 60 +++++++++++++++++++ .../post_status_form/post_status_form.js | 8 ++- .../post_status_form/post_status_form.vue | 2 +- src/components/status/status.js | 2 + src/components/status/status.vue | 4 ++ src/i18n/en.json | 3 +- src/main.js | 4 +- src/modules/poll.js | 18 ++++++ src/services/api/api.service.js | 5 +- .../entity_normalizer.service.js | 2 + .../status_poster/status_poster.service.js | 13 +++- 12 files changed, 128 insertions(+), 20 deletions(-) rename src/components/poll/{poll_container/poll_container.vue => poll_form/poll_form.vue} (71%) create mode 100644 src/components/poll/poll_status/poll_status.vue create mode 100644 src/modules/poll.js diff --git a/src/components/poll/poll_container/poll_container.vue b/src/components/poll/poll_form/poll_form.vue similarity index 71% rename from src/components/poll/poll_container/poll_container.vue rename to src/components/poll/poll_form/poll_form.vue index 9f420fd2..975c19a7 100644 --- a/src/components/poll/poll_container/poll_container.vue +++ b/src/components/poll/poll_form/poll_form.vue @@ -1,5 +1,5 @@