From b076fa57ecd7b7e97502c2492075b8dabd382cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 30 Sep 2020 11:01:34 +0200 Subject: [PATCH] Improve component for user profile tab and use on search page, refinement needed --- .../SearchResults/SearchResults.spec.js | 2 +- .../SearchResults/SearchResults.story.js | 4 +- .../features/SearchResults/SearchResults.vue | 144 +++++++++++++++++- .../TabNavigation/NewTabNavigation.vue | 46 +++--- .../generic/TabNavigation/TabNavigation.vue | 14 +- webapp/locales/de.json | 3 + webapp/locales/en.json | 3 + webapp/pages/profile/_id/_slug.vue | 10 +- 8 files changed, 188 insertions(+), 38 deletions(-) diff --git a/webapp/components/_new/features/SearchResults/SearchResults.spec.js b/webapp/components/_new/features/SearchResults/SearchResults.spec.js index a78d5151c..91c12be14 100644 --- a/webapp/components/_new/features/SearchResults/SearchResults.spec.js +++ b/webapp/components/_new/features/SearchResults/SearchResults.spec.js @@ -55,7 +55,7 @@ describe('SearchResults', () => { }) // Wolle beforeEach(jest.useFakeTimers) - + describe('result contains 25 posts, 8 users and 0 hashtags', () => { beforeEach(async () => { wrapper.setData({ diff --git a/webapp/components/_new/features/SearchResults/SearchResults.story.js b/webapp/components/_new/features/SearchResults/SearchResults.story.js index 223152de2..cfc7754dc 100644 --- a/webapp/components/_new/features/SearchResults/SearchResults.story.js +++ b/webapp/components/_new/features/SearchResults/SearchResults.story.js @@ -89,7 +89,7 @@ storiesOf('SearchResults', module)