54 Commits

Author SHA1 Message Date
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
Raphael Beer
1ac34a8fba
Refactor: use fakered users in test 2020-03-26 11:07:43 +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
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
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +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
Wolfgang Huß
82f3eb2a29 Delete comments 2020-02-20 11:09:43 +01:00
Wolfgang Huß
4bd7f61fcc Refactor GQL schema, resolvers and moderators report list
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-20 10:35:37 +01:00
Wolfgang Huß
a84d78e3ee Fix key doubling error in ReportTable.vue
- Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-20 10:23:24 +01:00
Wolfgang Huß
3421afe4e0 Refactor tests, next step 2020-02-19 13:33:00 +01:00
Alina Beck
09dee69ee0 rename PostCard to PostTeaser 2020-02-11 10:07:16 +01:00
Alina Beck
0a9da862ed replace instances of ds-card with base-card 2020-02-10 15:45:09 +01:00
Alina Beck
24898f5fe2 quick fix tests relying on classes of child components
changing class names in the UserTeaser leads to tests failing for other components, like SearchableInput and NotificationsTable – I just updated the classes but long-term it would be good to find a way to not rely on implementation details of child components – maybe just test if the child component is rendered?
2020-01-21 17:07:00 +03:00
Alina Beck
287e9ce484 remove unused trunc prop 2020-01-21 17:00:37 +03:00
mattwr18
fdf00fc0c6 Follow @alina-beck's PR review suggestions
- Update styling
- Avoid nested tags
- Rename components with two names
- Add story

- Co-authored-by: Alina Beck <alina.beck@mail.com>
2020-01-20 10:04:30 +01:00
mattwr18
81cbb7a85c Refactor styling, fix naming convention
- Emotions buttons were not displaying images correctly
- Follow vue guidelines for multiword naming convention
- Favor tokens over magic px numbers
2020-01-15 17:37:54 +01:00
Alina Beck
56a3822377
Merge pull request #2562 from Human-Connection/migrate-styleguide-buttons
refactor(styleguide): migrate and redesign buttons
2020-01-15 14:17:06 +03:00
mattwr18
84780013f4 Fix cypress tests/start refactor search story
- Cannot use data-test in cypress tests as we use production image and
data-test are removed to minimize the image. Select based on styleguide
input's class

- Story is still not working because of filter dateTime and
$i18n.locale(), we can fix this later.

- Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2020-01-10 12:52:54 +01:00
Moriz Wahl
8c7079cf81 changes requested by reviews 2020-01-10 09:23:56 +01:00
Alina Beck
93b6323c34 make cancel buttons red 2020-01-09 13:37:15 +05:30
Moriz Wahl
3f37b007d7 improved specs 2020-01-07 15:35:04 +01:00
Moriz Wahl
bc3aa519d0 Specs for Searches 2020-01-06 16:10:28 +01:00
mattwr18
b79c292ef4 Fix failing component tests
- Extract testing logic to SearchableInput spec
- write new tests for SearchResources
2019-12-19 17:13:14 +01:00
Alina Beck
85f628848b continue to replace ds-button with base-button (wip) 2019-12-19 08:38:04 +05:30
mattwr18
d74d2072ba Separate concerns in components
- SearchResources is a feature component that handles communication with
the backend and fetches the search results
- Those results are passed to SearchableInput which displays the results
in a ds-select dropdown and handles interacting with them
- SearchInput renders the SearchHeading, SearchPost, and HcUser generic
components
- Would love to make the SearchableInput more generic and reusable, or
create a new reusable component for this, but I think this will happen
just when we migrate the Search.vue from the styleguide

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2019-12-18 19:50:01 +01:00
mattwr18
9703066699 Rename prop name following @roschaefer suggestion
- missed in previous PR
2019-12-10 14:37:05 +01:00
roschaefer
30870d832b Quick fix for null pointer error
`this.openMenu` is not a function`
2019-12-10 02:47:19 +01:00
mattwr18
60bf819a56 Remove counts to make less expensive db requests 2019-12-09 17:41:38 +01:00
mattwr18
79c6bd5c20 Paginate moderations page without losing filtering
Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-12-09 16:37:04 +01:00
roschaefer
fdca5b008b Return empty array instead null for "not reviewed"
@mattwr18 why did you add the null check in th resolver?
2019-12-06 02:47:14 +01:00
mattwr18
8bd69e9e2f Fix import path 2019-12-04 20:11:34 +01:00
mattwr18
7becb09ef7 Add tests/Refactor
- Move tests which are not resource specific to own describe block, add
test cases
2019-12-04 19:41:58 +01:00
mattwr18
fe63e42262 Refactor component/story/test
- Remove data-test where not necessary
- Refactor tests to remove tests that belong in ReportRow
- Fix story
2019-12-04 19:40:32 +01:00