3734 Commits

Author SHA1 Message Date
Robert Schäfer
4c6fc92cd4
Merge pull request #3319 from Human-Connection/dependabot/npm_and_yarn/webapp/babel/preset-env-7.9.0
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /webapp
2020-03-25 21:22:04 +01:00
Raphael Beer
76def5f901
Add: fuzzy FollowList filtering 2020-03-25 13:36:13 +01:00
Raphael Beer
e2b9e90b77
Add: FollowList storybook 2020-03-25 12:51:38 +01:00
Raphael Beer
15d5933821
Change: v-focus directive looking for input +
Searches children and uses first <input> child.
  if target of v-focus is not instanceof HTMLInputElement

  Also, adds vue-directives to storybook and tests
2020-03-25 12:51:38 +01:00
Raphael Beer
5a2c8220af
Add: overflow container when list has more than 7 items 2020-03-25 12:51:38 +01:00
Raphael Beer
bf7bd6fd59
[wip|rebase]: lint 2020-03-25 12:51:37 +01:00
Raphael Beer
0b916012e8
Fix: Vue's nextTick doesn't wait for jest mocks to resolve 2020-03-25 12:51:37 +01:00
Raphael Beer
801eb1e515
Fix: missing stub in _id/_slug spec 2020-03-25 12:51:36 +01:00
Raphael Beer
37ed748b29
Fix: not updating on user prop change, translation keys 2020-03-25 12:51:36 +01:00
Raphael Beer
984f69a738
Chore: lint 2020-03-25 12:51:36 +01:00
Raphael Beer
f339ed2c7f
Add: button to load all remaining connections 2020-03-25 12:51:35 +01:00
Raphael Beer
a873aac44d
Refactor: extract FollowList from profile page 2020-03-25 12:51:35 +01:00
mattwr18
e1733201e8 chore: Fix lint, follow @alina-beck suggestions 2020-03-25 11:02:28 +01:00
Alina Beck
478e4fa08f include magic numbers in tokens, fix tests 2020-03-25 11:02:28 +01:00
Alina Beck
d9c3412b41 outsource styling to FilterMenuSection component
@mattwr18 great work and great styling so far! ;)
fyi: I noticed there was a lot of duplicate CSS and the solution I came up with is this new component, using slots
2020-03-25 11:02:28 +01:00
mattwr18
863656f718 chore: add story for LabeledButton 2020-03-25 11:02:28 +01:00
mattwr18
70bf870e4a chore: update name for HashtagsFilter 2020-03-25 11:02:28 +01:00
mattwr18
771fe49da6 chore: Fix locales sorting 2020-03-25 11:02:28 +01:00
mattwr18
eb4536d855 refactor: test the functionality separately 2020-03-25 11:02:28 +01:00
mattwr18
5b8fecc6ef refactor: Extract LanguagesFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
bb183b1211 refactor: Extract FollowingFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
27c3c02e07 refactor: Extract CategoriesFilter to it own spec 2020-03-25 11:02:28 +01:00
mattwr18
38d2edf0f2 refactor: Extract EmotionsFilter to its own spec 2020-03-25 11:02:28 +01:00
mattwr18
4f8a4c6753 Refactor LanguageFilter to remove ds-flex 2020-03-25 11:02:28 +01:00
mattwr18
e400a10c45 chore: rename/refactor filter, make responsive
- Make the emotions filter similar in style to CategoriesFilter
2020-03-25 11:02:28 +01:00
mattwr18
0f03d09723 refactor: Extract FollowingFilter as own component
Co-authored-by: Alina Beck <alina.beck@mail.com>
2020-03-25 11:02:28 +01:00
mattwr18
b19a2a8dea Refactor GeneralFilter to remove unnecessary code
- remove ds-flex, ds-flex-item, ds-space, ds-heading
- not really happy with the design, and in mobile the divider border is
  hidden(!?)
2020-03-25 11:02:28 +01:00
Alina Beck
1ffde6bf10 refactor: CategoriesFilter to not use ds-flex
Co-authored-by: mattwr18 <mattwr18@gmail.com>

- introduce LabeledButton component
- rename FilterMenu to HashtagsFilter and FilterPosts to FilterMenu
2020-03-25 11:02:00 +01:00
dependabot-preview[bot]
6b5fda4517
build(deps-dev): bump @babel/preset-env from 7.8.7 to 7.9.0 in /webapp
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-25 09:06:06 +00:00
mattwr18
6312a39211
Merge pull request #3327 from Human-Connection/dependabot/npm_and_yarn/webapp/prettier-2.0.2
build(deps-dev): bump prettier from 1.19.1 to 2.0.2 in /webapp
2020-03-25 10:04:36 +01:00
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
dependabot-preview[bot]
f6b044dbf2
build(deps-dev): bump babel-loader from 8.0.6 to 8.1.0 in /webapp
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.6 to 8.1.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.6...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 20:22:34 +00:00
roschaefer
515aade3d0 Update eslint-config-* 2020-03-24 21:16:58 +01:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
dependabot-preview[bot]
af05492c04 build(deps-dev): bump prettier from 1.19.1 to 2.0.2 in /webapp
Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-24 21:07:52 +01:00
mattwr18
e0e026a8b8 fix(migration): return null for Image.url 2020-03-23 18:46:28 +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
0f334bc163
Merge pull request #3302 from Human-Connection/update-to-version-0.5.0
chore: upgrade to v0.5.0
2020-03-20 14:59:15 +01:00
mattwr18
b08b2da0a1 chore: upgrade to v0.5.0 2020-03-20 12:35:20 +01:00
mattwr18
135908a07b
Merge pull request #3301 from Human-Connection/dependabot/npm_and_yarn/webapp/validator-13.0.0
build(deps): bump validator from 12.2.0 to 13.0.0 in /webapp
2020-03-20 12:31:48 +01:00
dependabot-preview[bot]
25d2aa81c4
build(deps): bump validator from 12.2.0 to 13.0.0 in /webapp
Bumps [validator](https://github.com/chriso/validator.js) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/chriso/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chriso/validator.js/compare/12.2.0...13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 09:44:50 +00:00
Moriz Wahl
fa7f1bb111 use watchQuery to watch query in URL instead of watch 2020-03-19 20:16:25 +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