From aea9caee80199d6f72a16e6db2949a5f98829a53 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Wed, 4 Sep 2019 23:44:38 +0200 Subject: [PATCH] Remove slow sorting options Sadly, I think this the only way for now. As I explained in https://github.com/Human-Connection/Human-Connection/issues/1272#issuecomment-527864948 I think we cannot do anything about it on our side for now. --- webapp/locales/de.json | 6 ++---- webapp/locales/en.json | 6 ++---- webapp/pages/index.vue | 12 ------------ 3 files changed, 4 insertions(+), 20 deletions(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 70c66ae0b..506cefde2 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -39,9 +39,7 @@ }, "sorting": { "newest": "Neuste", - "oldest": "Älteste", - "popular": "Beliebt", - "commented": "meist Kommentiert" + "oldest": "Älteste" }, "login": { "copy": "Wenn Du bereits ein Konto bei Human Connection hast, melde Dich bitte hier an.", @@ -615,4 +613,4 @@ "have-fun": "Jetzt aber viel Spaß mit der Alpha von Human Connection! Für den ersten Weltfrieden. ♥︎", "closing": "Herzlichst

Euer Human Connection Team" } -} \ No newline at end of file +} diff --git a/webapp/locales/en.json b/webapp/locales/en.json index ecbc7da33..05d8ac631 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -39,9 +39,7 @@ }, "sorting": { "newest": "Newest", - "oldest": "Oldest", - "popular": "Popular", - "commented": "Most commented" + "oldest": "Oldest" }, "login": { "copy": "If you already have a human-connection account, login here.", @@ -615,4 +613,4 @@ "have-fun": "Now have fun with the alpha version of Human Connection! For the first universal peace. ♥︎", "closing": "Thank you very much

your Human Connection Team" } -} \ No newline at end of file +} diff --git a/webapp/pages/index.vue b/webapp/pages/index.vue index f78d01be7..8dad24b65 100644 --- a/webapp/pages/index.vue +++ b/webapp/pages/index.vue @@ -105,18 +105,6 @@ export default { icons: 'sort-amount-asc', order: 'createdAt_asc', }, - { - label: this.$t('sorting.popular'), - value: 'Popular', - icons: 'fire', - order: 'shoutedCount_desc', - }, - { - label: this.$t('sorting.commented'), - value: 'Commented', - icons: 'comment', - order: 'commentsCount_desc', - }, ], } },