1584 Commits

Author SHA1 Message Date
roschaefer
574ed578bc Prefer router.replace if you delete sth.
@ogerly, this is a perfect example where `this.$router.replace` makes a
lot more sense that `this.$router.push`. When you go back in your browser
history, you won't get 404 not found error.
2020-03-24 22:48:11 +01:00
roschaefer
bfbbe365ed Improve style of deleteUser modal 2020-03-24 22:43:13 +01:00
roschaefer
6a0b5a22e0 Merge remote-tracking branch 'origin/master' into 17-Admin-Remove-user-profile 2020-03-24 21:48:22 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Alina Beck
150442db01 use translations in SearchResults component 2020-03-23 17:14:41 +01:00
Alina Beck
a796efb54e use Empty component when no search results are found 2020-03-23 16:56:27 +01:00
Alina Beck
23a8010872 fix styling for post results 2020-03-23 14:29:49 +01:00
Alina Beck
72d979de55 improve user search results styling 2020-03-23 14:21:41 +01:00
Alina Beck
e03260d28d disable tabs when 0 results found 2020-03-23 13:57:56 +01:00
mattwr18
6d531c2cf8 chore: Update activeTab to show first results
Co-authored-by: Alina Beck <alina.beck@mail.com>
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
Co-authored-by: kachulio1 <jngugi88@gmail.com>
2020-03-19 16:47:41 +01:00
mattwr18
906f1bc0ca Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page 2020-03-19 16:02:54 +01:00
Alina Beck
5cb28d161d display empty state for search results 2020-03-19 15:37:40 +01:00
Moriz Wahl
7024ea0b30 specs for Search for Hashtags 2020-03-19 15:09:43 +01:00
Moriz Wahl
1c43d5fe6f Search for Hashtags works due watching route in pages/index.vue 2020-03-19 14:19:13 +01:00
mattwr18
27c731cc1a Style tabs, add grid for posts
Co-authored-by: Alina Beck <alina.beck@mail.com>
Co-authored-by: kachulio1 <jngugi88@gmail.com>
2020-03-19 13:10:05 +01:00
Moriz Wahl
014be6e7f8 partially working, index page does not update when route is changed 2020-03-19 12:59:15 +01:00
Moriz Wahl
16ad565ec8 partially working, index page does not update when route is changed 2020-03-19 12:55:59 +01:00
mattwr18
6d83299e75 Extract component, start story, styling (wip) 2020-03-18 19:46:40 +01:00
roschaefer
79fbdd7734 refactor: Avoid store use query parameters+routing 2020-03-18 16:02:15 +01:00
Alina Beck
7a818a04a7 refactor and design search results page (wip)
Co-authored-by: mattwr18 <mattwr18@gmail.com>
Co-authored-by: Raphael Beer <raphael.beer@protonmail.com>
2020-03-18 14:33:01 +01:00
ogerly
1bf57cbf58 sorting result in users and posts 2020-03-17 06:15:48 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type (#3043)
* refactor(graphql): Introduce image type

* Undo changes to .travis.yml

* chore: Upgrade travis to node LTS

- URL is available since v10

* chore: use lts

Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
ogerly
bba5a09ba9 search query extended to categories, sorting of results, first graphical display 2020-03-15 10:11:16 +01:00
ogerly
cbacbec724 feat: search on a new search page 2020-03-14 07:21:22 +01:00
Raphael Beer
7df4432601
Fix: named slot scopes 2020-03-13 00:09:33 +01:00
Raphael Beer
d465e94596
Refactor: use #shorthand for default v-slot attributes 2020-03-12 23:49:27 +01:00
Raphael Beer
5626cb2771
Revert "Refactor: replace default slots"
This reverts commit f1e308074bc33e6762431f90f335ed849776f4d9.

  Let's take this one at a time...
2020-03-12 23:49:01 +01:00
Raphael Beer
c3cf682fdf
Refactor: replace default slots 2020-03-12 23:49:01 +01:00
Raphael Beer
d90e4c2aa8
Refactor: replace named slots 2020-03-12 23:49:00 +01:00
Robert Schäfer
066506838f
Merge pull request #3219 from Human-Connection/2823-zero-bell-to-all-notifications-page
feat: zero bell to all notifications page [2823]
2020-03-10 13:01:38 +01:00
Alexander Friedland
404713a8ad
Merge branch 'master' into 17-Admin-Remove-user-profile 2020-03-09 14:25:37 +01:00
ogerly
2843635acb delete DeleteUserModal.specs.js 2020-03-06 10:24:28 +01:00
ogerly
7700865692 feat: Style change DeleteUserModal.vue display userdata overview 2020-03-06 09:04:03 +01:00
ogerly
a1114a8a83 feat: additional confirm inserted before really deleting 2020-03-06 08:09:38 +01:00
Raphael Beer
f3d2d35b26
Change: only attempt to style .main-navigation, if it exists 2020-03-05 12:03:11 +01:00
Raphael Beer
f3a7c10e8a
Fix: content shift when y-scrollbar disappears 2020-03-05 12:03:11 +01:00
Raphael Beer
8ffda5e908
Fix: linting, integration tests 2020-03-05 12:02:12 +01:00
Raphael Beer
d5cbfb142f
Change: remove counter from link to /notifications 2020-03-05 12:02:11 +01:00
Raphael Beer
be6c737452
Change: render link to /notifications when no new notifications 2020-03-05 12:02:08 +01:00
ogerly
26a547cdaf test: add propsData 2020-03-05 09:21:35 +01:00
ogerly
ee06039982 test: Added Spec for DeleteUserModal 2020-03-05 09:12:46 +01:00
ogerly
127ddcc77a deleteUserModal style changed, deleteData is no longer included 2020-03-05 08:20:37 +01:00
ogerly
9ab2d8395f feat: DeleteUser for Admin added in the profile dropdown menu, deleted from the Admin user overview 2020-03-04 16:23:00 +01:00
Alina Beck
21eae3dcd2 refactor ribbon css 2020-02-24 22:22:51 +01:00
ogerly
fdc0f492ad stepstep 2020-02-23 17:36:23 +01:00
ogerly
25b7f169e3 feature: add New Moadal - deleteUserModal 2020-02-23 06:38:22 +01:00
Robert Schäfer
e164104791
Merge pull request #3075 from Human-Connection/3074-don’t-expose-all-properties-of-report
feat: 🍰 Expose sensitive report type to moderators only
2020-02-21 12:43:28 +01:00
roschaefer
9b2175786e Fix client-only warning 2020-02-20 15:47:47 +01:00
roschaefer
9241305d43 fix: Prever FileReader over URL.createObjectUrl
Apparently, URL.createObjectUrl is not supported in JSDom, see:
https://github.com/jsdom/jsdom/issues/1721

With FileReader we have the option to avoid it altogether.
2020-02-20 15:42:47 +01:00
roschaefer
9c98e30bb8 Fix console.errors
@mattwr18 @alina-beck there seems to be no switch or configuration to
let vue-test-utils or jest fail whenever there is a call to
`console.error`. The only way to test it for very specific tests is
this. I took it from here:

https://geedew.com/catching-prop-validation-in-vue-with-Jest/
2020-02-20 14:20:57 +01:00