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
mattwr18
a59e72d8a8
Add stories/specs for ReportList
2019-12-04 19:40:08 +01:00
mattwr18
d0a18fded8
Rename component, add story/specs
2019-12-04 19:39:36 +01:00
mattwr18
3c0a24825c
Move components to _new structure/refactor
...
- extract more components
2019-11-29 13:27:39 +01:00
mattwr18
9401d4e1e1
[WIP] Extract code into own components
2019-11-28 17:38:44 +01:00