1584 Commits

Author SHA1 Message Date
mattwr18
ff44fdb12c refactor: favor CSS over syleguide components 2020-04-07 15:41:06 +02:00
mattwr18
db20af2d39 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page 2020-04-02 08:19:43 +02:00
Raphael Beer
5fad066819
Change: selectable: false on LegacyEmbed schema 2020-04-02 02:12:27 +02:00
mattwr18
e8492b59f4 feat: add pagination for search page
- it wasn't really making sense to have one query for all users/posts,
  future hashtags, because we change the first/offset when the user
paginates, which would unneccesarily refetch all other resources.
- the solution was to separate them into their own queries and only
  refetch when the user wants to paginate the resources.
2020-04-02 00:36:26 +02:00
mattwr18
79c1cc02c1 test: add SearchResults test/rename classes 2020-04-01 19:20:00 +02:00
Raphael Beer
72dfeb3983
Refactor: ds-text out 2020-04-01 11:21:44 +02:00
Raphael Beer
8e985703bd
Refactor: apply vuejs styleguide attribute order 2020-04-01 09:01:59 +02:00
Raphael Beer
daa88168bb
Change: test effects of type prop 2020-04-01 08:43:22 +02:00
Raphael Beer
b05cc303b4
Fix: filter not preferring full matches in back +
The fuzzy filter wasn't scoring full matches
  high enough, when they weren't at the
  beginning of the name.

  Given the filter 'ger', results have been:

    - (Ger)hard Burg
    - (Ge)of(r)ey
    - Armin (Ger)lach

  with this fix the are:

    - (Ger)hard Burg
    - Armin (Ger)lach
    - (Ge)of(r)ey
2020-04-01 08:04:56 +02:00
Raphael Beer
a6484e3d0c
Refactor: ds-space out, general markup clean 2020-03-29 12:29:55 +02:00
Raphael Beer
4c344ee4ad
Remove: client-only wrappers 2020-03-29 11:15:53 +02:00
Raphael Beer
d62be2b0fb
Clean: make use of design tokens 2020-03-28 12:54:35 +01:00
Raphael Beer
e6361c9b74
Refactor: move following/followedBy updating to page component 2020-03-28 05:57:48 +01:00
Raphael Beer
f69e7e42de
Fix: finish naming conventions 2020-03-27 09:37:40 +01:00
Raphael Beer
e516ae93a7
Fix: naming conventions
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-03-27 09:03:25 +01:00
mattwr18
06985c2dbb chore: fix lint w/ new linting rules 2020-03-26 18:55:10 +01:00
Raphael Beer
1ac34a8fba
Refactor: use fakered users in test 2020-03-26 11:07:43 +01:00
mattwr18
cb0a3f5cdd chore: Fix lint w/ new linting rules 2020-03-26 10:14:51 +01:00
Raphael Beer
41ea370e4b
Refactor: move all files to folder 2020-03-26 09:48:24 +01:00
Raphael Beer
c9f74c18c0
Fix: card width in mobile view 2020-03-26 09:48:23 +01:00
Raphael Beer
1d81d367b0
Change: use fakered users in storybook 2020-03-26 08:01:34 +01:00
Raphael Beer
ee1d33d084
Add: loading state; for button during fetchConnections 2020-03-26 08:00:55 +01:00
Raphael Beer
d07bccfcaf
Change: move filter input to bottom 2020-03-26 05:27:43 +01:00
Raphael Beer
c7762e3539
Fix: UserAvatar missing alt-attribute 2020-03-26 05:27:42 +01:00
Raphael Beer
09fb93fc9a
Fix: message for 0 connections not rendering 2020-03-26 02:16:47 +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
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
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