From 169dec50480e2e48720b3442db17c4f05264258a Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Mon, 25 Jul 2022 02:57:38 +0100 Subject: [PATCH] add quote box --- src/components/quote_button/quote_button.js | 2 +- src/components/quote_button/quote_button.vue | 13 ++-- src/components/quote_card/quote_card.js | 24 ++++++ src/components/quote_card/quote_card.vue | 76 +++++++++++++++++++ .../quote_card_content/quote_card_content.vue | 22 ++++++ src/components/status/status.vue | 1 + .../status_content/status_content.js | 4 +- .../status_content/status_content.vue | 8 ++ src/i18n/en.json | 1 + .../entity_normalizer.service.js | 3 + 10 files changed, 147 insertions(+), 7 deletions(-) create mode 100644 src/components/quote_card/quote_card.js create mode 100644 src/components/quote_card/quote_card.vue create mode 100644 src/components/quote_card_content/quote_card_content.vue diff --git a/src/components/quote_button/quote_button.js b/src/components/quote_button/quote_button.js index 227a68e2..f5bf7e3a 100644 --- a/src/components/quote_button/quote_button.js +++ b/src/components/quote_button/quote_button.js @@ -5,7 +5,7 @@ library.add(faQuoteLeft) const QuoteButton = { name: 'QuoteButton', - props: ['status', 'quoting'], + props: ['status', 'quoting', 'visibility'], computed: { loggedIn () { return !!this.$store.state.users.currentUser diff --git a/src/components/quote_button/quote_button.vue b/src/components/quote_button/quote_button.vue index 319db8b4..7a4c6b4b 100644 --- a/src/components/quote_button/quote_button.vue +++ b/src/components/quote_button/quote_button.vue @@ -1,7 +1,10 @@